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

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

Issue 12208121: Removes the 'launcher' grey bar from display pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « chrome/browser/resources/options/chromeos/display_options.css ('k') | 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
diff --git a/chrome/browser/resources/options/chromeos/display_options.js b/chrome/browser/resources/options/chromeos/display_options.js
index 55275728328db9bd945e230004e7ced12c551cd3..df1e0f26b475fc0aab10855868cbca448e9b52c2 100644
--- a/chrome/browser/resources/options/chromeos/display_options.js
+++ b/chrome/browser/resources/options/chromeos/display_options.js
@@ -590,12 +590,6 @@ cr.define('options', function() {
display.div.style.height = newHeight + 'px';
display.nameContainer.style.marginTop =
(newHeight - display.nameContainer.offsetHeight) / 2 + 'px';
- if (display.isPrimary) {
- var launcher = display.div.firstChild;
- if (launcher && launcher.id == 'display-launcher') {
- launcher.style.width = display.div.style.width;
- }
- }
},
/**
@@ -697,11 +691,6 @@ cr.define('options', function() {
div.classList.add('displays-focused');
if (display.isPrimary) {
- // Put a grey rectangle to the primary display to denote launcher
- // below.
- var launcher = document.createElement('div');
- launcher.id = 'display-launcher';
- div.appendChild(launcher);
this.primaryDisplay_ = display;
} else {
this.secondaryDisplay_ = display;
« no previous file with comments | « chrome/browser/resources/options/chromeos/display_options.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698