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); |
}; |