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 #ifndef UI_WM_CORE_SHADOW_CONTROLLER_H_ | 5 #ifndef UI_WM_CORE_SHADOW_CONTROLLER_H_ |
6 #define UI_WM_CORE_SHADOW_CONTROLLER_H_ | 6 #define UI_WM_CORE_SHADOW_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ShadowController* controller_; // not owned | 45 ShadowController* controller_; // not owned |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(TestApi); | 47 DISALLOW_COPY_AND_ASSIGN(TestApi); |
48 }; | 48 }; |
49 | 49 |
50 explicit ShadowController(aura::client::ActivationClient* activation_client); | 50 explicit ShadowController(aura::client::ActivationClient* activation_client); |
51 virtual ~ShadowController(); | 51 virtual ~ShadowController(); |
52 | 52 |
53 // aura::client::ActivationChangeObserver overrides: | 53 // aura::client::ActivationChangeObserver overrides: |
54 virtual void OnWindowActivated(aura::Window* gained_active, | 54 virtual void OnWindowActivated(aura::Window* gained_active, |
55 aura::Window* lost_active) OVERRIDE; | 55 aura::Window* lost_active) override; |
56 | 56 |
57 private: | 57 private: |
58 class Impl; | 58 class Impl; |
59 | 59 |
60 aura::client::ActivationClient* activation_client_; | 60 aura::client::ActivationClient* activation_client_; |
61 | 61 |
62 scoped_refptr<Impl> impl_; | 62 scoped_refptr<Impl> impl_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(ShadowController); | 64 DISALLOW_COPY_AND_ASSIGN(ShadowController); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace wm | 67 } // namespace wm |
68 | 68 |
69 #endif // UI_WM_CORE_SHADOW_CONTROLLER_H_ | 69 #endif // UI_WM_CORE_SHADOW_CONTROLLER_H_ |
OLD | NEW |