diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 20:44:38 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 20:44:38 +0000 |
commit | 12fb504d1dc73cd2ebf01c4c5262bea23720dd0b (patch) | |
tree | 7ff69fe874552ae5b4b6808c06628d5c6fc3a022 /remoting | |
parent | af603daf127b819fe7a3ea40a8dc3cad6b3d2ae3 (diff) | |
download | chromium_src-12fb504d1dc73cd2ebf01c4c5262bea23720dd0b.zip chromium_src-12fb504d1dc73cd2ebf01c4c5262bea23720dd0b.tar.gz chromium_src-12fb504d1dc73cd2ebf01c4c5262bea23720dd0b.tar.bz2 |
Don't apply opacity to focus borders.
BUG=127667
Review URL: https://chromiumcodereview.appspot.com/10832402
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/webapp/host_table_entry.js | 23 | ||||
-rw-r--r-- | remoting/webapp/main.html | 11 |
2 files changed, 22 insertions, 12 deletions
diff --git a/remoting/webapp/host_table_entry.js b/remoting/webapp/host_table_entry.js index 4190b68..0407b9b 100644 --- a/remoting/webapp/host_table_entry.js +++ b/remoting/webapp/host_table_entry.js @@ -80,22 +80,29 @@ remoting.HostTableEntry.prototype.create = function(host, onRename, onDelete) { hostNameCell.classList.add('box-spacer'); tableRow.appendChild(hostNameCell); // Create the host rename cell. - var editButton = /** @type {HTMLElement} */ document.createElement('img'); - editButton.title = chrome.i18n.getMessage(/*i18n-content*/'TOOLTIP_RENAME'); - editButton.src = 'icon_pencil.png'; + var editButton = /** @type {HTMLElement} */ document.createElement('span'); + var editButtonImg = /** @type {HTMLElement} */ document.createElement('img'); + editButtonImg.title = chrome.i18n.getMessage( + /*i18n-content*/'TOOLTIP_RENAME'); + editButtonImg.src = 'icon_pencil.png'; editButton.tabIndex = 0; editButton.classList.add('clickable'); editButton.classList.add('host-list-edit'); - editButton.classList.add('host-list-rename-icon'); + editButtonImg.classList.add('host-list-rename-icon'); + editButton.appendChild(editButtonImg); tableRow.appendChild(editButton); // Create the host delete cell. - var deleteButton = /** @type {HTMLElement} */ document.createElement('img'); - deleteButton.title = chrome.i18n.getMessage(/*i18n-content*/'TOOLTIP_DELETE'); - deleteButton.src = 'icon_cross.png'; + var deleteButton = /** @type {HTMLElement} */ document.createElement('span'); + var deleteButtonImg = + /** @type {HTMLElement} */ document.createElement('img'); + deleteButtonImg.title = + chrome.i18n.getMessage(/*i18n-content*/'TOOLTIP_DELETE'); + deleteButtonImg.src = 'icon_cross.png'; deleteButton.tabIndex = 0; deleteButton.classList.add('clickable'); deleteButton.classList.add('host-list-edit'); - deleteButton.classList.add('host-list-remove-icon'); + deleteButtonImg.classList.add('host-list-remove-icon'); + deleteButton.appendChild(deleteButtonImg); tableRow.appendChild(deleteButton); this.init(host, tableRow, hostNameCell, editButton, onRename, diff --git a/remoting/webapp/main.html b/remoting/webapp/main.html index c4afdad..89f641d 100644 --- a/remoting/webapp/main.html +++ b/remoting/webapp/main.html @@ -171,10 +171,13 @@ found in the LICENSE file. src="icon_host.png" class="host-list-main-icon"> <div id="this-host-name" class="box-spacer"></div> - <img id="this-host-rename" - class="host-list-edit host-list-rename-icon" - src="icon_pencil.png" - tabIndex="0"> + <span id="this-host-rename" + class="host-list-edit" + tabIndex="0"> + <img id="this-host-rename" + class="host-list-rename-icon" + src="icon_pencil.png"> + </span> <button type="button" id="stop-daemon" i18n-content="HOME_DAEMON_STOP_BUTTON"> |