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

Unified Diff: ui/aura/env.h

Issue 9837046: Revert r128507 "Revert r128436 "relanding: disabled workspace_window_resizer test. fixed access-aft… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/dispatcher_linux.cc ('k') | ui/aura/env.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.h
diff --git a/ui/aura/env.h b/ui/aura/env.h
index 5f6ff6a1a5f02160efe7fb7fc22d2c1548deb041..4089bff79c877fba5c18e1a504ccf5cafa059a40 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -15,6 +15,7 @@
namespace aura {
class EnvObserver;
+class MonitorChangeObserverX11;
class MonitorManager;
class Window;
@@ -51,6 +52,12 @@ class AURA_EXPORT Env {
stacking_client_ = stacking_client;
}
+#if defined(USE_X11)
+ MonitorChangeObserverX11* monitor_change_observer() {
+ return monitor_change_observer_.get();
+ }
+#endif
+
// Gets/sets MonitorManager. The MonitorManager's ownership is
// transfered.
MonitorManager* monitor_manager() { return monitor_manager_.get(); }
@@ -80,6 +87,10 @@ class AURA_EXPORT Env {
client::StackingClient* stacking_client_;
scoped_ptr<MonitorManager> monitor_manager_;
+#if defined(USE_X11)
+ scoped_ptr<MonitorChangeObserverX11> monitor_change_observer_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(Env);
};
« no previous file with comments | « ui/aura/dispatcher_linux.cc ('k') | ui/aura/env.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698