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

Unified Diff: Source/devtools/front_end/ui/Toolbar.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
« no previous file with comments | « Source/devtools/front_end/ui/SplitWidget.js ('k') | Source/devtools/front_end/ui/Tooltip.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/Toolbar.js
diff --git a/Source/devtools/front_end/ui/Toolbar.js b/Source/devtools/front_end/ui/Toolbar.js
index 39bce5a2139a301130966f7f5253814ec38ad264..331056bfd793d36ab517514dfb7d13e95c83f9bc 100644
--- a/Source/devtools/front_end/ui/Toolbar.js
+++ b/Source/devtools/front_end/ui/Toolbar.js
@@ -929,7 +929,7 @@ WebInspector.ToolbarCheckbox = function(text, title, setting)
this.element.classList.add("checkbox");
this.inputElement = this.element.checkboxElement;
if (title)
- WebInspector.Tooltip.install(this.element, title);
+ this.element.title = title;
if (setting)
WebInspector.SettingsUI.bindCheckbox(this.inputElement, setting);
}
« no previous file with comments | « Source/devtools/front_end/ui/SplitWidget.js ('k') | Source/devtools/front_end/ui/Tooltip.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698