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

Side by Side Diff: Source/devtools/front_end/devtools.js

Issue 1295523004: [DevTools] Expose reload method in InspectorFrontendHost. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: renamed Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/host/InspectorFrontendHostAPI.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 4
5 (function(window) { 5 (function(window) {
6 6
7 // DevToolsAPI ---------------------------------------------------------------- 7 // DevToolsAPI ----------------------------------------------------------------
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 /** 199 /**
200 * @param {{type: string, keyIdentifier: string, keyCode: number, modifiers: number}} event 200 * @param {{type: string, keyIdentifier: string, keyCode: number, modifiers: number}} event
201 */ 201 */
202 keyEventUnhandled: function(event) 202 keyEventUnhandled: function(event)
203 { 203 {
204 this._dispatchOnInspectorFrontendAPI("keyEventUnhandled", [event]); 204 this._dispatchOnInspectorFrontendAPI("keyEventUnhandled", [event]);
205 }, 205 },
206 206
207 /** 207 /**
208 * @param {boolean} hard
209 */
210 reloadInspectedPage: function(hard)
211 {
212 this._dispatchOnInspectorFrontendAPI("reloadInspectedPage", [hard]);
213 },
214
215 /**
208 * @param {string} url 216 * @param {string} url
209 * @param {number} lineNumber 217 * @param {number} lineNumber
210 * @param {number} columnNumber 218 * @param {number} columnNumber
211 */ 219 */
212 revealSourceLine: function(url, lineNumber, columnNumber) 220 revealSourceLine: function(url, lineNumber, columnNumber)
213 { 221 {
214 this._dispatchOnInspectorFrontendAPI("revealSourceLine", [url, lineNumbe r, columnNumber]); 222 this._dispatchOnInspectorFrontendAPI("revealSourceLine", [url, lineNumbe r, columnNumber]);
215 }, 223 },
216 224
217 /** 225 /**
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 uiTests.testSuiteReady = function(testSuiteConstructor, testBase) 851 uiTests.testSuiteReady = function(testSuiteConstructor, testBase)
844 { 852 {
845 uiTests._testSuite = testSuiteConstructor(window.domAutomationController ); 853 uiTests._testSuite = testSuiteConstructor(window.domAutomationController );
846 uiTests._tryRun(); 854 uiTests._tryRun();
847 }; 855 };
848 856
849 window.uiTests = uiTests; 857 window.uiTests = uiTests;
850 } 858 }
851 859
852 })(window); 860 })(window);
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/host/InspectorFrontendHostAPI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698