OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/common/wm/root_window_layout_manager.h" | 5 #include "ash/common/wm/root_window_layout_manager.h" |
6 | 6 |
7 #include "ash/common/wm/wm_window.h" | 7 #include "ash/common/wm_window.h" |
8 #include "ash/common/wm/wm_window_tracker.h" | 8 #include "ash/common/wm_window_tracker.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 namespace wm { | 11 namespace wm { |
12 | 12 |
13 //////////////////////////////////////////////////////////////////////////////// | 13 //////////////////////////////////////////////////////////////////////////////// |
14 // RootWindowLayoutManager, public: | 14 // RootWindowLayoutManager, public: |
15 | 15 |
16 RootWindowLayoutManager::RootWindowLayoutManager(WmWindow* owner) | 16 RootWindowLayoutManager::RootWindowLayoutManager(WmWindow* owner) |
17 : owner_(owner) {} | 17 : owner_(owner) {} |
18 | 18 |
(...skipping 27 matching lines...) Expand all Loading... |
46 bool visible) {} | 46 bool visible) {} |
47 | 47 |
48 void RootWindowLayoutManager::SetChildBounds( | 48 void RootWindowLayoutManager::SetChildBounds( |
49 WmWindow* child, | 49 WmWindow* child, |
50 const gfx::Rect& requested_bounds) { | 50 const gfx::Rect& requested_bounds) { |
51 child->SetBoundsDirect(requested_bounds); | 51 child->SetBoundsDirect(requested_bounds); |
52 } | 52 } |
53 | 53 |
54 } // namespace wm | 54 } // namespace wm |
55 } // namespace ash | 55 } // namespace ash |
OLD | NEW |