Commit 45fd86a9 authored by dgozman's avatar dgozman Committed by Commit bot

[DevTools] Pass screencast commands to the renderer.

BUG=415102

Review URL: https://codereview.chromium.org/579223002

Cr-Commit-Position: refs/heads/master@{#296706}
parent b800d3d7
...@@ -615,7 +615,8 @@ RendererOverridesHandler::PageStartScreencast( ...@@ -615,7 +615,8 @@ RendererOverridesHandler::PageStartScreencast(
else else
host_->Send(new ViewMsg_ForceRedraw(host_->GetRoutingID(), 0)); host_->Send(new ViewMsg_ForceRedraw(host_->GetRoutingID(), 0));
} }
return command->SuccessResponse(NULL); // Pass through to the renderer.
return NULL;
} }
scoped_refptr<DevToolsProtocol::Response> scoped_refptr<DevToolsProtocol::Response>
...@@ -624,7 +625,8 @@ RendererOverridesHandler::PageStopScreencast( ...@@ -624,7 +625,8 @@ RendererOverridesHandler::PageStopScreencast(
last_frame_time_ = base::TimeTicks(); last_frame_time_ = base::TimeTicks();
screencast_command_ = NULL; screencast_command_ = NULL;
UpdateTouchEventEmulationState(); UpdateTouchEventEmulationState();
return command->SuccessResponse(NULL); // Pass through to the renderer.
return NULL;
} }
void RendererOverridesHandler::ScreencastFrameCaptured( void RendererOverridesHandler::ScreencastFrameCaptured(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment