OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_VIEWS_COREWM_TRANSIENT_WINDOW_CONTROLLER_H_ | 5 #ifndef UI_WM_CORE_TRANSIENT_WINDOW_CONTROLLER_H_ |
6 #define UI_VIEWS_COREWM_TRANSIENT_WINDOW_CONTROLLER_H_ | 6 #define UI_WM_CORE_TRANSIENT_WINDOW_CONTROLLER_H_ |
7 | 7 |
8 #include "ui/aura/client/transient_window_client.h" | 8 #include "ui/aura/client/transient_window_client.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/wm/core/wm_core_export.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 namespace corewm { | 12 namespace corewm { |
13 | 13 |
14 // TransientWindowClient implementation. Uses TransientWindowManager to handle | 14 // TransientWindowClient implementation. Uses TransientWindowManager to handle |
15 // tracking transient per window. | 15 // tracking transient per window. |
16 class VIEWS_EXPORT TransientWindowController | 16 class WM_CORE_EXPORT TransientWindowController |
17 : public aura::client::TransientWindowClient { | 17 : public aura::client::TransientWindowClient { |
18 public: | 18 public: |
19 TransientWindowController(); | 19 TransientWindowController(); |
20 virtual ~TransientWindowController(); | 20 virtual ~TransientWindowController(); |
21 | 21 |
22 // TransientWindowClient: | 22 // TransientWindowClient: |
23 virtual void AddTransientChild(aura::Window* parent, | 23 virtual void AddTransientChild(aura::Window* parent, |
24 aura::Window* child) OVERRIDE; | 24 aura::Window* child) OVERRIDE; |
25 virtual void RemoveTransientChild(aura::Window* parent, | 25 virtual void RemoveTransientChild(aura::Window* parent, |
26 aura::Window* child) OVERRIDE; | 26 aura::Window* child) OVERRIDE; |
27 virtual aura::Window* GetTransientParent(aura::Window* window) OVERRIDE; | 27 virtual aura::Window* GetTransientParent(aura::Window* window) OVERRIDE; |
28 virtual const aura::Window* GetTransientParent( | 28 virtual const aura::Window* GetTransientParent( |
29 const aura::Window* window) OVERRIDE; | 29 const aura::Window* window) OVERRIDE; |
30 | 30 |
31 private: | 31 private: |
32 DISALLOW_COPY_AND_ASSIGN(TransientWindowController); | 32 DISALLOW_COPY_AND_ASSIGN(TransientWindowController); |
33 }; | 33 }; |
34 | 34 |
35 } // namespace corewm | 35 } // namespace corewm |
36 } // namespace views | 36 } // namespace views |
37 | 37 |
38 #endif // UI_VIEWS_COREWM_TRANSIENT_WINDOW_CONTROLLER_H_ | 38 #endif // UI_WM_CORE_TRANSIENT_WINDOW_CONTROLLER_H_ |
OLD | NEW |