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 "ui/aura_shell/desktop_layout_manager.h" | 5 #include "ui/aura_shell/desktop_layout_manager.h" |
6 | 6 |
7 #include "ui/aura/window.h" | 7 #include "ui/aura/window.h" |
8 #include "views/widget/widget.h" | 8 #include "views/widget/widget.h" |
9 | 9 |
10 namespace aura_shell { | 10 namespace aura_shell { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void DesktopLayoutManager::OnWindowAdded(aura::Window* child) { | 54 void DesktopLayoutManager::OnWindowAdded(aura::Window* child) { |
55 } | 55 } |
56 | 56 |
57 void DesktopLayoutManager::OnWillRemoveWindow(aura::Window* child) { | 57 void DesktopLayoutManager::OnWillRemoveWindow(aura::Window* child) { |
58 } | 58 } |
59 | 59 |
60 void DesktopLayoutManager::OnChildWindowVisibilityChanged(aura::Window* child, | 60 void DesktopLayoutManager::OnChildWindowVisibilityChanged(aura::Window* child, |
61 bool visibile) { | 61 bool visibile) { |
62 } | 62 } |
63 | 63 |
64 void DesktopLayoutManager::CalculateBoundsForChild( | 64 void DesktopLayoutManager::SetChildBounds(aura::Window* child, |
65 aura::Window* child, gfx::Rect* requested_bounds) { | 65 const gfx::Rect& requested_bounds) { |
| 66 SetChildBoundsDirect(child, requested_bounds); |
66 } | 67 } |
67 | 68 |
68 | 69 |
69 } // namespace internal | 70 } // namespace internal |
70 } // namespace aura_shell | 71 } // namespace aura_shell |
OLD | NEW |