Commit d8d1f860 authored by mukai@chromium.org's avatar mukai@chromium.org

Removes the 'launcher' grey bar from display pref.

The grey bar is added to the primary display to denote the launcher.
This doesn't make sense because now we provide a launcher for each
display, and we decided to just remove the launcher rather than
keeping it to every displays.

BUG=175569


Review URL: https://chromiumcodereview.appspot.com/12208121

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181982 0039d316-1c4b-4281-b951-d872f2087c98
parent 80ca206f
...@@ -69,13 +69,6 @@ html[dir=rtl] #selected-display-data-container { ...@@ -69,13 +69,6 @@ html[dir=rtl] #selected-display-data-container {
font-weight: bold; font-weight: bold;
} }
#display-launcher {
background-color: lightgrey;
bottom: 0;
height: 10px;
position: absolute;
}
.displays-display { .displays-display {
-webkit-user-select: none; -webkit-user-select: none;
background: rgb(240, 240, 240); background: rgb(240, 240, 240);
......
...@@ -590,12 +590,6 @@ cr.define('options', function() { ...@@ -590,12 +590,6 @@ cr.define('options', function() {
display.div.style.height = newHeight + 'px'; display.div.style.height = newHeight + 'px';
display.nameContainer.style.marginTop = display.nameContainer.style.marginTop =
(newHeight - display.nameContainer.offsetHeight) / 2 + 'px'; (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() { ...@@ -697,11 +691,6 @@ cr.define('options', function() {
div.classList.add('displays-focused'); div.classList.add('displays-focused');
if (display.isPrimary) { 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; this.primaryDisplay_ = display;
} else { } else {
this.secondaryDisplay_ = display; this.secondaryDisplay_ = display;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment