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

Unified Diff: ash/display/display_manager.h

Issue 18413002: [Cleanup] Factor out layout store code from DisplayController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « ash/display/display_layout_store.cc ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index 3d7561657ba9d1d742e9b77ab080d3bafb4a8dd7..8a1b3f78ee2db1384718aae6e45dec56d6e38b11 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -34,6 +34,7 @@ class DisplayManagerTestApi;
class SystemGestureEventFilterTest;
}
namespace internal {
+class DisplayLayoutStore;
// DisplayManager maintains the current display configurations,
// and notifies observers when configuration changes.
@@ -61,6 +62,10 @@ class ASH_EXPORT DisplayManager :
const gfx::Display& primary_display,
gfx::Display* secondary_display);
+ DisplayLayoutStore* layout_store() {
+ return layout_store_.get();
+ }
+
// When set to true, the MonitorManager calls OnDisplayBoundsChanged
// even if the display's bounds didn't change. Used to swap primary
// display.
@@ -238,6 +243,8 @@ private:
bool UpdateSecondaryDisplayBoundsForLayout(DisplayList* display_list,
size_t* updated_index) const;
+ scoped_ptr<DisplayLayoutStore> layout_store_;
+
int64 first_display_id_;
gfx::Display mirrored_display_;
« no previous file with comments | « ash/display/display_layout_store.cc ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698