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

Unified Diff: chrome/browser/resources/options/chromeos/display_options.js

Issue 11824070: Revert 176089 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/chromeos/display_options.js
===================================================================
--- chrome/browser/resources/options/chromeos/display_options.js (revision 176112)
+++ chrome/browser/resources/options/chromeos/display_options.js (working copy)
@@ -835,7 +835,6 @@
$('selected-display-data-container').hidden = true;
$('display-configuration-arrow').hidden = true;
$('display-options-set-primary').hidden = true;
- $('display-options-toggle-mirroring').hidden = true;
return;
}
@@ -874,8 +873,6 @@
$('display-options-set-primary').hidden =
this.displays_[this.focusedIndex_].isPrimary;
- $('display-options-toggle-mirroring').hidden =
- (this.displays_.length <= 1);
},
/**
@@ -1053,11 +1050,6 @@
* @private
*/
onDisplayChanged_: function(mirroring, displays, layout, offset) {
- if (displays.length <= 1) {
- OptionsPage.showDefaultPage();
- return;
- }
-
this.mirroring_ = mirroring;
this.layout_ = layout;
this.offset_ = offset;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698