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

Unified Diff: ash/monitor/multi_monitor_manager.h

Issue 9835068: Don't delete Primary root window and monitor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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
Index: ash/monitor/multi_monitor_manager.h
diff --git a/ash/monitor/multi_monitor_manager.h b/ash/monitor/multi_monitor_manager.h
index b24c98eb86819510c2c5f6e753d406ea46f0a013..4a2b7d985b072034feb3d8f8b9a3c89f5be2fadf 100644
--- a/ash/monitor/multi_monitor_manager.h
+++ b/ash/monitor/multi_monitor_manager.h
@@ -65,6 +65,10 @@ class ASH_EXPORT MultiMonitorManager : public aura::MonitorManager,
Monitors monitors_;
+ // We keep the primary root window so that when # of montor goes zero,
+ // we don't delete it.
+ aura::RootWindow* primary_root_window_;
Daniel Erat 2012/03/23 23:49:48 nit: you're not using this, are you?
oshima 2012/03/24 00:17:50 This file was supposed to be reverted, my bad. Don
+
DISALLOW_COPY_AND_ASSIGN(MultiMonitorManager);
};

Powered by Google App Engine
This is Rietveld 408576698