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_PUBLIC_ACTIVATION_CLIENT_H_ | 5 #ifndef UI_WM_PUBLIC_ACTIVATION_CLIENT_H_ |
6 #define UI_WM_PUBLIC_ACTIVATION_CLIENT_H_ | 6 #define UI_WM_PUBLIC_ACTIVATION_CLIENT_H_ |
7 | 7 |
8 #include "ui/aura/aura_export.h" | 8 #include "ui/aura/aura_export.h" |
9 | 9 |
10 namespace ui { | |
11 class Event; | |
12 } | |
13 | |
14 namespace aura { | 10 namespace aura { |
15 class Window; | 11 class Window; |
16 | 12 |
17 namespace client { | 13 namespace client { |
18 class ActivationChangeObserver; | 14 class ActivationChangeObserver; |
19 | 15 |
20 // An interface implemented by an object that manages window activation. | 16 // An interface implemented by an object that manages window activation. |
21 class AURA_EXPORT ActivationClient { | 17 class AURA_EXPORT ActivationClient { |
22 public: | 18 public: |
23 // Adds/Removes ActivationChangeObservers. | 19 // Adds/Removes ActivationChangeObservers. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // TODO(beng): currently the UI framework (views) implements the actual | 60 // TODO(beng): currently the UI framework (views) implements the actual |
65 // close-on-deactivate component of this feature but it should be | 61 // close-on-deactivate component of this feature but it should be |
66 // possible to implement in the aura client. | 62 // possible to implement in the aura client. |
67 AURA_EXPORT void SetHideOnDeactivate(Window* window, bool hide_on_deactivate); | 63 AURA_EXPORT void SetHideOnDeactivate(Window* window, bool hide_on_deactivate); |
68 AURA_EXPORT bool GetHideOnDeactivate(Window* window); | 64 AURA_EXPORT bool GetHideOnDeactivate(Window* window); |
69 | 65 |
70 } // namespace clients | 66 } // namespace clients |
71 } // namespace aura | 67 } // namespace aura |
72 | 68 |
73 #endif // UI_WM_PUBLIC_ACTIVATION_CLIENT_H_ | 69 #endif // UI_WM_PUBLIC_ACTIVATION_CLIENT_H_ |
OLD | NEW |