|
Media Session API: use MediaMetadata in the browser process.
This is adding a Java counterpart to the content::MediaMetadata added in Java
with a proxy to pass the object from C++ to Java.
The MediaMetadata information are only used to replace the title from the media
notification and set some Android metadata. Other UI changes will require UI
review.
BUG= 497735, 581728
Committed: https://crrev.com/2d1bfbd36ef0362b28661a09d25f63a7d06fa9f6
Cr-Commit-Position: refs/heads/master@{#381697}
Total comments: 30
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+312 lines, -81 lines) |
Patch |
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastSessionImpl.java
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationInfo.java
|
View
|
1
2
3
4
5
6
|
10 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java
|
View
|
1
2
3
4
5
6
|
4 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java
|
View
|
1
2
3
4
5
6
|
6 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/web_contents_observer_proxy.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/web_contents_observer_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/session/media_session.h
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/session/media_session_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
19 chunks |
+43 lines, -47 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/android/common_jni_registrar.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/android/media_metadata_android.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/android/media_metadata_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_jni.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/public/android/java/src/org/chromium/content_public/common/MediaMetadata.java
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 36 (16 generated)
|