| Index: Source/devtools/front_end/host/DOMExtension.js
|
| diff --git a/Source/devtools/front_end/ui/DOMExtension.js b/Source/devtools/front_end/host/DOMExtension.js
|
| similarity index 97%
|
| rename from Source/devtools/front_end/ui/DOMExtension.js
|
| rename to Source/devtools/front_end/host/DOMExtension.js
|
| index ff5133ca303321a15b6347fb26b83843aaad9f96..d22335c4777ef27c3f659ffc6382fc54088221e7 100644
|
| --- a/Source/devtools/front_end/ui/DOMExtension.js
|
| +++ b/Source/devtools/front_end/host/DOMExtension.js
|
| @@ -277,24 +277,6 @@ Constraints.prototype.addHeight = function(value)
|
| }
|
|
|
| /**
|
| - * @param {?Element=} containerElement
|
| - * @return {!Size}
|
| - */
|
| -Element.prototype.measurePreferredSize = function(containerElement)
|
| -{
|
| - containerElement = containerElement || this.ownerDocument.body;
|
| - containerElement.appendChild(this);
|
| - var fakingComponentRoot = WebInspector.installComponentRootStyles(this);
|
| - this.positionAt(0, 0);
|
| - var result = new Size(this.offsetWidth, this.offsetHeight);
|
| - this.positionAt(undefined, undefined);
|
| - this.remove();
|
| - if (fakingComponentRoot)
|
| - WebInspector.uninstallComponentRootStyles(this);
|
| - return result;
|
| -}
|
| -
|
| -/**
|
| * @param {!Event} event
|
| * @return {boolean}
|
| */
|
|
|