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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 2682593002: Refactor ContentViewClient (4/6) (Closed)
Patch Set: shell vad Created 3 years, 10 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: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 83b915080fbc499ee6873cd56f227c10b33bb5bf..7c8df9fe3e2ddef444d38070d347ed86213215b2 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -762,7 +762,7 @@ public class AwContents implements SmartClipProvider, PostMessageSender.PostMess
mAwViewMethods = new AwViewMethodsImpl();
mFullScreenTransitionsState = new FullScreenTransitionsState(
mContainerView, mInternalAccessAdapter, mAwViewMethods);
- mContentViewClient = new AwContentViewClient(contentsClient, settings, this, mContext);
+ mContentViewClient = new AwContentViewClient(contentsClient, settings, this);
mLayoutSizer = dependencyFactory.createLayoutSizer();
mSettings = settings;
mLayoutSizer.setDelegate(new AwLayoutSizerDelegate());
@@ -1056,7 +1056,7 @@ public class AwContents implements SmartClipProvider, PostMessageSender.PostMess
mWindowAndroid = getWindowAndroid(mContext);
mContentViewCore = new ContentViewCore(mContext, PRODUCT_VERSION);
mViewAndroidDelegate = new AwViewAndroidDelegate(mContainerView,
- mContentViewCore.getRenderCoordinates());
+ mContentsClient, mContentViewCore.getRenderCoordinates());
initializeContentViewCore(mContentViewCore, mContext, mViewAndroidDelegate,
mInternalAccessAdapter, webContents, new AwGestureStateListener(),
mContentViewClient, mWindowAndroid.getWindowAndroid());

Powered by Google App Engine
This is Rietveld 408576698