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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Widget.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/Widget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
index 5be80345742fa677a0d50430a8de4c418344bbf1..8b6954c319136932f2d025684b4620f57949ca4d 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
@@ -555,25 +555,6 @@ WebInspector.Widget.prototype = {
this._parentWidget.doLayout();
},
- /**
- * @return {boolean}
- */
- revealWidget: function()
- {
- if (!this._parentWidget)
- return this._isRoot;
- if (!this._parentWidget.revealChild(this))
- return false;
- return this._parentWidget.revealWidget();
- },
-
- /**
- * @param {!WebInspector.Widget} widget
- * @return {boolean}
- * @protected
- */
- revealChild: function(widget) { return true; },
-
__proto__: WebInspector.Object.prototype
}

Powered by Google App Engine
This is Rietveld 408576698