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

Unified Diff: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java

Issue 2595263002: Introduce ViewRoot forwarding input/view events to native (Closed)
Patch Set: tests Created 3 years, 12 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
Index: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java
diff --git a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java
index 2cd4dd1b6273a54826e2d524bf972b36b48313c3..3cf625b5f49b9d0fe116d9e56860769a497136ea 100644
--- a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java
+++ b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWindowManager.java
@@ -123,7 +123,7 @@ public class CastWindowManager extends FrameLayout {
mActiveCastWindow = shellView;
ContentViewCore contentViewCore = mActiveCastWindow.getContentViewCore();
if (contentViewCore != null) {
- mContentViewRenderView.setCurrentContentViewCore(contentViewCore);
+ mContentViewRenderView.setCurrentContent(contentViewCore, shellView.getViewRoot());
contentViewCore.onShow();
}

Powered by Google App Engine
This is Rietveld 408576698