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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHostAPI.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 /** @interface */ 4 /** @interface */
5 function InspectorFrontendHostAPI() { 5 function InspectorFrontendHostAPI() {
6 } 6 }
7 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; 7 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI;
8 /** @typedef 8 /** @typedef
9 {{ 9 {{
10 type: string, 10 type: string,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 getSelectionBackgroundColor() {}, 125 getSelectionBackgroundColor() {},
126 126
127 /** 127 /**
128 * @return {string} 128 * @return {string}
129 */ 129 */
130 getSelectionForegroundColor() {}, 130 getSelectionForegroundColor() {},
131 131
132 /** 132 /**
133 * Requests inspected page to be placed atop of the inspector frontend with sp ecified bounds. 133 * Requests inspected page to be placed atop of the inspector frontend with sp ecified bounds.
134 * @param {{x: number, y: number, width: number, height: number}} bounds 134 * @param {{x: number, y: number, width: number, height: number}} bounds
135 * @param {boolean=} force
135 */ 136 */
136 setInspectedPageBounds(bounds) {}, 137 setInspectedPageBounds(bounds, force) {},
137 138
138 /** 139 /**
139 * @param {!Array<string>} certChain 140 * @param {!Array<string>} certChain
140 */ 141 */
141 showCertificateViewer(certChain) {}, 142 showCertificateViewer(certChain) {},
142 143
143 /** 144 /**
144 * @param {string} shortcuts 145 * @param {string} shortcuts
145 */ 146 */
146 setWhitelistedShortcuts(shortcuts) {}, 147 setWhitelistedShortcuts(shortcuts) {},
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 */ 317 */
317 isUnderTest() {}, 318 isUnderTest() {},
318 319
319 readyForTest() {}, 320 readyForTest() {},
320 321
321 /** 322 /**
322 * @return {boolean} 323 * @return {boolean}
323 */ 324 */
324 isHostedMode() {} 325 isHostedMode() {}
325 }; 326 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698