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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 565743002: Remove most usages of guava. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 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
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 import android.view.ViewGroup; 30 import android.view.ViewGroup;
31 import android.view.accessibility.AccessibilityEvent; 31 import android.view.accessibility.AccessibilityEvent;
32 import android.view.accessibility.AccessibilityNodeInfo; 32 import android.view.accessibility.AccessibilityNodeInfo;
33 import android.view.accessibility.AccessibilityNodeProvider; 33 import android.view.accessibility.AccessibilityNodeProvider;
34 import android.view.inputmethod.EditorInfo; 34 import android.view.inputmethod.EditorInfo;
35 import android.view.inputmethod.InputConnection; 35 import android.view.inputmethod.InputConnection;
36 import android.webkit.GeolocationPermissions; 36 import android.webkit.GeolocationPermissions;
37 import android.webkit.ValueCallback; 37 import android.webkit.ValueCallback;
38 import android.widget.OverScroller; 38 import android.widget.OverScroller;
39 39
40 import com.google.common.annotations.VisibleForTesting;
41
42 import org.chromium.android_webview.permission.AwPermissionRequest; 40 import org.chromium.android_webview.permission.AwPermissionRequest;
43 import org.chromium.base.CalledByNative; 41 import org.chromium.base.CalledByNative;
44 import org.chromium.base.JNINamespace; 42 import org.chromium.base.JNINamespace;
45 import org.chromium.base.ThreadUtils; 43 import org.chromium.base.ThreadUtils;
44 import org.chromium.base.VisibleForTesting;
46 import org.chromium.components.navigation_interception.InterceptNavigationDelega te; 45 import org.chromium.components.navigation_interception.InterceptNavigationDelega te;
47 import org.chromium.components.navigation_interception.NavigationParams; 46 import org.chromium.components.navigation_interception.NavigationParams;
48 import org.chromium.content.browser.ContentSettings; 47 import org.chromium.content.browser.ContentSettings;
49 import org.chromium.content.browser.ContentViewClient; 48 import org.chromium.content.browser.ContentViewClient;
50 import org.chromium.content.browser.ContentViewCore; 49 import org.chromium.content.browser.ContentViewCore;
51 import org.chromium.content.browser.ContentViewStatics; 50 import org.chromium.content.browser.ContentViewStatics;
52 import org.chromium.content.browser.WebContentsObserverAndroid; 51 import org.chromium.content.browser.WebContentsObserverAndroid;
53 import org.chromium.content.common.CleanupReference; 52 import org.chromium.content.common.CleanupReference;
54 import org.chromium.content_public.Referrer; 53 import org.chromium.content_public.Referrer;
55 import org.chromium.content_public.browser.GestureStateListener; 54 import org.chromium.content_public.browser.GestureStateListener;
(...skipping 2453 matching lines...) Expand 10 before | Expand all | Expand 10 after
2509 2508
2510 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean networkUp); 2509 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean networkUp);
2511 2510
2512 private native void nativeTrimMemory(long nativeAwContents, int level, boole an visible); 2511 private native void nativeTrimMemory(long nativeAwContents, int level, boole an visible);
2513 2512
2514 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo rter awPdfExporter); 2513 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo rter awPdfExporter);
2515 2514
2516 private native void nativePreauthorizePermission(long nativeAwContents, Stri ng origin, 2515 private native void nativePreauthorizePermission(long nativeAwContents, Stri ng origin,
2517 long resources); 2516 long resources);
2518 } 2517 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698