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

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

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 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: 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 1eb800418bd8150b18aa4b88aa0cf357b4b7f635..119d844b9ff867c3e1338d40f4cb6c29b0120854 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
@@ -852,25 +852,6 @@ WebInspector.TabbedPane.prototype = {
this._automaticReorder = automatic;
},
- /**
- * @override
- * @param {!WebInspector.Widget} child
- * @return {boolean}
- */
- revealChild: function(child)
- {
- if (this._currentTabLocked)
- return false;
-
- for (var tabId of this.tabIds()) {
- if (this.tabView(tabId) === child) {
- this.selectTab(tabId);
- return true;
- }
- }
- return false;
- },
-
__proto__: WebInspector.VBox.prototype
}

Powered by Google App Engine
This is Rietveld 408576698