OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_STACKING_CLIENT_H_ | 5 #ifndef UI_VIEWS_COREWM_TRANSIENT_WINDOW_STACKING_CLIENT_H_ |
6 #define UI_VIEWS_COREWM_TRANSIENT_WINDOW_STACKING_CLIENT_H_ | 6 #define UI_VIEWS_COREWM_TRANSIENT_WINDOW_STACKING_CLIENT_H_ |
7 | 7 |
8 #include "ui/aura/client/window_stacking_client.h" | 8 #include "ui/aura/client/window_stacking_client.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 namespace corewm { | 12 namespace corewm { |
13 | 13 |
14 class VIEWS_EXPORT TransientWindowStackingClient | 14 class VIEWS_EXPORT TransientWindowStackingClient |
15 : public aura::client::WindowStackingClient { | 15 : public aura::client::WindowStackingClient { |
16 public: | 16 public: |
17 TransientWindowStackingClient(); | 17 TransientWindowStackingClient(); |
18 virtual ~TransientWindowStackingClient(); | 18 virtual ~TransientWindowStackingClient(); |
19 | 19 |
20 // WindowStackingClient: | 20 // WindowStackingClient: |
21 virtual void AdjustStacking(aura::Window** child, | 21 virtual bool AdjustStacking(aura::Window** child, |
22 aura::Window** target, | 22 aura::Window** target, |
23 aura::Window::StackDirection* direction) OVERRIDE; | 23 aura::Window::StackDirection* direction) OVERRIDE; |
24 | 24 |
25 private: | 25 private: |
26 DISALLOW_COPY_AND_ASSIGN(TransientWindowStackingClient); | 26 DISALLOW_COPY_AND_ASSIGN(TransientWindowStackingClient); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace corewm | 29 } // namespace corewm |
30 } // namespace views | 30 } // namespace views |
31 | 31 |
32 #endif // UI_VIEWS_COREWM_TRANSIENT_WINDOW_STACKING_CLIENT_H_ | 32 #endif // UI_VIEWS_COREWM_TRANSIENT_WINDOW_STACKING_CLIENT_H_ |
OLD | NEW |