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

Unified Diff: Source/devtools/front_end/InspectorFrontendHostStub.js

Issue 71633003: DevTools: added "overlayContents" mode, where DevTools content is placed around and underneath inse… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No-op if no overlayContents Created 7 years 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/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"
];

Powered by Google App Engine
This is Rietveld 408576698