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

Unified Diff: remoting/webapp/host_table_entry.js

Issue 10832402: Don't apply opacity to focus borders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | remoting/webapp/main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/host_table_entry.js
diff --git a/remoting/webapp/host_table_entry.js b/remoting/webapp/host_table_entry.js
index 4190b6891a23a5af287b515c6bb9f04bd27a71df..0407b9b6cce88041b5f58fb4fdb8f0c38e00d8a5 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,
« no previous file with comments | « no previous file | remoting/webapp/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698