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_SHADOW_CONTROLLER_H_ | 5 #ifndef UI_AURA_SHELL_SHADOW_CONTROLLER_H_ |
6 #define UI_AURA_SHELL_SHADOW_CONTROLLER_H_ | 6 #define UI_AURA_SHELL_SHADOW_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 explicit ShadowController(); | 49 explicit ShadowController(); |
50 virtual ~ShadowController(); | 50 virtual ~ShadowController(); |
51 | 51 |
52 // aura::DesktopObserver override: | 52 // aura::DesktopObserver override: |
53 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; | 53 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; |
54 | 54 |
55 // aura::WindowObserver overrides: | 55 // aura::WindowObserver overrides: |
56 virtual void OnWindowParentChanged( | 56 virtual void OnWindowParentChanged( |
57 aura::Window* window, aura::Window* parent) OVERRIDE; | 57 aura::Window* window, aura::Window* parent) OVERRIDE; |
58 virtual void OnPropertyChanged( | 58 virtual void OnWindowPropertyChanged( |
59 aura::Window* window, const char* name, void* old) OVERRIDE; | 59 aura::Window* window, const char* name, void* old) OVERRIDE; |
60 virtual void OnWindowVisibilityChanged( | 60 virtual void OnWindowVisibilityChanged( |
61 aura::Window* window, bool visible) OVERRIDE; | 61 aura::Window* window, bool visible) OVERRIDE; |
62 virtual void OnWindowBoundsChanged( | 62 virtual void OnWindowBoundsChanged( |
63 aura::Window* window, const gfx::Rect& bounds) OVERRIDE; | 63 aura::Window* window, const gfx::Rect& bounds) OVERRIDE; |
64 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; | 64 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; |
65 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; | 65 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; |
66 | 66 |
67 private: | 67 private: |
68 typedef std::map<aura::Window*, linked_ptr<Shadow> > WindowShadowMap; | 68 typedef std::map<aura::Window*, linked_ptr<Shadow> > WindowShadowMap; |
(...skipping 18 matching lines...) Expand all Loading... |
87 | 87 |
88 WindowShadowMap window_shadows_; | 88 WindowShadowMap window_shadows_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(ShadowController); | 90 DISALLOW_COPY_AND_ASSIGN(ShadowController); |
91 }; | 91 }; |
92 | 92 |
93 } // namepsace aura_shell | 93 } // namepsace aura_shell |
94 } // namepsace internal | 94 } // namepsace internal |
95 | 95 |
96 #endif // UI_AURA_SHELL_SHADOW_CONTROLLER_H_ | 96 #endif // UI_AURA_SHELL_SHADOW_CONTROLLER_H_ |
OLD | NEW |