Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: ui/wm/core/transient_window_stacking_client.h

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/wm/core/transient_window_observer.h ('k') | ui/wm/core/transient_window_stacking_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_WM_CORE_TRANSIENT_WINDOW_STACKING_CLIENT_H_ 5 #ifndef UI_WM_CORE_TRANSIENT_WINDOW_STACKING_CLIENT_H_
6 #define UI_WM_CORE_TRANSIENT_WINDOW_STACKING_CLIENT_H_ 6 #define UI_WM_CORE_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/wm/core/wm_core_export.h" 9 #include "ui/wm/core/wm_core_export.h"
10 10
11 namespace views { 11 namespace wm {
12 namespace corewm {
13 12
14 class TransientWindowManager; 13 class TransientWindowManager;
15 14
16 class WM_CORE_EXPORT TransientWindowStackingClient 15 class WM_CORE_EXPORT TransientWindowStackingClient
17 : public aura::client::WindowStackingClient { 16 : public aura::client::WindowStackingClient {
18 public: 17 public:
19 TransientWindowStackingClient(); 18 TransientWindowStackingClient();
20 virtual ~TransientWindowStackingClient(); 19 virtual ~TransientWindowStackingClient();
21 20
22 // WindowStackingClient: 21 // WindowStackingClient:
23 virtual bool AdjustStacking(aura::Window** child, 22 virtual bool AdjustStacking(aura::Window** child,
24 aura::Window** target, 23 aura::Window** target,
25 aura::Window::StackDirection* direction) OVERRIDE; 24 aura::Window::StackDirection* direction) OVERRIDE;
26 25
27 private: 26 private:
28 // Purely for DCHECKs. 27 // Purely for DCHECKs.
29 friend class TransientWindowManager; 28 friend class TransientWindowManager;
30 29
31 static TransientWindowStackingClient* instance_; 30 static TransientWindowStackingClient* instance_;
32 31
33 DISALLOW_COPY_AND_ASSIGN(TransientWindowStackingClient); 32 DISALLOW_COPY_AND_ASSIGN(TransientWindowStackingClient);
34 }; 33 };
35 34
36 } // namespace corewm 35 } // namespace wm
37 } // namespace views
38 36
39 #endif // UI_WM_CORE_TRANSIENT_WINDOW_STACKING_CLIENT_H_ 37 #endif // UI_WM_CORE_TRANSIENT_WINDOW_STACKING_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/wm/core/transient_window_observer.h ('k') | ui/wm/core/transient_window_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698