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

Unified Diff: content/browser/devtools/protocol/page_handler.h

Issue 2478703002: [DevTools] Remove handlers = browser from protocol definition. (Closed)
Patch Set: fixes Created 4 years, 1 month 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: content/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index a8456df4271d6eea8c86a9669679f617ee21f5de..8703a64b57e12e1269d239d40b6438600432fda6 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -85,6 +85,33 @@ class PageHandler : public NotificationObserver {
Response SetControlNavigations(bool enabled);
Response ProcessNavigation(const std::string& response, int navigation_id);
+ Response AddScriptToEvaluateOnLoad(const std::string& source,
+ std::string* identifier);
+ Response RemoveScriptToEvaluateOnLoad(const std::string& identifier);
+ Response SetAutoAttachToCreatedPages(bool auto_attach);
+ Response GetResourceTree(scoped_refptr<FrameResourceTree>* tree);
+ Response GetResourceContent(DevToolsCommandId command_id,
+ const std::string& frame_id,
+ const std::string& url);
+ Response SearchInResource(DevToolsCommandId command_id,
+ const std::string& frame_id,
+ const std::string& url,
+ const std::string& query,
+ bool* case_sensitive,
+ bool* is_regex);
+ Response SetDocumentContent(const std::string& frame_id,
+ const std::string& html);
+ Response ConfigureOverlay(const bool* is_suspended,
+ const std::string* message);
+ Response GetAppManifest(
+ std::string* url,
+ std::vector<scoped_refptr<AppManifestError>>* errors,
+ std::string* data);
+ Response SetBlockedEventsWarningThreshold(double threshold);
+ Response GetLayoutMetrics(
+ scoped_refptr<LayoutViewport>* layout_viewport,
+ scoped_refptr<VisualViewport>* visual_viewport);
+
std::unique_ptr<PageNavigationThrottle> CreateThrottleForNavigation(
NavigationHandle* navigation_handle);
« no previous file with comments | « content/browser/devtools/protocol/memory_handler.cc ('k') | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698