| 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 #ifndef UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ | 5 #ifndef UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ |
| 6 #define UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ | 6 #define UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 void set_background_widget(views::Widget* background_widget) { | 37 void set_background_widget(views::Widget* background_widget) { |
| 38 background_widget_ = background_widget; | 38 background_widget_ = background_widget; |
| 39 } | 39 } |
| 40 | 40 |
| 41 // Overridden from aura::LayoutManager: | 41 // Overridden from aura::LayoutManager: |
| 42 virtual void OnWindowResized() OVERRIDE; | 42 virtual void OnWindowResized() OVERRIDE; |
| 43 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; | 43 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; |
| 44 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; | 44 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; |
| 45 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 45 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
| 46 bool visibile) OVERRIDE; | 46 bool visible) OVERRIDE; |
| 47 virtual void SetChildBounds(aura::Window* child, | 47 virtual void SetChildBounds(aura::Window* child, |
| 48 const gfx::Rect& requested_bounds) OVERRIDE; | 48 const gfx::Rect& requested_bounds) OVERRIDE; |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 aura::Window* owner_; | 51 aura::Window* owner_; |
| 52 | 52 |
| 53 views::Widget* background_widget_; | 53 views::Widget* background_widget_; |
| 54 | 54 |
| 55 ShelfLayoutController* shelf_; | 55 ShelfLayoutController* shelf_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager); | 57 DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace internal | 60 } // namespace internal |
| 61 } // namespace aura_shell | 61 } // namespace aura_shell |
| 62 | 62 |
| 63 #endif // UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ | 63 #endif // UI_AURA_SHELL_DESKTOP_LAYOUT_MANAGER_H_ |
| OLD | NEW |