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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js

Issue 2384783003: DevTools: split Sources tree into Network and Filesystem trees. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
index ab911b254a5caf922fc54c0b8d9e0ab926bbd189..13c68afeb3d07d5a23944f0ebe9ef6c12d2e33e7 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
@@ -412,13 +412,16 @@ WebInspector.TabbedPane.prototype = {
/**
* @param {string} id
* @param {string} tabTitle
+ * @param {string=} tabTooltip
*/
- changeTabTitle: function(id, tabTitle)
+ changeTabTitle: function(id, tabTitle, tabTooltip)
{
var tab = this._tabsById[id];
lushnikov 2016/10/01 03:05:34 TabbedPaneTab has the tooltip setter: var tab = t
- if (tab.title === tabTitle)
+ if (tab.title === tabTitle && (tabTooltip === undefined || tab.tooltip === tabTooltip))
return;
tab.title = tabTitle;
+ if (tabTooltip !== undefined)
+ tab.tooltip = tabTooltip;
this._updateTabElements();
},

Powered by Google App Engine
This is Rietveld 408576698