Chromium Code Reviews| Index: Source/devtools/front_end/InspectorFrontendHostStub.js |
| diff --git a/Source/devtools/front_end/InspectorFrontendHostStub.js b/Source/devtools/front_end/InspectorFrontendHostStub.js |
| index adeb35d71dcecb429a782d8b1481ad2e64f2dda4..423df45612a53f639d6abc62b390a403d11bb385 100644 |
| --- a/Source/devtools/front_end/InspectorFrontendHostStub.js |
| +++ b/Source/devtools/front_end/InspectorFrontendHostStub.js |
| @@ -81,9 +81,10 @@ WebInspector.InspectorFrontendHostStub.prototype = { |
| InspectorFrontendAPI.setDockSide(side); |
| }, |
| - setWindowBounds: function(x, y, width, height, callback) |
| + setContentsOffsets: function(left, top, right, bottom, callback) |
| { |
| - callback(); |
| + if (callback) |
|
pfeldman
2013/12/05 15:44:06
Please annotate.
dgozman
2013/12/06 16:17:13
Done.
|
| + callback(); |
| }, |
| moveWindowBy: function(x, y) |
| @@ -251,7 +252,7 @@ InspectorFrontendHost = new WebInspector.InspectorFrontendHostStub(); |
| "requestSetDockSide", |
| "save", |
| "searchInPath", |
| - "setWindowBounds", |
| + "setContentsOffsets", |
| "stopIndexing" |
| ]; |