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

Unified Diff: Source/devtools/front_end/main/Main.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/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index 8cc2be0a09faef260b4479363e61aef4c23dfd37..bc44c6678e764204688f5a54f23388b8f199da40 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -813,7 +813,7 @@ WebInspector.Main.MainMenuItem.prototype = {
var titleElement = dockItemElement.createChild("span", "flex-auto");
titleElement.textContent = WebInspector.UIString("Dock side");
var toggleDockSideShorcuts = WebInspector.shortcutRegistry.shortcutDescriptorsForAction("main.toggle-dock");
- WebInspector.Tooltip.install(titleElement, WebInspector.UIString("Placement of DevTools relative to the page. (%s to restore last position)", toggleDockSideShorcuts[0].name));
+ titleElement.title = WebInspector.UIString("Placement of DevTools relative to the page. (%s to restore last position)", toggleDockSideShorcuts[0].name);
dockItemElement.appendChild(titleElement);
var dockItemToolbar = new WebInspector.Toolbar(dockItemElement);
dockItemToolbar.makeBlueOnHover();
« no previous file with comments | « Source/devtools/front_end/emulation/ResponsiveDesignView.js ('k') | Source/devtools/front_end/ui/ColorSwatch.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698