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

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: review comments addressed Created 4 years, 2 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 | « third_party/WebKit/Source/devtools/front_end/sources/module.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..84603f58d1a2e18076a5f0741049b491d7c397b8 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
@@ -412,14 +412,17 @@ 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];
- if (tab.title === tabTitle)
- return;
- tab.title = tabTitle;
- this._updateTabElements();
+ if (tabTooltip !== undefined)
+ tab.tooltip = tabTooltip;
+ if (tab.title !== tabTitle) {
+ tab.title = tabTitle;
+ this._updateTabElements();
+ }
},
/**
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/module.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698