| 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/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "ui/wm/public/activation_change_observer.h" | 13 #include "ui/wm/public/activation_change_observer.h" |
| 14 #include "ui/wm/wm_export.h" | 14 #include "ui/wm/wm_export.h" |
| 15 | 15 |
| 16 namespace aura { | 16 namespace aura { |
| 17 class Window; | 17 class Window; |
| 18 namespace client { | 18 namespace client { |
| 19 class ActivationClient; | 19 class ActivationClient; |
| 20 } | 20 } |
| 21 } | 21 } |
| 22 namespace gfx { | |
| 23 class Rect; | |
| 24 } | |
| 25 | 22 |
| 26 namespace wm { | 23 namespace wm { |
| 27 | 24 |
| 28 class Shadow; | 25 class Shadow; |
| 29 | 26 |
| 30 // ShadowController observes changes to windows and creates and updates drop | 27 // ShadowController observes changes to windows and creates and updates drop |
| 31 // shadows as needed. ShadowController itself is light weight and per | 28 // shadows as needed. ShadowController itself is light weight and per |
| 32 // ActivationClient. ShadowController delegates to its implementation class, | 29 // ActivationClient. ShadowController delegates to its implementation class, |
| 33 // which observes all window creation. | 30 // which observes all window creation. |
| 34 class WM_EXPORT ShadowController : | 31 class WM_EXPORT ShadowController : |
| (...skipping 17 matching lines...) Expand all Loading... |
| 52 aura::client::ActivationClient* activation_client_; | 49 aura::client::ActivationClient* activation_client_; |
| 53 | 50 |
| 54 scoped_refptr<Impl> impl_; | 51 scoped_refptr<Impl> impl_; |
| 55 | 52 |
| 56 DISALLOW_COPY_AND_ASSIGN(ShadowController); | 53 DISALLOW_COPY_AND_ASSIGN(ShadowController); |
| 57 }; | 54 }; |
| 58 | 55 |
| 59 } // namespace wm | 56 } // namespace wm |
| 60 | 57 |
| 61 #endif // UI_WM_CORE_SHADOW_CONTROLLER_H_ | 58 #endif // UI_WM_CORE_SHADOW_CONTROLLER_H_ |
| OLD | NEW |