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

Unified Diff: ash/display/display_manager.h

Issue 1126933004: Allow switching between extended and unified (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added div for class=checkbox, with controlled-setting-with-label + inline-block Created 5 years, 7 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/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index b6ac0926c04b02aadc48480b33c033d31bac00d6..59b0b7476009f53cb297e67bd342cc2b8df25bfd 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -83,7 +83,7 @@ class ASH_EXPORT DisplayManager
// the 2nd display. (Software Mirroring).
// 3) UNIFIED mode creates single desktop across multiple displays.
enum MultiDisplayMode {
- EXTENDED,
+ EXTENDED = 0,
MIRRORING,
UNIFIED,
};
@@ -297,6 +297,11 @@ class ASH_EXPORT DisplayManager
return default_multi_display_mode_;
}
+ // Reconfigure display configuration using the same
+ // physical display. TODO(oshima): Refactor and move this
+ // impl to |SetDefaultMultiDisplayMode|.
+ void ReconfigureDisplays();
+
// Update the bounds of the display given by |display_id|.
bool UpdateDisplayBounds(int64 display_id,
const gfx::Rect& new_bounds);

Powered by Google App Engine
This is Rietveld 408576698