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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 368273008: [WebView] Fix issue with transparent background. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index a1bf1de6b6e5bcb7b091953acf5d4ea54f436c85..61c392c7fa4f3fdf90cebfb068be3d668f5131b0 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -651,9 +651,6 @@ public class AwContents {
setInternalAccessAdapter(fullScreenView.getInternalAccessAdapter());
setContainerView(fullScreenView);
- // Make the background transparent so that the ContentVideoView is visible
- // behind the FullScreenView.
- nativeSetHasTransparentBackground(mNativeAwContents, true);
return fullScreenView;
}
@@ -685,7 +682,6 @@ public class AwContents {
setInternalAccessAdapter(mFullScreenTransitionsState.getInitialInternalAccessDelegate());
setContainerView(initialContainerView);
- nativeSetHasTransparentBackground(mNativeAwContents, false);
mFullScreenTransitionsState.exitFullScreen();
}
@@ -2449,8 +2445,6 @@ public class AwContents {
private native long nativeReleasePopupAwContents(long nativeAwContents);
private native void nativeFocusFirstNode(long nativeAwContents);
private native void nativeSetBackgroundColor(long nativeAwContents, int color);
- private native void nativeSetHasTransparentBackground(
- long nativeAwContents, boolean transparent);
private native long nativeGetAwDrawGLViewContext(long nativeAwContents);
private native long nativeCapturePicture(long nativeAwContents, int width, int height);
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698