|
Enables fullscreen subtitle and media control from Blink
In detail, this patch does the following things:
- Move the Blink SurfaceView on top of ContentVideoView
- Enable necessary bits on the compositor to make background transparent,
and enables alpha blending.
- Introduce a new command-line flag to enable the new mode. The old-style
Java media control are moved to ContentVideoViewLegacy, which is enabled
by default.
To enable the blink-based media control, do the following:
adb shell
sudo echo chrome --enable-overlay-fullscreen-video-subtitle > /data/local/chrome-command-line
R=
BUG= 262945
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243743
Total comments: 7
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+403 lines, -232 lines) |
Patch |
 |
M |
content/browser/android/content_video_view.cc
|
View
|
1
2
3
|
3 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_render_view.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_render_view.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/android/browser_media_player_manager.cc
|
View
|
1
2
3
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java
|
View
|
1
2
|
17 chunks |
+43 lines, -228 lines |
0 comments
|
Download
|
 |
A |
content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java
|
View
|
1
2
|
1 chunk |
+268 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
View
|
1
2
|
4 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/android/compositor.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
View
|
1
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|