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

Unified Diff: Source/devtools/front_end/ui/ColorSwatch.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/main/Main.js ('k') | Source/devtools/front_end/ui/FilterBar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/ColorSwatch.js
diff --git a/Source/devtools/front_end/ui/ColorSwatch.js b/Source/devtools/front_end/ui/ColorSwatch.js
index e25d3372e442fdc6e832d9649ab46324ad64b703..2fee7686c3ca06541ddc8b6607bac2be4df0242b 100644
--- a/Source/devtools/front_end/ui/ColorSwatch.js
+++ b/Source/devtools/front_end/ui/ColorSwatch.js
@@ -82,7 +82,7 @@ WebInspector.ColorSwatch.prototype = {
root.appendChild(WebInspector.Widget.createStyleElement("ui/colorSwatch.css"));
this._iconElement = root.createChild("span", "color-swatch");
- WebInspector.Tooltip.install(this._iconElement, WebInspector.UIString("Shift-click to change color format"));
+ this._iconElement.title = WebInspector.UIString("Shift-click to change color format");
this._swatchInner = this._iconElement.createChild("span", "color-swatch-inner");
this._swatchInner.addEventListener("dblclick", consumeEvent, false);
this._swatchInner.addEventListener("mousedown", consumeEvent, false);
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/ui/FilterBar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698