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

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

Issue 223803003: [DevTools] Switch from insets to bounds to position inspected page. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 7 months 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/externs.js
diff --git a/Source/devtools/front_end/externs.js b/Source/devtools/front_end/externs.js
index 7f2b3b3a1fd156ac5a717af1a5f7a83ea625fe28..47c9363c8fd0e1564e3d56df18a1cfef3d7bbdf9 100644
--- a/Source/devtools/front_end/externs.js
+++ b/Source/devtools/front_end/externs.js
@@ -196,6 +196,11 @@ InspectorFrontendHostAPI.prototype.getSelectionForegroundColor = function() {}
/** @return {boolean} */
InspectorFrontendHost.isUnderTest = function() {}
/**
+ * Requests inspected page to be placed atop of the inspector frontend with specified bounds.
+ * @param {{x: number, y: number, width: number, height: number}} bounds
+ */
+InspectorFrontendHostAPI.prototype.setInspectedPageBounds = function(bounds) {}
+/**
* Requests inspected page to be placed atop of the inspector frontend
* with passed insets from the frontend sides, respecting minimum size passed.
* @param {{top: number, left: number, right: number, bottom: number}} insets
« no previous file with comments | « Source/devtools/front_end/InspectorFrontendHostStub.js ('k') | Source/devtools/front_end/ui/InspectedPagePlaceholder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698