Title: [206322] trunk/Source/WebCore
Revision
206322
Author
[email protected]
Date
2016-09-23 12:40:53 -0700 (Fri, 23 Sep 2016)

Log Message

Allow Seeking from the now playing controls
https://bugs.webkit.org/show_bug.cgi?id=162498

Reviewed by Beth Dakin.

We already have a handler for seek commands, we just need to register that handler
with MediaRemote.

* platform/mac/RemoteCommandListenerMac.mm:
(WebCore::RemoteCommandListenerMac::updateSupportedCommands):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (206321 => 206322)


--- trunk/Source/WebCore/ChangeLog	2016-09-23 19:33:54 UTC (rev 206321)
+++ trunk/Source/WebCore/ChangeLog	2016-09-23 19:40:53 UTC (rev 206322)
@@ -1,3 +1,16 @@
+2016-09-23  Jer Noble  <[email protected]>
+
+        Allow Seeking from the now playing controls
+        https://bugs.webkit.org/show_bug.cgi?id=162498
+
+        Reviewed by Beth Dakin.
+
+        We already have a handler for seek commands, we just need to register that handler
+        with MediaRemote.
+
+        * platform/mac/RemoteCommandListenerMac.mm:
+        (WebCore::RemoteCommandListenerMac::updateSupportedCommands):
+
 2016-09-23  Wenson Hsieh  <[email protected]>
 
         MediaSessionManagerMac::nowPlayingEligibleSession() needs to honor the main content heuristic

Modified: trunk/Source/WebCore/platform/mac/RemoteCommandListenerMac.mm (206321 => 206322)


--- trunk/Source/WebCore/platform/mac/RemoteCommandListenerMac.mm	2016-09-23 19:33:54 UTC (rev 206321)
+++ trunk/Source/WebCore/platform/mac/RemoteCommandListenerMac.mm	2016-09-23 19:40:53 UTC (rev 206322)
@@ -54,6 +54,7 @@
         MRMediaRemoteCommandEndFastForward,
         MRMediaRemoteCommandBeginRewind,
         MRMediaRemoteCommandEndRewind,
+        MRMediaRemoteCommandSeekToPlaybackPosition,
     };
 
     auto commandInfoArray = adoptCF(CFArrayCreateMutable(kCFAllocatorDefault, sizeof(supportedCommands) / sizeof(MRMediaRemoteCommand), &kCFTypeArrayCallBacks));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to