| 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_)) :
|
|
|