OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 org.chromium.android_webview; | 5 package org.chromium.android_webview; |
6 | 6 |
7 import android.annotation.SuppressLint; | 7 import android.annotation.SuppressLint; |
8 import android.app.Activity; | 8 import android.app.Activity; |
9 import android.content.ComponentCallbacks2; | 9 import android.content.ComponentCallbacks2; |
10 import android.content.Context; | 10 import android.content.Context; |
(...skipping 30 matching lines...) Expand all Loading... |
41 import org.chromium.base.CalledByNative; | 41 import org.chromium.base.CalledByNative; |
42 import org.chromium.base.JNINamespace; | 42 import org.chromium.base.JNINamespace; |
43 import org.chromium.base.ThreadUtils; | 43 import org.chromium.base.ThreadUtils; |
44 import org.chromium.base.VisibleForTesting; | 44 import org.chromium.base.VisibleForTesting; |
45 import org.chromium.components.navigation_interception.InterceptNavigationDelega
te; | 45 import org.chromium.components.navigation_interception.InterceptNavigationDelega
te; |
46 import org.chromium.components.navigation_interception.NavigationParams; | 46 import org.chromium.components.navigation_interception.NavigationParams; |
47 import org.chromium.content.browser.ContentSettings; | 47 import org.chromium.content.browser.ContentSettings; |
48 import org.chromium.content.browser.ContentViewClient; | 48 import org.chromium.content.browser.ContentViewClient; |
49 import org.chromium.content.browser.ContentViewCore; | 49 import org.chromium.content.browser.ContentViewCore; |
50 import org.chromium.content.browser.ContentViewStatics; | 50 import org.chromium.content.browser.ContentViewStatics; |
51 import org.chromium.content.browser.WebContentsObserverAndroid; | 51 import org.chromium.content.browser.WebContentsObserver; |
52 import org.chromium.content.common.CleanupReference; | 52 import org.chromium.content.common.CleanupReference; |
53 import org.chromium.content_public.browser.GestureStateListener; | 53 import org.chromium.content_public.browser.GestureStateListener; |
54 import org.chromium.content_public.browser.JavaScriptCallback; | 54 import org.chromium.content_public.browser.JavaScriptCallback; |
55 import org.chromium.content_public.browser.LoadUrlParams; | 55 import org.chromium.content_public.browser.LoadUrlParams; |
56 import org.chromium.content_public.browser.NavigationController; | 56 import org.chromium.content_public.browser.NavigationController; |
57 import org.chromium.content_public.browser.NavigationHistory; | 57 import org.chromium.content_public.browser.NavigationHistory; |
58 import org.chromium.content_public.browser.WebContents; | 58 import org.chromium.content_public.browser.WebContents; |
59 import org.chromium.content_public.common.Referrer; | 59 import org.chromium.content_public.common.Referrer; |
60 import org.chromium.ui.base.ActivityWindowAndroid; | 60 import org.chromium.ui.base.ActivityWindowAndroid; |
61 import org.chromium.ui.base.PageTransitionTypes; | 61 import org.chromium.ui.base.PageTransitionTypes; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 private final AwBrowserContext mBrowserContext; | 181 private final AwBrowserContext mBrowserContext; |
182 private ViewGroup mContainerView; | 182 private ViewGroup mContainerView; |
183 private final AwLayoutChangeListener mLayoutChangeListener; | 183 private final AwLayoutChangeListener mLayoutChangeListener; |
184 private final Context mContext; | 184 private final Context mContext; |
185 private ContentViewCore mContentViewCore; | 185 private ContentViewCore mContentViewCore; |
186 private WindowAndroid mWindowAndroid; | 186 private WindowAndroid mWindowAndroid; |
187 private WebContents mWebContents; | 187 private WebContents mWebContents; |
188 private NavigationController mNavigationController; | 188 private NavigationController mNavigationController; |
189 private final AwContentsClient mContentsClient; | 189 private final AwContentsClient mContentsClient; |
190 private final AwContentViewClient mContentViewClient; | 190 private final AwContentViewClient mContentViewClient; |
191 private WebContentsObserverAndroid mWebContentsObserver; | 191 private WebContentsObserver mWebContentsObserver; |
192 private final AwContentsClientBridge mContentsClientBridge; | 192 private final AwContentsClientBridge mContentsClientBridge; |
193 private final AwWebContentsDelegateAdapter mWebContentsDelegate; | 193 private final AwWebContentsDelegateAdapter mWebContentsDelegate; |
194 private final AwContentsIoThreadClient mIoThreadClient; | 194 private final AwContentsIoThreadClient mIoThreadClient; |
195 private final InterceptNavigationDelegateImpl mInterceptNavigationDelegate; | 195 private final InterceptNavigationDelegateImpl mInterceptNavigationDelegate; |
196 private InternalAccessDelegate mInternalAccessAdapter; | 196 private InternalAccessDelegate mInternalAccessAdapter; |
197 private final NativeGLDelegate mNativeGLDelegate; | 197 private final NativeGLDelegate mNativeGLDelegate; |
198 private final AwLayoutSizer mLayoutSizer; | 198 private final AwLayoutSizer mLayoutSizer; |
199 private final AwZoomControls mZoomControls; | 199 private final AwZoomControls mZoomControls; |
200 private final AwScrollOffsetManager mScrollOffsetManager; | 200 private final AwScrollOffsetManager mScrollOffsetManager; |
201 private OverScrollGlow mOverScrollGlow; | 201 private OverScrollGlow mOverScrollGlow; |
(...skipping 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2548 | 2548 |
2549 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean
networkUp); | 2549 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean
networkUp); |
2550 | 2550 |
2551 private native void nativeTrimMemory(long nativeAwContents, int level, boole
an visible); | 2551 private native void nativeTrimMemory(long nativeAwContents, int level, boole
an visible); |
2552 | 2552 |
2553 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo
rter awPdfExporter); | 2553 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo
rter awPdfExporter); |
2554 | 2554 |
2555 private native void nativePreauthorizePermission(long nativeAwContents, Stri
ng origin, | 2555 private native void nativePreauthorizePermission(long nativeAwContents, Stri
ng origin, |
2556 long resources); | 2556 long resources); |
2557 } | 2557 } |
OLD | NEW |