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

Side by Side Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java

Issue 2650753002: Implement renderer importance API for WebView (Closed)
Patch Set: clean up unused local 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package com.android.webview.chromium; 5 package com.android.webview.chromium;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.annotation.TargetApi; 8 import android.annotation.TargetApi;
9 import android.content.Context; 9 import android.content.Context;
10 import android.content.Intent; 10 import android.content.Intent;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Lets us access protected View-derived methods on the WebView instance we' re backing. 86 // Lets us access protected View-derived methods on the WebView instance we' re backing.
87 WebView.PrivateAccess mWebViewPrivate; 87 WebView.PrivateAccess mWebViewPrivate;
88 // The client adapter class. 88 // The client adapter class.
89 private WebViewContentsClientAdapter mContentsClientAdapter; 89 private WebViewContentsClientAdapter mContentsClientAdapter;
90 // The wrapped Context. 90 // The wrapped Context.
91 private Context mContext; 91 private Context mContext;
92 92
93 // Variables for functionality provided by this adapter -------------------- ------------------- 93 // Variables for functionality provided by this adapter -------------------- -------------------
94 private ContentSettingsAdapter mWebSettings; 94 private ContentSettingsAdapter mWebSettings;
95 // The WebView wrapper for ContentViewCore and required browser compontents. 95 // The WebView wrapper for ContentViewCore and required browser compontents.
96 private AwContents mAwContents; 96 AwContents mAwContents;
97 // Non-null if this webview is using the GL accelerated draw path. 97 // Non-null if this webview is using the GL accelerated draw path.
98 private DrawGLFunctor mGLfunctor; 98 private DrawGLFunctor mGLfunctor;
99 99
100 private final WebView.HitTestResult mHitTestResult; 100 private final WebView.HitTestResult mHitTestResult;
101 101
102 private final int mAppTargetSdkVersion; 102 private final int mAppTargetSdkVersion;
103 103
104 private WebViewChromiumFactoryProvider mFactory; 104 private WebViewChromiumFactoryProvider mFactory;
105 105
106 private final boolean mShouldDisableThreadChecking; 106 private final boolean mShouldDisableThreadChecking;
(...skipping 2166 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 mAwContents.extractSmartClipData(x, y, width, height); 2273 mAwContents.extractSmartClipData(x, y, width, height);
2274 } 2274 }
2275 2275
2276 // Implements SmartClipProvider 2276 // Implements SmartClipProvider
2277 @Override 2277 @Override
2278 public void setSmartClipResultHandler(final Handler resultHandler) { 2278 public void setSmartClipResultHandler(final Handler resultHandler) {
2279 checkThread(); 2279 checkThread();
2280 mAwContents.setSmartClipResultHandler(resultHandler); 2280 mAwContents.setSmartClipResultHandler(resultHandler);
2281 } 2281 }
2282 } 2282 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698