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

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

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.cc
diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
index 7b5f47fb596af79f5ed8bbc230b104fcbc185833..468fd58c21dcfa9299b48bf7a4288693da42be88 100644
--- a/content/browser/devtools/protocol/page_handler.cc
+++ b/content/browser/devtools/protocol/page_handler.cc
@@ -409,6 +409,66 @@ Response PageHandler::ProcessNavigation(const std::string& response,
return Response::InvalidParams("Unrecognized response");
}
+Response PageHandler::AddScriptToEvaluateOnLoad(const std::string& source,
+ std::string* identifier) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::RemoveScriptToEvaluateOnLoad(
+ const std::string& identifier) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::SetAutoAttachToCreatedPages(bool auto_attach) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::GetResourceTree(scoped_refptr<FrameResourceTree>* tree) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::GetResourceContent(DevToolsCommandId command_id,
+ const std::string& frame_id,
+ const std::string& url) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::SearchInResource(DevToolsCommandId command_id,
+ const std::string& frame_id,
+ const std::string& url,
+ const std::string& query,
+ bool* case_sensitive,
+ bool* is_regex) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::SetDocumentContent(const std::string& frame_id,
+ const std::string& html) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::ConfigureOverlay(const bool* is_suspended,
+ const std::string* message) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::GetAppManifest(
+ std::string* url,
+ std::vector<scoped_refptr<AppManifestError>>* errors,
+ std::string* data) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::SetBlockedEventsWarningThreshold(double threshold) {
+ return Response::FallThrough();
+}
+
+Response PageHandler::GetLayoutMetrics(
+ scoped_refptr<LayoutViewport>* layout_viewport,
+ scoped_refptr<VisualViewport>* visual_viewport) {
+ return Response::FallThrough();
+}
+
std::unique_ptr<PageNavigationThrottle>
PageHandler::CreateThrottleForNavigation(NavigationHandle* navigation_handle) {
if (!navigation_throttle_enabled_)
« no previous file with comments | « content/browser/devtools/protocol/page_handler.h ('k') | third_party/WebKit/LayoutTests/inspector/report-protocol-errors.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698