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

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

Issue 2587293002: DevTools: teach TabbedPane.setTabIcon to accept UI.Icon instances (Closed)
Patch Set: formatting Created 4 years 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/InspectorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
index e72872cf2d12823338f312a5ea9b54f49aa8a29d..51292fb948ea6522f66e0aad41934a33f9e05622 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
@@ -169,11 +169,10 @@ UI.InspectorView = class extends UI.VBox {
/**
* @param {string} panelName
- * @param {string} iconType
- * @param {string=} iconTooltip
+ * @param {?UI.Icon} icon
*/
- setPanelIcon(panelName, iconType, iconTooltip) {
- this._tabbedPane.setTabIcon(panelName, iconType, iconTooltip);
+ setPanelIcon(panelName, icon) {
+ this._tabbedPane.setTabIcon(panelName, icon);
}
/**

Powered by Google App Engine
This is Rietveld 408576698