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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java

Issue 2502763003: Introduce ViewRoot to forward input/view events to native (Closed)
Patch Set: Created 4 years, 1 month 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: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
index 77211351fab7e2da8043bee0dc454cdc914814e5..349ae0f5216b04bc44ef68a4cc48b63a964a9f4b 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
@@ -71,7 +71,7 @@ public class ContentViewRenderView extends FrameLayout {
nativeSurfaceChanged(mNativeContentViewRenderView,
format, width, height, holder.getSurface());
if (mContentViewCore != null) {
- mContentViewCore.onPhysicalBackingSizeChanged(
+ mContentViewCore.getViewDelegate().onPhysicalBackingSizeChanged(
width, height);
}
}
@@ -128,7 +128,8 @@ public class ContentViewRenderView extends FrameLayout {
mContentViewCore = contentViewCore;
if (mContentViewCore != null) {
- mContentViewCore.onPhysicalBackingSizeChanged(getWidth(), getHeight());
+ mContentViewCore.getViewDelegate().onPhysicalBackingSizeChanged(
+ getWidth(), getHeight());
nativeSetCurrentWebContents(
mNativeContentViewRenderView, mContentViewCore.getWebContents());
} else {

Powered by Google App Engine
This is Rietveld 408576698