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

Unified Diff: ash/system/chromeos/tray_display.cc

Issue 1126933004: Allow switching between extended and unified (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ash/host/ash_window_tree_host_unified.cc ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/tray_display.cc
diff --git a/ash/system/chromeos/tray_display.cc b/ash/system/chromeos/tray_display.cc
index 7074c58343489ffcc143f38ae61c17b717432cb6..a5907f9a323c5f377aa4c0f4fcb50528323a81f1 100644
--- a/ash/system/chromeos/tray_display.cc
+++ b/ash/system/chromeos/tray_display.cc
@@ -92,7 +92,8 @@ base::string16 GetAllDisplayInfo() {
std::vector<base::string16> lines;
int64 internal_id = gfx::Display::kInvalidDisplayID;
// Make sure to show the internal display first.
- if (gfx::Display::HasInternalDisplay() &&
+ if (!display_manager->IsInUnifiedMode() &&
+ gfx::Display::HasInternalDisplay() &&
gfx::Display::InternalDisplayId() ==
display_manager->first_display_id()) {
internal_id = display_manager->first_display_id();
« no previous file with comments | « ash/host/ash_window_tree_host_unified.cc ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698