Changeset 201156 in webkit


Ignore:
Timestamp:
May 19, 2016, 2:36:03 AM (9 years ago)
Author:
bshafiei@apple.com
Message:

Merge r201016. rdar://problem/25584201

Location:
branches/safari-602.1.32-branch/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-602.1.32-branch/Source/WebKit2/ChangeLog

    r201154 r201156  
     12016-05-19  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Merge r201016. rdar://problem/25584201
     4
     5    2016-05-17  Jer Noble  <jer.noble@apple.com>
     6
     7            Unreviewed GTK+ and EFL bulid fix; make the audio playback user gesture requirement
     8            Cocoa-only.
     9
     10            * Shared/WebPreferencesDefinitions.h:
     11
    1122016-05-19  Babak Shafiei  <bshafiei@apple.com>
    213
  • branches/safari-602.1.32-branch/Source/WebKit2/Shared/WebPreferencesDefinitions.h

    r201154 r201156  
    5757#define DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED true
    5858#define DEFAULT_PDFPLUGIN_ENABLED true
     59#define DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK true
    5960#else
    6061#define DEFAULT_HIDDEN_PAGE_DOM_TIMER_THROTTLING_ENABLED false
    6162#define DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED false
    6263#define DEFAULT_PDFPLUGIN_ENABLED false
     64#define DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK false
    6365#endif
    6466
     
    151153    macro(RequiresUserGestureForMediaPlayback, requiresUserGestureForMediaPlayback, Bool, bool, false, "", "") \
    152154    macro(RequiresUserGestureForVideoPlayback, requiresUserGestureForVideoPlayback, Bool, bool, false, "", "") \
    153     macro(RequiresUserGestureForAudioPlayback, requiresUserGestureForAudioPlayback, Bool, bool, true, "", "") \
     155    macro(RequiresUserGestureForAudioPlayback, requiresUserGestureForAudioPlayback, Bool, bool, DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK, "", "") \
    154156    macro(MainContentUserGestureOverrideEnabled, mainContentUserGestureOverrideEnabled, Bool, bool, false, "", "") \
    155157    macro(AllowsInlineMediaPlayback, allowsInlineMediaPlayback, Bool, bool, DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK, "", "") \
Note: See TracChangeset for help on using the changeset viewer.