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

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: Rebase 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
« no previous file with comments | « Source/devtools/front_end/HelpScreen.js ('k') | Source/devtools/front_end/InspectorView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
];
« no previous file with comments | « Source/devtools/front_end/HelpScreen.js ('k') | Source/devtools/front_end/InspectorView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698