Implement touch events for site-isolation.
This CL implements the necessary machinery to plumb touch events into
oopif frames, including oopif-based WebView (BrowserTag).
BUG=581892
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review URL: https://codereview.chromium.org/1729373003
Cr-Commit-Position: refs/heads/master@{#378781}
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index aafc668..bb09dc6 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -1278,6 +1278,10 @@
GetRenderManager()->SetRWHViewForInnerContents(
GetRenderManager()->GetRenderWidgetHostView());
+
+ static_cast<RenderWidgetHostViewChildFrame*>(
+ GetRenderManager()->GetRenderWidgetHostView())
+ ->RegisterSurfaceNamespaceId();
}
void WebContentsImpl::Stop() {