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

Unified Diff: content/browser/devtools/render_frame_devtools_agent_host.cc

Issue 2731383002: [DevTools] Make touch emulation work with OOPIF. (Closed)
Patch Set: dialog fix to separate patch Created 3 years, 9 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/render_frame_devtools_agent_host.cc
diff --git a/content/browser/devtools/render_frame_devtools_agent_host.cc b/content/browser/devtools/render_frame_devtools_agent_host.cc
index 478d1f0fb6b08056be7f2beb6cc04e58c718fef4..6ecf9819126045718902f4bdea3a8b918ece6df6 100644
--- a/content/browser/devtools/render_frame_devtools_agent_host.cc
+++ b/content/browser/devtools/render_frame_devtools_agent_host.cc
@@ -516,11 +516,11 @@ void RenderFrameDevToolsAgentHost::AttachSession(DevToolsSession* session) {
session->SetFallThroughForNotFound(true);
session->SetRenderFrameHost(handlers_frame_host_);
if (frame_tree_node_ && !frame_tree_node_->parent()) {
- session->AddHandler(base::WrapUnique(new protocol::EmulationHandler()));
session->AddHandler(base::WrapUnique(new protocol::PageHandler()));
session->AddHandler(base::WrapUnique(new protocol::SecurityHandler()));
}
session->AddHandler(base::WrapUnique(new protocol::DOMHandler()));
+ session->AddHandler(base::WrapUnique(new protocol::EmulationHandler()));
session->AddHandler(base::WrapUnique(new protocol::InputHandler()));
session->AddHandler(base::WrapUnique(new protocol::InspectorHandler()));
session->AddHandler(base::WrapUnique(new protocol::IOHandler(
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698