| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.webcontents; | 5 package org.chromium.content.browser.webcontents; |
| 6 | 6 |
| 7 import android.annotation.SuppressLint; | 7 import android.annotation.SuppressLint; |
| 8 import android.graphics.Bitmap; | 8 import android.graphics.Bitmap; |
| 9 import android.graphics.Rect; | 9 import android.graphics.Rect; |
| 10 import android.os.Bundle; | 10 import android.os.Bundle; |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 public void setAudioMuted(boolean mute) { | 293 public void setAudioMuted(boolean mute) { |
| 294 nativeSetAudioMuted(mNativeWebContentsAndroid, mute); | 294 nativeSetAudioMuted(mNativeWebContentsAndroid, mute); |
| 295 } | 295 } |
| 296 | 296 |
| 297 @Override | 297 @Override |
| 298 public int getBackgroundColor() { | 298 public int getBackgroundColor() { |
| 299 return nativeGetBackgroundColor(mNativeWebContentsAndroid); | 299 return nativeGetBackgroundColor(mNativeWebContentsAndroid); |
| 300 } | 300 } |
| 301 | 301 |
| 302 @Override | 302 @Override |
| 303 public void showInterstitialPage( | 303 public void showInterstitialPage(String url, long interstitialPageDelegateAn
droid) { |
| 304 String url, long interstitialPageDelegateAndroid) { | |
| 305 nativeShowInterstitialPage(mNativeWebContentsAndroid, url, interstitialP
ageDelegateAndroid); | 304 nativeShowInterstitialPage(mNativeWebContentsAndroid, url, interstitialP
ageDelegateAndroid); |
| 306 } | 305 } |
| 307 | 306 |
| 308 @Override | 307 @Override |
| 309 public boolean isShowingInterstitialPage() { | 308 public boolean isShowingInterstitialPage() { |
| 310 return nativeIsShowingInterstitialPage(mNativeWebContentsAndroid); | 309 return nativeIsShowingInterstitialPage(mNativeWebContentsAndroid); |
| 311 } | 310 } |
| 312 | 311 |
| 313 @Override | 312 @Override |
| 314 public boolean focusLocationBarByDefault() { | 313 public boolean focusLocationBarByDefault() { |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 String url, boolean isFavicon, int maxBitmapSize, | 675 String url, boolean isFavicon, int maxBitmapSize, |
| 677 boolean bypassCache, ImageDownloadCallback callback); | 676 boolean bypassCache, ImageDownloadCallback callback); |
| 678 private native void nativeDismissTextHandles(long nativeWebContentsAndroid); | 677 private native void nativeDismissTextHandles(long nativeWebContentsAndroid); |
| 679 private native void nativeShowContextMenuAtTouchHandle( | 678 private native void nativeShowContextMenuAtTouchHandle( |
| 680 long nativeWebContentsAndroid, int x, int y); | 679 long nativeWebContentsAndroid, int x, int y); |
| 681 private native void nativeSetHasPersistentVideo(long nativeWebContentsAndroi
d, boolean value); | 680 private native void nativeSetHasPersistentVideo(long nativeWebContentsAndroi
d, boolean value); |
| 682 private native boolean nativeHasActiveEffectivelyFullscreenVideo(long native
WebContentsAndroid); | 681 private native boolean nativeHasActiveEffectivelyFullscreenVideo(long native
WebContentsAndroid); |
| 683 private native List<Rect> nativeGetCurrentlyPlayingVideoSizes(long nativeWeb
ContentsAndroid); | 682 private native List<Rect> nativeGetCurrentlyPlayingVideoSizes(long nativeWeb
ContentsAndroid); |
| 684 private native EventForwarder nativeGetOrCreateEventForwarder(long nativeWeb
ContentsAndroid); | 683 private native EventForwarder nativeGetOrCreateEventForwarder(long nativeWeb
ContentsAndroid); |
| 685 } | 684 } |
| OLD | NEW |