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

Unified Diff: content/browser/devtools/protocol/emulation_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/emulation_handler.cc
diff --git a/content/browser/devtools/protocol/emulation_handler.cc b/content/browser/devtools/protocol/emulation_handler.cc
index 5516fc78a4657abaa0c5b0c36cea0555e06ca07d..a2f4cbd8082f9f2add3bce35701c566bbb2a45e0 100644
--- a/content/browser/devtools/protocol/emulation_handler.cc
+++ b/content/browser/devtools/protocol/emulation_handler.cc
@@ -256,6 +256,40 @@ Response EmulationHandler::SetVisibleSize(int width, int height) {
return Response::OK();
}
+Response EmulationHandler::ForceViewport(double x, double y, double scale) {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::ResetViewport() {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::ResetPageScaleFactor() {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::SetPageScaleFactor(double page_scale_factor) {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::SetScriptExecutionDisabled(bool disabled) {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::SetEmulatedMedia(const std::string& media) {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::SetCPUThrottlingRate(double rate) {
+ return Response::FallThrough();
+}
+
+Response EmulationHandler::SetVirtualTimePolicy(
+ const std::string& policy,
+ const int* budget) {
+ return Response::FallThrough();
+}
+
WebContentsImpl* EmulationHandler::GetWebContents() {
return host_ ?
static_cast<WebContentsImpl*>(WebContents::FromRenderFrameHost(host_)) :
« no previous file with comments | « content/browser/devtools/protocol/emulation_handler.h ('k') | content/browser/devtools/protocol/input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698