| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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.WebContentsObserverAndroid; |
| 52 import org.chromium.content.common.CleanupReference; | 52 import org.chromium.content.common.CleanupReference; |
| 53 import org.chromium.content_public.Referrer; | |
| 54 import org.chromium.content_public.browser.GestureStateListener; | 53 import org.chromium.content_public.browser.GestureStateListener; |
| 55 import org.chromium.content_public.browser.JavaScriptCallback; | 54 import org.chromium.content_public.browser.JavaScriptCallback; |
| 56 import org.chromium.content_public.browser.LoadUrlParams; | 55 import org.chromium.content_public.browser.LoadUrlParams; |
| 57 import org.chromium.content_public.browser.NavigationController; | 56 import org.chromium.content_public.browser.NavigationController; |
| 58 import org.chromium.content_public.browser.NavigationHistory; | 57 import org.chromium.content_public.browser.NavigationHistory; |
| 59 import org.chromium.content_public.browser.PageTransitionTypes; | 58 import org.chromium.content_public.browser.PageTransitionTypes; |
| 60 import org.chromium.content_public.browser.WebContents; | 59 import org.chromium.content_public.browser.WebContents; |
| 60 import org.chromium.content_public.common.Referrer; |
| 61 import org.chromium.ui.base.ActivityWindowAndroid; | 61 import org.chromium.ui.base.ActivityWindowAndroid; |
| 62 import org.chromium.ui.base.WindowAndroid; | 62 import org.chromium.ui.base.WindowAndroid; |
| 63 import org.chromium.ui.gfx.DeviceDisplayInfo; | 63 import org.chromium.ui.gfx.DeviceDisplayInfo; |
| 64 | 64 |
| 65 import java.io.File; | 65 import java.io.File; |
| 66 import java.lang.annotation.Annotation; | 66 import java.lang.annotation.Annotation; |
| 67 import java.net.MalformedURLException; | 67 import java.net.MalformedURLException; |
| 68 import java.net.URL; | 68 import java.net.URL; |
| 69 import java.util.HashMap; | 69 import java.util.HashMap; |
| 70 import java.util.Locale; | 70 import java.util.Locale; |
| (...skipping 2452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2523 | 2523 |
| 2524 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean
networkUp); | 2524 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean
networkUp); |
| 2525 | 2525 |
| 2526 private native void nativeTrimMemory(long nativeAwContents, int level, boole
an visible); | 2526 private native void nativeTrimMemory(long nativeAwContents, int level, boole
an visible); |
| 2527 | 2527 |
| 2528 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo
rter awPdfExporter); | 2528 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo
rter awPdfExporter); |
| 2529 | 2529 |
| 2530 private native void nativePreauthorizePermission(long nativeAwContents, Stri
ng origin, | 2530 private native void nativePreauthorizePermission(long nativeAwContents, Stri
ng origin, |
| 2531 long resources); | 2531 long resources); |
| 2532 } | 2532 } |
| OLD | NEW |