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

Unified Diff: ui/views/corewm/transient_window_stacking_client.h

Issue 115453004: Moves management of transients out of Window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded parens Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/corewm/transient_window_stacking_client.h
diff --git a/ui/views/corewm/transient_window_stacking_client.h b/ui/views/corewm/transient_window_stacking_client.h
index f8c198244a8c082d6d2a7fa6ec4c6690d77f101d..04e0eaf5588d663f37a068f22b37b539eed6ce00 100644
--- a/ui/views/corewm/transient_window_stacking_client.h
+++ b/ui/views/corewm/transient_window_stacking_client.h
@@ -11,6 +11,8 @@
namespace views {
namespace corewm {
+class TransientWindowManager;
+
class VIEWS_EXPORT TransientWindowStackingClient
: public aura::client::WindowStackingClient {
public:
@@ -23,6 +25,11 @@ class VIEWS_EXPORT TransientWindowStackingClient
aura::Window::StackDirection* direction) OVERRIDE;
private:
+ // Purely for DCHECKs.
+ friend class TransientWindowManager;
+
+ static TransientWindowStackingClient* instance_;
+
DISALLOW_COPY_AND_ASSIGN(TransientWindowStackingClient);
};
« no previous file with comments | « ui/views/corewm/transient_window_manager_unittest.cc ('k') | ui/views/corewm/transient_window_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698