Pass information about the currently playing media element to MPNowPlayingInfoCenter.
Created attachment 226569 [details] Proposed patch.
Comment on attachment 226569 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=226569&action=review r=me > Source/WebCore/platform/audio/MediaSessionManager.cpp:157 > - > + Whew, I was worried I wouldn't have a nit! Ahem, unnecessary whitespace. > Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:42 > +#import <MediaPlayer/MPRemoteCommand.h> > +#import <MediaPlayer/MPRemoteCommandCenter.h> > +#import <MediaPlayer/MPRemoteCommandEvent.h> It looks like these are unused. (For now.) > Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:71 > +SOFT_LINK_CLASS(MediaPlayer, MPRemoteCommandCenter) Ditto.
Committed r165552: https://trac.webkit.org/r165552