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

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

Issue 2708703004: Reland "Refactor ContentViewClient (4/6)" (Closed)
Patch Set: rebased 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 cc2975990f93ad7e645e44c8c70ef390c9b4a706..5bb3079ee77a88d2afe37dd4f5f72d4057bfca1d 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -758,7 +758,7 @@ public class AwContents implements SmartClipProvider {
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());
@@ -1051,8 +1051,8 @@ public class AwContents implements SmartClipProvider {
mWindowAndroid = getWindowAndroid(mContext);
mContentViewCore = new ContentViewCore(mContext, PRODUCT_VERSION);
- mViewAndroidDelegate = new AwViewAndroidDelegate(mContainerView,
- mContentViewCore.getRenderCoordinates());
+ mViewAndroidDelegate = new AwViewAndroidDelegate(
+ mContainerView, mContentsClient, mContentViewCore.getRenderCoordinates());
initializeContentViewCore(mContentViewCore, mContext, mViewAndroidDelegate,
mInternalAccessAdapter, webContents, new AwGestureStateListener(),
mContentViewClient, mWindowAndroid.getWindowAndroid());

Powered by Google App Engine
This is Rietveld 408576698