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_ROOT_WINDOW_LAYOUT_MANAGER_H_ | 5 #ifndef UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_ |
6 #define UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_ | 6 #define UI_AURA_SHELL_ROOT_WINDOW_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 28 matching lines...) Expand all Loading... |
39 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; | 39 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; |
40 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; | 40 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; |
41 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 41 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
42 bool visible) OVERRIDE; | 42 bool visible) OVERRIDE; |
43 virtual void SetChildBounds(aura::Window* child, | 43 virtual void SetChildBounds(aura::Window* child, |
44 const gfx::Rect& requested_bounds) OVERRIDE; | 44 const gfx::Rect& requested_bounds) OVERRIDE; |
45 | 45 |
46 private: | 46 private: |
47 aura::Window* owner_; | 47 aura::Window* owner_; |
48 | 48 |
| 49 // May be NULL if we're not painting a background. |
49 views::Widget* background_widget_; | 50 views::Widget* background_widget_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager); | 52 DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace internal | 55 } // namespace internal |
55 } // namespace aura_shell | 56 } // namespace aura_shell |
56 | 57 |
57 #endif // UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_ | 58 #endif // UI_AURA_SHELL_ROOT_WINDOW_LAYOUT_MANAGER_H_ |
OLD | NEW |