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

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

Issue 589113002: Rename java WebContentsObserverAndroid to WebContentsObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style issues fixed Created 6 years, 2 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/AwWebContentsObserver.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 30 matching lines...) Expand all
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698