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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 InspectorFrontendHostAPI.prototype.append = function(url, content, callback) {} 189 InspectorFrontendHostAPI.prototype.append = function(url, content, callback) {}
190 /** @param {!Function=} callback */ 190 /** @param {!Function=} callback */
191 InspectorFrontendHostAPI.prototype.indexPath = function(requestId, fileSystemPat h, callback) {} 191 InspectorFrontendHostAPI.prototype.indexPath = function(requestId, fileSystemPat h, callback) {}
192 /** @return {string} */ 192 /** @return {string} */
193 InspectorFrontendHostAPI.prototype.getSelectionBackgroundColor = function() {} 193 InspectorFrontendHostAPI.prototype.getSelectionBackgroundColor = function() {}
194 /** @return {string} */ 194 /** @return {string} */
195 InspectorFrontendHostAPI.prototype.getSelectionForegroundColor = function() {} 195 InspectorFrontendHostAPI.prototype.getSelectionForegroundColor = function() {}
196 /** @return {boolean} */ 196 /** @return {boolean} */
197 InspectorFrontendHost.isUnderTest = function() {} 197 InspectorFrontendHost.isUnderTest = function() {}
198 /** 198 /**
199 * Requests inspected page to be placed atop of the inspector frontend with spec ified bounds.
200 * @param {{x: number, y: number, width: number, height: number}} bounds
201 */
202 InspectorFrontendHostAPI.prototype.setInspectedPageBounds = function(bounds) {}
203 /**
199 * Requests inspected page to be placed atop of the inspector frontend 204 * Requests inspected page to be placed atop of the inspector frontend
200 * with passed insets from the frontend sides, respecting minimum size passed. 205 * with passed insets from the frontend sides, respecting minimum size passed.
201 * @param {{top: number, left: number, right: number, bottom: number}} insets 206 * @param {{top: number, left: number, right: number, bottom: number}} insets
202 * @param {{width: number, height: number}} minSize 207 * @param {{width: number, height: number}} minSize
203 */ 208 */
204 InspectorFrontendHostAPI.prototype.setContentsResizingStrategy = function(insets , minSize) {} 209 InspectorFrontendHostAPI.prototype.setContentsResizingStrategy = function(insets , minSize) {}
205 /** @param {string} shortcuts */ 210 /** @param {string} shortcuts */
206 InspectorFrontendHostAPI.prototype.setWhitelistedShortcuts = function(shortcuts) {} 211 InspectorFrontendHostAPI.prototype.setWhitelistedShortcuts = function(shortcuts) {}
207 InspectorFrontendHostAPI.prototype.inspectElementCompleted = function() {} 212 InspectorFrontendHostAPI.prototype.inspectElementCompleted = function() {}
208 /** @param {!Function=} callback */ 213 /** @param {!Function=} callback */
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 } 467 }
463 468
464 /** @type {Object.<string, !Object.<string, string>>} */ 469 /** @type {Object.<string, !Object.<string, string>>} */
465 CodeMirror.keyMap; 470 CodeMirror.keyMap;
466 471
467 /** @type {{scrollLeft: number, scrollTop: number}} */ 472 /** @type {{scrollLeft: number, scrollTop: number}} */
468 CodeMirror.doc; 473 CodeMirror.doc;
469 474
470 /** @type {boolean} */ 475 /** @type {boolean} */
471 window.dispatchStandaloneTestRunnerMessages; 476 window.dispatchStandaloneTestRunnerMessages;
OLDNEW
« 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