| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/views/widget/widget.h" | 8 #include "ui/views/widget/widget.h" |
| 9 | 9 |
| 10 namespace aura_shell { | 10 namespace ash { |
| 11 namespace internal { | 11 namespace internal { |
| 12 | 12 |
| 13 //////////////////////////////////////////////////////////////////////////////// | 13 //////////////////////////////////////////////////////////////////////////////// |
| 14 // RootWindowLayoutManager, public: | 14 // RootWindowLayoutManager, public: |
| 15 | 15 |
| 16 RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner) | 16 RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner) |
| 17 : owner_(owner), | 17 : owner_(owner), |
| 18 background_widget_(NULL) { | 18 background_widget_(NULL) { |
| 19 } | 19 } |
| 20 | 20 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 bool visible) { | 48 bool visible) { |
| 49 } | 49 } |
| 50 | 50 |
| 51 void RootWindowLayoutManager::SetChildBounds( | 51 void RootWindowLayoutManager::SetChildBounds( |
| 52 aura::Window* child, | 52 aura::Window* child, |
| 53 const gfx::Rect& requested_bounds) { | 53 const gfx::Rect& requested_bounds) { |
| 54 SetChildBoundsDirect(child, requested_bounds); | 54 SetChildBoundsDirect(child, requested_bounds); |
| 55 } | 55 } |
| 56 | 56 |
| 57 } // namespace internal | 57 } // namespace internal |
| 58 } // namespace aura_shell | 58 } // namespace ash |
| OLD | NEW |