Title: [201016] trunk/Source/WebKit2
Revision
201016
Author
[email protected]
Date
2016-05-17 09:40:46 -0700 (Tue, 17 May 2016)

Log Message

Unreviewed GTK+ and EFL bulid fix; make the audio playback user gesture requirement
Cocoa-only.


* Shared/WebPreferencesDefinitions.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (201015 => 201016)


--- trunk/Source/WebKit2/ChangeLog	2016-05-17 16:21:31 UTC (rev 201015)
+++ trunk/Source/WebKit2/ChangeLog	2016-05-17 16:40:46 UTC (rev 201016)
@@ -1,3 +1,10 @@
+2016-05-17  Jer Noble  <[email protected]>
+
+        Unreviewed GTK+ and EFL bulid fix; make the audio playback user gesture requirement
+        Cocoa-only.
+
+        * Shared/WebPreferencesDefinitions.h:
+
 2016-05-16  Anders Carlsson  <[email protected]>
 
         Add a WKA extension point for WKPreferences SPI

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (201015 => 201016)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-05-17 16:21:31 UTC (rev 201015)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-05-17 16:40:46 UTC (rev 201016)
@@ -56,10 +56,12 @@
 #define DEFAULT_HIDDEN_PAGE_DOM_TIMER_THROTTLING_ENABLED true
 #define DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED true
 #define DEFAULT_PDFPLUGIN_ENABLED true
+#define DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK true
 #else
 #define DEFAULT_HIDDEN_PAGE_DOM_TIMER_THROTTLING_ENABLED false
 #define DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED false
 #define DEFAULT_PDFPLUGIN_ENABLED false
+#define DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK false
 #endif
 
 #if PLATFORM(IOS)
@@ -150,7 +152,7 @@
     macro(AVFoundationNSURLSessionEnabled, isAVFoundationNSURLSessionEnabled, Bool, bool, true, "", "") \
     macro(RequiresUserGestureForMediaPlayback, requiresUserGestureForMediaPlayback, Bool, bool, false, "", "") \
     macro(RequiresUserGestureForVideoPlayback, requiresUserGestureForVideoPlayback, Bool, bool, false, "", "") \
-    macro(RequiresUserGestureForAudioPlayback, requiresUserGestureForAudioPlayback, Bool, bool, true, "", "") \
+    macro(RequiresUserGestureForAudioPlayback, requiresUserGestureForAudioPlayback, Bool, bool, DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK, "", "") \
     macro(MainContentUserGestureOverrideEnabled, mainContentUserGestureOverrideEnabled, Bool, bool, false, "", "") \
     macro(AllowsInlineMediaPlayback, allowsInlineMediaPlayback, Bool, bool, DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK, "", "") \
     macro(InlineMediaPlaybackRequiresPlaysInlineAttribute, inlineMediaPlaybackRequiresPlaysInlineAttribute, Bool, bool, DEFAULT_INLINE_MEDIA_PLAYBACK_REQUIRES_PLAYS_INLINE_ATTRIBUTE, "", "") \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to