Changeset 295639 in webkit


Ignore:
Timestamp:
Jun 17, 2022, 10:42:19 AM (3 years ago)
Author:
commit-queue@webkit.org
Message:

[Cocoa] Rename WebM Experiment to Alternate WebM Player
https://bugs.webkit.org/show_bug.cgi?id=241695
<rdar://problem/95322406>

Patch by Youssef Soliman <youssefdevelops@gmail.com> on 2022-06-17
Reviewed by Eric Carlson.

Renamed the WebM Experiment to a more legible name and fixed flag to
show up in internal debug menu.

  • Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml:
  • Source/WTF/wtf/PlatformEnableCocoa.h:

Canonical link: https://commits.webkit.org/251644@main

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml

    r295578 r295639  
    5555      default: true
    5656
     57AlternateWebMPlayerEnabled:
     58  type: bool
     59  humanReadableName: "Alternate WebM Player"
     60  humanReadableDescription: "Enable Alternate WebM Player"
     61  condition: ENABLE(ALTERNATE_WEBM_PLAYER)
     62  defaultValue:
     63    WebKitLegacy:
     64     default: false
     65    WebKit:
     66      default: false
     67    WebCore:
     68      default: false
     69
    5770AlwaysZoomOnDoubleTap:
    5871  type: bool
     
    977990      default: false
    978991
    979 WebMExperimentEnabled:
    980   type: bool
    981   humanReadableName: "WebM Experiment"
    982   humanReadableDescription: "Enable WebM Experiment"
    983   webcoreBinding: RuntimeEnabledFeatures
    984   condition: ENABLE(WEBM_EXPERIMENT)
    985   defaultValue:
    986     WebCore:
    987       default: false
    988 
    989992WebRTCAudioLatencyAdaptationEnabled:
    990993  type: bool
  • trunk/Source/WTF/wtf/PlatformEnableCocoa.h

    r295578 r295639  
    5252#endif
    5353
     54#if !defined(ENABLE_ALTERNATE_WEBM_PLAYER) && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(MACCATALYST))
     55#define ENABLE_ALTERNATE_WEBM_PLAYER 1
     56#endif
     57
    5458#if !defined(ENABLE_ANIMATED_KEYBOARD_SCROLLING) && PLATFORM(IOS_FAMILY)
    5559#define ENABLE_ANIMATED_KEYBOARD_SCROLLING 1
     
    667671#endif
    668672
    669 #if !defined(ENABLE_WEBM_EXPERIMENT) && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(MACCATALYST))
    670 #define ENABLE_WEBM_EXPERIMENT 1
    671 #endif
    672 
    673673#if !defined(ENABLE_WEBPROCESS_NSRUNLOOP) && PLATFORM(MAC)
    674674#define ENABLE_WEBPROCESS_NSRUNLOOP 1
Note: See TracChangeset for help on using the changeset viewer.