|
Make RendererMediaPlayerManager a RenderFrameObserver.
Major change:
- Make BrowserMediaPlayerManager (BMPM) a per RenderFrame object.
- Introduce MediaWebContentsObserver (MWCO) which managers all BMPMs.
- MWCO forwards all IPCs to BMPM.
Other changes necessary to switch from RenderView to RenderFrame:
- Use MediaWebContentsObserver to send PauseVideo message to render.
- Use render frame routing ID to set surface peer.
VIDEO_HOLE related changes:
- Add DidCommitCompositorFrame() to RenderFrameObserver.
- Add OnFrameInfoUpdated() to MediaWebContentsObserver.
BUG= 338910
TEST=Tested with test pages and Youtube purchased movies.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273033
Total comments: 10
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+476 lines, -199 lines) |
Patch |
 |
M |
content/browser/android/child_process_launcher_android.cc
|
View
|
1
2
|
2 chunks |
+36 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_factory_impl.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/surface_texture_peer_browser_impl.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/surface_texture_peer_browser_impl.cc
|
View
|
1
2
|
3 chunks |
+38 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/android/browser_media_player_manager.h
|
View
|
1
2
|
9 chunks |
+27 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/android/browser_media_player_manager.cc
|
View
|
1
2
|
17 chunks |
+46 lines, -64 lines |
0 comments
|
Download
|
 |
A |
content/browser/media/android/media_web_contents_observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/media/android/media_web_contents_observer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+131 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.h
|
View
|
1
2
3
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_player_messages_android.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_frame_observer.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_factory.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/android/renderer_media_player_manager.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/android/renderer_media_player_manager.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/android/stream_texture_factory_impl.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/android/stream_texture_factory_impl.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/android/stream_texture_factory_synchronous_impl.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
|
4 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+23 lines, -3 lines |
1 comment
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
|
5 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.h
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 37 (0 generated)
|