forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstacking_controller.cc
29 lines (20 loc) · 1.01 KB
/
stacking_controller.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/stacking_controller.h"
#include "ash/common/wm/container_finder.h"
#include "ash/common/wm_window.h"
namespace ash {
////////////////////////////////////////////////////////////////////////////////
// StackingController, public:
StackingController::StackingController() {}
StackingController::~StackingController() {}
////////////////////////////////////////////////////////////////////////////////
// StackingController, aura::client::WindowParentingClient implementation:
aura::Window* StackingController::GetDefaultParent(aura::Window* context,
aura::Window* window,
const gfx::Rect& bounds) {
return WmWindow::GetAuraWindow(wm::GetDefaultParent(
WmWindow::Get(context), WmWindow::Get(window), bounds));
}
} // namespace ash