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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 414423002: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch. Created 6 years, 4 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 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.content.browser; 5 package org.chromium.content.browser;
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.app.SearchManager; 9 import android.app.SearchManager;
10 import android.content.ClipboardManager; 10 import android.content.ClipboardManager;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 } 210 }
211 211
212 /** 212 /**
213 * An interface that allows the embedder to be notified when the results of 213 * An interface that allows the embedder to be notified when the results of
214 * extractSmartClipData are available. 214 * extractSmartClipData are available.
215 */ 215 */
216 public interface SmartClipDataListener { 216 public interface SmartClipDataListener {
217 public void onSmartClipDataExtracted(String text, String html, Rect clip Rect); 217 public void onSmartClipDataExtracted(String text, String html, Rect clip Rect);
218 } 218 }
219 219
220 /**
221 * An interface that allows the embedder to be notified of navigation transi tion
222 * related events and respond to them.
223 */
224 public interface NavigationTransitionDelegate {
225 /**
226 * Called when the navigation is deferred immediately after the response started.
227 *
228 * @param enteringColor The background color of the entering document, a s a String
229 * representing a legal CSS color value. This is in serted into
230 * the transition layer's markup after the entering stylesheets
231 * have been applied.
232 */
233 public void didDeferAfterResponseStarted(
234 String markup, String cssSelector, String enteringColor);
235
236 /**
237 * Called when a navigation transition has been detected, and we need to check
238 * if it's supported.
239 */
240 public boolean willHandleDeferAfterResponseStarted();
241
242 /**
243 * Called when the navigation is deferred immediately after the response
244 * started.
245 */
246 public void addEnteringStylesheetToTransition(String stylesheet);
247
248 /**
249 * Notifies that a navigation transition is started for a given frame.
250 * @param frameId A positive, non-zero integer identifying the navigatin g frame.
251 */
252 public void didStartNavigationTransitionForFrame(long frameId);
253 }
254
255 private final Context mContext; 220 private final Context mContext;
256 private ViewGroup mContainerView; 221 private ViewGroup mContainerView;
257 private InternalAccessDelegate mContainerViewInternals; 222 private InternalAccessDelegate mContainerViewInternals;
258 private WebContents mWebContents; 223 private WebContents mWebContents;
259 private WebContentsObserverAndroid mWebContentsObserver; 224 private WebContentsObserverAndroid mWebContentsObserver;
260 225
261 private ContentViewClient mContentViewClient; 226 private ContentViewClient mContentViewClient;
262 227
263 private ContentSettings mContentSettings; 228 private ContentSettings mContentSettings;
264 229
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 private boolean mTouchScrollInProgress; 313 private boolean mTouchScrollInProgress;
349 314
350 // The outstanding fling start events that hasn't got fling end yet. It may be > 1 because 315 // The outstanding fling start events that hasn't got fling end yet. It may be > 1 because
351 // onNativeFlingStopped() is called asynchronously. 316 // onNativeFlingStopped() is called asynchronously.
352 private int mPotentiallyActiveFlingCount; 317 private int mPotentiallyActiveFlingCount;
353 318
354 private ViewAndroid mViewAndroid; 319 private ViewAndroid mViewAndroid;
355 320
356 private SmartClipDataListener mSmartClipDataListener = null; 321 private SmartClipDataListener mSmartClipDataListener = null;
357 322
358 private NavigationTransitionDelegate mNavigationTransitionDelegate = null;
359
360 // This holds the state of editable text (e.g. contents of <input>, contente ditable) of 323 // This holds the state of editable text (e.g. contents of <input>, contente ditable) of
361 // a focused element. 324 // a focused element.
362 // Every time the user, IME, javascript (Blink), autofill etc. modifies the content, the new 325 // Every time the user, IME, javascript (Blink), autofill etc. modifies the content, the new
363 // state must be reflected to this to keep consistency. 326 // state must be reflected to this to keep consistency.
364 private final Editable mEditable; 327 private final Editable mEditable;
365 328
366 /** 329 /**
367 * PID used to indicate an invalid render process. 330 * PID used to indicate an invalid render process.
368 */ 331 */
369 // Keep in sync with the value returned from ContentViewCoreImpl::GetCurrent RendererProcessId() 332 // Keep in sync with the value returned from ContentViewCoreImpl::GetCurrent RendererProcessId()
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 params.mBaseUrlForDataUrl, 854 params.mBaseUrlForDataUrl,
892 params.mVirtualUrlForDataUrl, 855 params.mVirtualUrlForDataUrl,
893 params.mCanLoadLocalResources, 856 params.mCanLoadLocalResources,
894 params.mIsRendererInitiated); 857 params.mIsRendererInitiated);
895 } 858 }
896 859
897 /** 860 /**
898 * Stops loading the current web contents. 861 * Stops loading the current web contents.
899 */ 862 */
900 public void stopLoading() { 863 public void stopLoading() {
901 if (mWebContents != null) mWebContents.stop(); 864 assert mWebContents != null;
865 mWebContents.stop();
902 } 866 }
903 867
904 /** 868 /**
905 * Get the URL of the current page. 869 * Get the URL of the current page.
906 * 870 *
907 * @return The URL of the current page. 871 * @return The URL of the current page.
908 */ 872 */
909 public String getUrl() { 873 public String getUrl() {
910 if (mNativeContentViewCore != 0) return nativeGetURL(mNativeContentViewC ore); 874 assert mWebContents != null;
911 return null; 875 return mWebContents.getUrl();
912 } 876 }
913 877
914 /** 878 /**
915 * Get the title of the current page. 879 * Get the title of the current page.
916 * 880 *
917 * @return The title of the current page. 881 * @return The title of the current page.
918 */ 882 */
919 public String getTitle() { 883 public String getTitle() {
920 return mWebContents == null ? null : mWebContents.getTitle(); 884 assert mWebContents != null;
885 return mWebContents.getTitle();
921 } 886 }
922 887
923 /** 888 /**
924 * Shows an interstitial page driven by the passed in delegate. 889 * Shows an interstitial page driven by the passed in delegate.
925 * 890 *
926 * @param url The URL being blocked by the interstitial. 891 * @param url The URL being blocked by the interstitial.
927 * @param delegate The delegate handling the interstitial. 892 * @param delegate The delegate handling the interstitial.
928 */ 893 */
929 @VisibleForTesting 894 @VisibleForTesting
930 public void showInterstitialPage( 895 public void showInterstitialPage(
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 default: 1325 default:
1361 break; 1326 break;
1362 } 1327 }
1363 } 1328 }
1364 } 1329 }
1365 1330
1366 /** 1331 /**
1367 * Inserts the provided markup sandboxed into the frame. 1332 * Inserts the provided markup sandboxed into the frame.
1368 */ 1333 */
1369 public void setupTransitionView(String markup) { 1334 public void setupTransitionView(String markup) {
1370 if (mNativeContentViewCore == 0) return; 1335 assert mWebContents != null;
1371 nativeSetupTransitionView(mNativeContentViewCore, markup); 1336 mWebContents.setupTransitionView(markup);
1372 } 1337 }
1373 1338
1374 /** 1339 /**
1375 * Hides transition elements specified by the selector, and activates any 1340 * Hides transition elements specified by the selector, and activates any
1376 * exiting-transition stylesheets. 1341 * exiting-transition stylesheets.
1377 */ 1342 */
1378 public void beginExitTransition(String cssSelector) { 1343 public void beginExitTransition(String cssSelector) {
1379 if (mNativeContentViewCore == 0) return; 1344 assert mWebContents != null;
1380 nativeBeginExitTransition(mNativeContentViewCore, cssSelector); 1345 mWebContents.beginExitTransition(cssSelector);
1381 } 1346 }
1382 1347
1383 /** 1348 /**
1384 * Requests the renderer insert a link to the specified stylesheet in the 1349 * Requests the renderer insert a link to the specified stylesheet in the
1385 * main frame's document. 1350 * main frame's document.
1386 */ 1351 */
1387 public void addStyleSheetByURL(String url) { 1352 public void addStyleSheetByURL(String url) {
1388 assert mWebContents != null; 1353 assert mWebContents != null;
1389 mWebContents.addStyleSheetByURL(url); 1354 mWebContents.addStyleSheetByURL(url);
1390 } 1355 }
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
2105 if (getContentViewClient().doesPerformWebSearch()) return true; 2070 if (getContentViewClient().doesPerformWebSearch()) return true;
2106 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); 2071 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);
2107 intent.putExtra(SearchManager.EXTRA_NEW_SEARCH, true); 2072 intent.putExtra(SearchManager.EXTRA_NEW_SEARCH, true);
2108 return getContext().getPackageManager().queryIntentActivities(in tent, 2073 return getContext().getPackageManager().queryIntentActivities(in tent,
2109 PackageManager.MATCH_DEFAULT_ONLY).size() > 0; 2074 PackageManager.MATCH_DEFAULT_ONLY).size() > 0;
2110 } 2075 }
2111 }; 2076 };
2112 mActionMode = null; 2077 mActionMode = null;
2113 // On ICS, startActionMode throws an NPE when getParent() is null. 2078 // On ICS, startActionMode throws an NPE when getParent() is null.
2114 if (mContainerView.getParent() != null) { 2079 if (mContainerView.getParent() != null) {
2080 assert mWebContents != null;
2115 mActionMode = mContainerView.startActionMode( 2081 mActionMode = mContainerView.startActionMode(
2116 getContentViewClient().getSelectActionModeCallback(getContex t(), actionHandler, 2082 getContentViewClient().getSelectActionModeCallback(getContex t(), actionHandler,
2117 nativeIsIncognito(mNativeContentViewCore))); 2083 mWebContents.isIncognito()));
2118 } 2084 }
2119 mUnselectAllOnActionModeDismiss = true; 2085 mUnselectAllOnActionModeDismiss = true;
2120 if (mActionMode == null) { 2086 if (mActionMode == null) {
2121 // There is no ActionMode, so remove the selection. 2087 // There is no ActionMode, so remove the selection.
2122 mImeAdapter.unselect(); 2088 mImeAdapter.unselect();
2123 } else { 2089 } else {
2124 getContentViewClient().onContextualActionBarShown(); 2090 getContentViewClient().onContextualActionBarShown();
2125 } 2091 }
2126 } 2092 }
2127 2093
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
3023 public void setSmartClipDataListener(SmartClipDataListener listener) { 2989 public void setSmartClipDataListener(SmartClipDataListener listener) {
3024 mSmartClipDataListener = listener; 2990 mSmartClipDataListener = listener;
3025 } 2991 }
3026 2992
3027 public void setBackgroundOpaque(boolean opaque) { 2993 public void setBackgroundOpaque(boolean opaque) {
3028 if (mNativeContentViewCore != 0) { 2994 if (mNativeContentViewCore != 0) {
3029 nativeSetBackgroundOpaque(mNativeContentViewCore, opaque); 2995 nativeSetBackgroundOpaque(mNativeContentViewCore, opaque);
3030 } 2996 }
3031 } 2997 }
3032 2998
3033 @CalledByNative
3034 private void didDeferAfterResponseStarted(String markup, String cssSelector,
3035 String enteringColor) {
3036 if (mNavigationTransitionDelegate != null ) {
3037 mNavigationTransitionDelegate.didDeferAfterResponseStarted(markup,
3038 cssSelector, enteringColor);
3039 }
3040 }
3041
3042 @CalledByNative
3043 public void didStartNavigationTransitionForFrame(long frameId) {
3044 if (mNavigationTransitionDelegate != null ) {
3045 mNavigationTransitionDelegate.didStartNavigationTransitionForFrame(f rameId);
3046 }
3047 }
3048
3049 @CalledByNative
3050 private boolean willHandleDeferAfterResponseStarted() {
3051 if (mNavigationTransitionDelegate == null) return false;
3052 return mNavigationTransitionDelegate.willHandleDeferAfterResponseStarted ();
3053 }
3054
3055 @VisibleForTesting 2999 @VisibleForTesting
3056 void setHasPendingNavigationTransitionForTesting() { 3000 void setHasPendingNavigationTransitionForTesting() {
Yaron 2014/08/12 17:37:04 Nit: please remove this accessor and update the te
AKVT 2014/08/13 07:11:16 Done. Thanks.
3057 if (mNativeContentViewCore == 0) return; 3001 assert mWebContents != null;
3058 nativeSetHasPendingNavigationTransitionForTesting(mNativeContentViewCore ); 3002 mWebContents.setHasPendingNavigationTransitionForTesting();
3059 }
3060
3061 public void setNavigationTransitionDelegate(NavigationTransitionDelegate del egate) {
3062 mNavigationTransitionDelegate = delegate;
3063 }
3064
3065 @CalledByNative
3066 private void addEnteringStylesheetToTransition(String stylesheet) {
3067 if (mNavigationTransitionDelegate != null ) {
3068 mNavigationTransitionDelegate.addEnteringStylesheetToTransition(styl esheet);
3069 }
3070 } 3003 }
3071 3004
3072 /** 3005 /**
3073 * Offer a long press gesture to the embedding View, primarily for WebView c ompatibility. 3006 * Offer a long press gesture to the embedding View, primarily for WebView c ompatibility.
3074 * 3007 *
3075 * @return true if the embedder handled the event. 3008 * @return true if the embedder handled the event.
3076 */ 3009 */
3077 private boolean offerLongPressToEmbedder() { 3010 private boolean offerLongPressToEmbedder() {
3078 return mContainerView.performLongClick(); 3011 return mContainerView.performLongClick();
3079 } 3012 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
3117 mPotentiallyActiveFlingCount--; 3050 mPotentiallyActiveFlingCount--;
3118 updateGestureStateListener(GestureEventType.FLING_END); 3051 updateGestureStateListener(GestureEventType.FLING_END);
3119 } 3052 }
3120 3053
3121 @Override 3054 @Override
3122 public void onScreenOrientationChanged(int orientation) { 3055 public void onScreenOrientationChanged(int orientation) {
3123 sendOrientationChangeEvent(orientation); 3056 sendOrientationChangeEvent(orientation);
3124 } 3057 }
3125 3058
3126 public void resumeResponseDeferredAtStart() { 3059 public void resumeResponseDeferredAtStart() {
3127 if (mNativeContentViewCore == 0) return; 3060 assert mWebContents != null;
3128 nativeResumeResponseDeferredAtStart(mNativeContentViewCore); 3061 mWebContents.resumeResponseDeferredAtStart();
3129 } 3062 }
3130 3063
3131 /** 3064 /**
3132 * Set whether the ContentViewCore requires the WebContents to be fullscreen in order to lock 3065 * Set whether the ContentViewCore requires the WebContents to be fullscreen in order to lock
3133 * the screen orientation. 3066 * the screen orientation.
3134 */ 3067 */
3135 public void setFullscreenRequiredForOrientationLock(boolean value) { 3068 public void setFullscreenRequiredForOrientationLock(boolean value) {
3136 mFullscreenRequiredForOrientationLock = value; 3069 mFullscreenRequiredForOrientationLock = value;
3137 } 3070 }
3138 3071
(...skipping 14 matching lines...) Expand all
3153 String referrerUrl, 3086 String referrerUrl,
3154 int referrerPolicy, 3087 int referrerPolicy,
3155 int uaOverrideOption, 3088 int uaOverrideOption,
3156 String extraHeaders, 3089 String extraHeaders,
3157 byte[] postData, 3090 byte[] postData,
3158 String baseUrlForDataUrl, 3091 String baseUrlForDataUrl,
3159 String virtualUrlForDataUrl, 3092 String virtualUrlForDataUrl,
3160 boolean canLoadLocalResources, 3093 boolean canLoadLocalResources,
3161 boolean isRendererInitiated); 3094 boolean isRendererInitiated);
3162 3095
3163 private native String nativeGetURL(long nativeContentViewCoreImpl);
3164
3165 private native boolean nativeIsIncognito(long nativeContentViewCoreImpl);
3166
3167 private native void nativeSetFocus(long nativeContentViewCoreImpl, boolean f ocused); 3096 private native void nativeSetFocus(long nativeContentViewCoreImpl, boolean f ocused);
3168 3097
3169 private native void nativeSendOrientationChangeEvent( 3098 private native void nativeSendOrientationChangeEvent(
3170 long nativeContentViewCoreImpl, int orientation); 3099 long nativeContentViewCoreImpl, int orientation);
3171 3100
3172 // All touch events (including flings, scrolls etc) accept coordinates in ph ysical pixels. 3101 // All touch events (including flings, scrolls etc) accept coordinates in ph ysical pixels.
3173 private native boolean nativeOnTouchEvent( 3102 private native boolean nativeOnTouchEvent(
3174 long nativeContentViewCoreImpl, MotionEvent event, 3103 long nativeContentViewCoreImpl, MotionEvent event,
3175 long timeMs, int action, int pointerCount, int historySize, int acti onIndex, 3104 long timeMs, int action, int pointerCount, int historySize, int acti onIndex,
3176 float x0, float y0, float x1, float y1, 3105 float x0, float y0, float x1, float y1,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
3219 float anchorX, float anchorY, float deltaScale); 3148 float anchorX, float anchorY, float deltaScale);
3220 3149
3221 private native void nativeSelectBetweenCoordinates( 3150 private native void nativeSelectBetweenCoordinates(
3222 long nativeContentViewCoreImpl, float x1, float y1, float x2, float y2); 3151 long nativeContentViewCoreImpl, float x1, float y1, float x2, float y2);
3223 3152
3224 private native void nativeMoveCaret(long nativeContentViewCoreImpl, float x, float y); 3153 private native void nativeMoveCaret(long nativeContentViewCoreImpl, float x, float y);
3225 3154
3226 private native void nativeHideTextHandles(long nativeContentViewCoreImpl); 3155 private native void nativeHideTextHandles(long nativeContentViewCoreImpl);
3227 3156
3228 private native void nativeResetGestureDetection(long nativeContentViewCoreIm pl); 3157 private native void nativeResetGestureDetection(long nativeContentViewCoreIm pl);
3158
3229 private native void nativeSetDoubleTapSupportEnabled( 3159 private native void nativeSetDoubleTapSupportEnabled(
3230 long nativeContentViewCoreImpl, boolean enabled); 3160 long nativeContentViewCoreImpl, boolean enabled);
3161
3231 private native void nativeSetMultiTouchZoomSupportEnabled( 3162 private native void nativeSetMultiTouchZoomSupportEnabled(
3232 long nativeContentViewCoreImpl, boolean enabled); 3163 long nativeContentViewCoreImpl, boolean enabled);
3233 3164
3234 private native void nativeSelectPopupMenuItems(long nativeContentViewCoreImp l, int[] indices); 3165 private native void nativeSelectPopupMenuItems(long nativeContentViewCoreImp l, int[] indices);
3235 3166
3236 private native void nativeClearHistory(long nativeContentViewCoreImpl); 3167 private native void nativeClearHistory(long nativeContentViewCoreImpl);
3237 3168
3238 private native void nativeEvaluateJavaScript(long nativeContentViewCoreImpl, 3169 private native void nativeEvaluateJavaScript(long nativeContentViewCoreImpl,
3239 String script, JavaScriptCallback callback, boolean startRenderer); 3170 String script, JavaScriptCallback callback, boolean startRenderer);
3240 3171
3241 private native void nativePostMessageToFrame(long nativeContentViewCoreImpl, String frameId, 3172 private native void nativePostMessageToFrame(long nativeContentViewCoreImpl, String frameId,
3242 String message, String sourceOrigin, String targetOrigin); 3173 String message, String sourceOrigin, String targetOrigin);
3243 3174
3244 private native long nativeGetNativeImeAdapter(long nativeContentViewCoreImpl ); 3175 private native long nativeGetNativeImeAdapter(long nativeContentViewCoreImpl );
3245 3176
3246 private native int nativeGetCurrentRenderProcessId(long nativeContentViewCor eImpl); 3177 private native int nativeGetCurrentRenderProcessId(long nativeContentViewCor eImpl);
3247 3178
3248 private native void nativeSetUseDesktopUserAgent(long nativeContentViewCoreI mpl, 3179 private native void nativeSetUseDesktopUserAgent(long nativeContentViewCoreI mpl,
3249 boolean enabled, boolean reloadOnChange); 3180 boolean enabled, boolean reloadOnChange);
3181
3250 private native boolean nativeGetUseDesktopUserAgent(long nativeContentViewCo reImpl); 3182 private native boolean nativeGetUseDesktopUserAgent(long nativeContentViewCo reImpl);
3251 3183
3252 private native void nativeClearSslPreferences(long nativeContentViewCoreImpl ); 3184 private native void nativeClearSslPreferences(long nativeContentViewCoreImpl );
3253 3185
3254 private native void nativeSetAllowJavascriptInterfacesInspection( 3186 private native void nativeSetAllowJavascriptInterfacesInspection(
3255 long nativeContentViewCoreImpl, boolean allow); 3187 long nativeContentViewCoreImpl, boolean allow);
3256 3188
3257 private native void nativeAddJavascriptInterface(long nativeContentViewCoreI mpl, Object object, 3189 private native void nativeAddJavascriptInterface(long nativeContentViewCoreI mpl, Object object,
3258 String name, Class requiredAnnotation); 3190 String name, Class requiredAnnotation);
3259 3191
3260 private native void nativeRemoveJavascriptInterface(long nativeContentViewCo reImpl, 3192 private native void nativeRemoveJavascriptInterface(long nativeContentViewCo reImpl,
3261 String name); 3193 String name);
3262 3194
3263 private native int nativeGetNavigationHistory(long nativeContentViewCoreImpl , Object context); 3195 private native int nativeGetNavigationHistory(long nativeContentViewCoreImpl , Object context);
3196
3264 private native void nativeGetDirectedNavigationHistory(long nativeContentVie wCoreImpl, 3197 private native void nativeGetDirectedNavigationHistory(long nativeContentVie wCoreImpl,
3265 Object context, boolean isForward, int maxEntries); 3198 Object context, boolean isForward, int maxEntries);
3199
3266 private native String nativeGetOriginalUrlForActiveNavigationEntry( 3200 private native String nativeGetOriginalUrlForActiveNavigationEntry(
3267 long nativeContentViewCoreImpl); 3201 long nativeContentViewCoreImpl);
3268 3202
3269 private native void nativeWasResized(long nativeContentViewCoreImpl); 3203 private native void nativeWasResized(long nativeContentViewCoreImpl);
3270 3204
3271 private native void nativeSetAccessibilityEnabled( 3205 private native void nativeSetAccessibilityEnabled(
3272 long nativeContentViewCoreImpl, boolean enabled); 3206 long nativeContentViewCoreImpl, boolean enabled);
3273 3207
3274 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l, 3208 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l,
3275 int x, int y, int w, int h); 3209 int x, int y, int w, int h);
3210
3276 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque); 3211 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque);
3277 private native void nativeSetupTransitionView(long nativeContentViewCoreImpl , String markup);
3278 private native void nativeBeginExitTransition(long nativeContentViewCoreImpl ,
3279 String cssSelector);
3280
3281 private native void nativeResumeResponseDeferredAtStart(
3282 long nativeContentViewCoreImpl);
3283 private native void nativeSetHasPendingNavigationTransitionForTesting(
3284 long nativeContentViewCoreImpl);
3285 } 3212 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698