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/wm/root_window_layout_manager.h" | 5 #include "ash/wm/root_window_layout_manager.h" |
6 | 6 |
7 #include "ui/aura/window.h" | 7 #include "ui/aura/window.h" |
8 #include "ui/gfx/compositor/layer.h" | 8 #include "ui/compositor/layer.h" |
9 #include "ui/views/widget/widget.h" | 9 #include "ui/views/widget/widget.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
15 // RootWindowLayoutManager, public: | 15 // RootWindowLayoutManager, public: |
16 | 16 |
17 RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner) | 17 RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner) |
18 : owner_(owner), | 18 : owner_(owner), |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 | 75 |
76 void RootWindowLayoutManager::SetChildBounds( | 76 void RootWindowLayoutManager::SetChildBounds( |
77 aura::Window* child, | 77 aura::Window* child, |
78 const gfx::Rect& requested_bounds) { | 78 const gfx::Rect& requested_bounds) { |
79 SetChildBoundsDirect(child, requested_bounds); | 79 SetChildBoundsDirect(child, requested_bounds); |
80 } | 80 } |
81 | 81 |
82 } // namespace internal | 82 } // namespace internal |
83 } // namespace ash | 83 } // namespace ash |
OLD | NEW |