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() |