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

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

Issue 105813013: Adds views::corewm::WMState to install common state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix viewseventtestbase Created 7 years 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
« no previous file with comments | « ui/views/corewm/transient_window_stacking_client.cc ('k') | ui/views/corewm/wm_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/wm_state.h
diff --git a/ui/views/corewm/wm_state.h b/ui/views/corewm/wm_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..1e0ee4f5b604f1eac7f47860398ca65a132f9ced
--- /dev/null
+++ b/ui/views/corewm/wm_state.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_COREWM_WM_STATE_H_
+#define UI_VIEWS_COREWM_WM_STATE_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "ui/views/views_export.h"
+
+namespace views {
+namespace corewm {
+
+class TransientWindowStackingClient;
+
+// Installs state needed by the window manager.
+class VIEWS_EXPORT WMState {
+ public:
+ WMState();
+ ~WMState();
+
+ // WindowStackingClient:
+ private:
+ scoped_ptr<TransientWindowStackingClient> window_stacking_client_;
+
+ DISALLOW_COPY_AND_ASSIGN(WMState);
+};
+
+} // namespace corewm
+} // namespace views
+
+#endif // UI_VIEWS_COREWM_WM_STATE_H_
« no previous file with comments | « ui/views/corewm/transient_window_stacking_client.cc ('k') | ui/views/corewm/wm_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698