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

Unified Diff: Source/devtools/front_end/host/InspectorFrontendHostAPI.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/devtools.js ('k') | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/host/InspectorFrontendHostAPI.js
diff --git a/Source/devtools/front_end/host/InspectorFrontendHostAPI.js b/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
index 01e202773de1c2202b4a728315b94f64d0291433..b27d6169823ae03ed4c80ad28d712bf10d4ce9aa 100644
--- a/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
+++ b/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
@@ -44,6 +44,7 @@ InspectorFrontendHostAPI.Events = {
IndexingWorked: "indexingWorked",
IndexingDone: "indexingDone",
KeyEventUnhandled: "keyEventUnhandled",
+ ReloadInspectedPage: "reloadInspectedPage",
RevealSourceLine: "revealSourceLine",
SavedURL: "savedURL",
SearchCompleted: "searchCompleted",
@@ -70,6 +71,7 @@ InspectorFrontendHostAPI.EventDescriptors = [
[InspectorFrontendHostAPI.Events.IndexingWorked, ["requestId", "fileSystemPath", "worked"]],
[InspectorFrontendHostAPI.Events.IndexingDone, ["requestId", "fileSystemPath"]],
[InspectorFrontendHostAPI.Events.KeyEventUnhandled, ["event"]],
+ [InspectorFrontendHostAPI.Events.ReloadInspectedPage, ["hard"]],
[InspectorFrontendHostAPI.Events.RevealSourceLine, ["url", "lineNumber", "columnNumber"]],
[InspectorFrontendHostAPI.Events.SavedURL, ["url"]],
[InspectorFrontendHostAPI.Events.SearchCompleted, ["requestId", "fileSystemPath", "files"]],
« no previous file with comments | « Source/devtools/front_end/devtools.js ('k') | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698