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

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: 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
Index: Source/devtools/front_end/LayerTreeModel.js
diff --git a/Source/devtools/front_end/LayerTreeModel.js b/Source/devtools/front_end/LayerTreeModel.js
index 2111bc81e733e8775dc380afe3b0a6194601a29c..aae5bfe0a691f30b91bbade10f8b20c9685130c8 100644
--- a/Source/devtools/front_end/LayerTreeModel.js
+++ b/Source/devtools/front_end/LayerTreeModel.js
@@ -156,6 +156,38 @@ WebInspector.Layer.prototype = {
},
/**
+ * @return {number}
+ */
+ offsetX: function()
+ {
+ return this._rawLayer["offsetX"];
pfeldman 2013/08/09 09:24:52 . notation.
+ },
+
+ /**
+ * @return {number}
+ */
+ offsetY: function()
+ {
+ return this._rawLayer["offsetY"];
+ },
+
+ /**
+ * @return {number}
+ */
+ width: function()
+ {
+ return this._rawLayer["width"];
+ },
+
+ /**
+ * @return {number}
+ */
+ height: function()
+ {
+ return this._rawLayer["height"];
+ },
+
+ /**
* @return {WebInspector.Layer}
*/
parent: function()

Powered by Google App Engine
This is Rietveld 408576698