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

Unified Diff: Source/devtools/front_end/emulation/DevicesSettingsTab.js

Issue 1300703004: DevTools: only set title w/ shortcut via Tooltip manager API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 5 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
Index: Source/devtools/front_end/emulation/DevicesSettingsTab.js
diff --git a/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/Source/devtools/front_end/emulation/DevicesSettingsTab.js
index ab471eabb959e8f79330539f729d93cdce2d856a..8c894e034efe41d281e227c8a158ceab23c6278c 100644
--- a/Source/devtools/front_end/emulation/DevicesSettingsTab.js
+++ b/Source/devtools/front_end/emulation/DevicesSettingsTab.js
@@ -96,11 +96,11 @@ WebInspector.DevicesSettingsTab.prototype = {
item.classList.toggle("device-list-item-show", device.show());
if (custom) {
var editButton = item.createChild("div", "devices-list-edit");
- WebInspector.Tooltip.install(editButton, WebInspector.UIString("Edit"));
+ editButton.title = WebInspector.UIString("Edit");
editButton.addEventListener("click", onEditClicked.bind(this), false);
var removeButton = item.createChild("div", "devices-list-remove");
- WebInspector.Tooltip.install(removeButton, WebInspector.UIString("Remove"));
+ removeButton.title = WebInspector.UIString("Remove");
removeButton.addEventListener("click", onRemoveClicked, false);
}
« no previous file with comments | « Source/devtools/front_end/elements/StylesSidebarPane.js ('k') | Source/devtools/front_end/emulation/OverridesUI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698