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

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

Issue 2773583002: [DevTools] Introduce a sidebar with a drop-down
Patch Set: [DevTools] Introduce a sidebar with a drop-down Created 3 years, 8 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/ListControl.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js b/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
index b55c2034cdfbfaaa3619d0e399d2c49445532b4f..0432efca80723207e71ff36f46bac0a91a85fe0a 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
@@ -224,6 +224,14 @@ UI.ListControl = class {
}
/**
+ * @param {!T} item
+ * @return {?Element}
+ */
+ elementForItem(item) {
einbinder 2017/05/04 07:05:09 This is unused.
eostroukhov 2017/05/04 17:55:51 Right. Removed.
+ return this._itemToElement.get(item);
+ }
+
+ /**
* @param {T} item
* @param {boolean=} center
*/

Powered by Google App Engine
This is Rietveld 408576698