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

Unified Diff: Source/devtools/front_end/LayerTreeModel.js

Issue 22602002: DevTools: add 3D layer view to Layer panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nuked LayerTreeModel.js from inspector.html Created 7 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
« no previous file with comments | « Source/devtools/devtools.gyp ('k') | Source/devtools/front_end/Layers3DView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/LayerTreeModel.js
diff --git a/Source/devtools/front_end/LayerTreeModel.js b/Source/devtools/front_end/LayerTreeModel.js
index 16292f3fb60acbd6ea5324e3f2f793d4d73cebc6..e4922bb1369f6543258fd2aa568d2e3179a3f409 100644
--- a/Source/devtools/front_end/LayerTreeModel.js
+++ b/Source/devtools/front_end/LayerTreeModel.js
@@ -109,6 +109,15 @@ WebInspector.LayerTreeModel.prototype = {
},
/**
+ * @param {string} id
+ * @return {WebInspector.Layer?}
+ */
+ layerById: function(id)
+ {
+ return this._layersById[id];
+ },
+
+ /**
* @param{Array.<LayerTreeAgent.Layer>} payload
*/
_repopulate: function(payload)
« no previous file with comments | « Source/devtools/devtools.gyp ('k') | Source/devtools/front_end/Layers3DView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698