| Index: Source/devtools/front_end/InspectorFrontendHostStub.js
|
| diff --git a/Source/devtools/front_end/InspectorFrontendHostStub.js b/Source/devtools/front_end/InspectorFrontendHostStub.js
|
| index 2eeca71636e4301221fcf6299e5c9a0c549a2de6..5d1fe38f53147c7ca9dc173afd9342dcd8419a78 100644
|
| --- a/Source/devtools/front_end/InspectorFrontendHostStub.js
|
| +++ b/Source/devtools/front_end/InspectorFrontendHostStub.js
|
| @@ -100,9 +100,16 @@ WebInspector.InspectorFrontendHostStub.prototype = {
|
| InspectorFrontendAPI.setDockSide(side);
|
| },
|
|
|
| - setWindowBounds: function(x, y, width, height, callback)
|
| + /**
|
| + * Requests inspected page to be placed atop of the inspector frontend
|
| + * with passed insets from the frontend sides.
|
| + * @param {number} top
|
| + * @param {number} left
|
| + * @param {number} bottom
|
| + * @param {number} right
|
| + */
|
| + setContentsInsets: function(top, left, bottom, right)
|
| {
|
| - callback();
|
| },
|
|
|
| moveWindowBy: function(x, y)
|
| @@ -251,7 +258,7 @@ InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub();
|
| "requestSetDockSide",
|
| "save",
|
| "searchInPath",
|
| - "setWindowBounds",
|
| + "setContentsInsets",
|
| "stopIndexing"
|
| ];
|
|
|
|
|