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

Unified Diff: third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js

Issue 2861053003: DevTools: [lighthouse] Implement performance metrics filmstrip (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js b/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js
index 05a6c5e84bf956dd18ef9797f770064f2263a0e7..7ab81923d7c26c9320e6f196e1d27bf90b2cc075 100644
--- a/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js
+++ b/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js
@@ -392,9 +392,10 @@
* Requests inspected page to be placed atop of the inspector frontend with specified bounds.
* @override
* @param {{x: number, y: number, width: number, height: number}} bounds
+ * @param {boolean=} force
*/
- setInspectedPageBounds(bounds) {
- DevToolsAPI.sendMessageToEmbedder('setInspectedPageBounds', [bounds], null);
+ setInspectedPageBounds(bounds, force) {
+ DevToolsAPI.sendMessageToEmbedder('setInspectedPageBounds', [bounds, force || false], null);
}
/**

Powered by Google App Engine
This is Rietveld 408576698