summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/host_table_entry.js
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 20:44:38 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 20:44:38 +0000
commit12fb504d1dc73cd2ebf01c4c5262bea23720dd0b (patch)
tree7ff69fe874552ae5b4b6808c06628d5c6fc3a022 /remoting/webapp/host_table_entry.js
parentaf603daf127b819fe7a3ea40a8dc3cad6b3d2ae3 (diff)
downloadchromium_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/webapp/host_table_entry.js')
-rw-r--r--remoting/webapp/host_table_entry.js23
1 files changed, 15 insertions, 8 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,