| 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 "ash/desktop_background/desktop_background_widget_controller.h" | 7 #include "ash/desktop_background/desktop_background_widget_controller.h" |
| 8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 9 #include "ash/root_window_settings.h" | 9 #include "ash/root_window_settings.h" |
| 10 #include "ui/aura/window_event_dispatcher.h" | 10 #include "ui/aura/window_event_dispatcher.h" |
| 11 #include "ui/compositor/layer.h" | 11 #include "ui/compositor/layer.h" |
| 12 #include "ui/views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 namespace internal { | |
| 16 | 15 |
| 17 //////////////////////////////////////////////////////////////////////////////// | 16 //////////////////////////////////////////////////////////////////////////////// |
| 18 // RootWindowLayoutManager, public: | 17 // RootWindowLayoutManager, public: |
| 19 | 18 |
| 20 RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner) | 19 RootWindowLayoutManager::RootWindowLayoutManager(aura::Window* owner) |
| 21 : owner_(owner) { | 20 : owner_(owner) { |
| 22 } | 21 } |
| 23 | 22 |
| 24 RootWindowLayoutManager::~RootWindowLayoutManager() { | 23 RootWindowLayoutManager::~RootWindowLayoutManager() { |
| 25 } | 24 } |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 aura::Window* child, | 71 aura::Window* child, |
| 73 bool visible) { | 72 bool visible) { |
| 74 } | 73 } |
| 75 | 74 |
| 76 void RootWindowLayoutManager::SetChildBounds( | 75 void RootWindowLayoutManager::SetChildBounds( |
| 77 aura::Window* child, | 76 aura::Window* child, |
| 78 const gfx::Rect& requested_bounds) { | 77 const gfx::Rect& requested_bounds) { |
| 79 SetChildBoundsDirect(child, requested_bounds); | 78 SetChildBoundsDirect(child, requested_bounds); |
| 80 } | 79 } |
| 81 | 80 |
| 82 } // namespace internal | |
| 83 } // namespace ash | 81 } // namespace ash |
| OLD | NEW |