Title: [295639] trunk/Source/WTF
Revision
295639
Author
commit-qu...@webkit.org
Date
2022-06-17 10:42:19 -0700 (Fri, 17 Jun 2022)

Log 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 <youssefdevel...@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

Modified Paths

Diff

Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml (295638 => 295639)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml	2022-06-17 17:23:42 UTC (rev 295638)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml	2022-06-17 17:42:19 UTC (rev 295639)
@@ -54,6 +54,19 @@
     WebCore:
       default: true
 
+AlternateWebMPlayerEnabled:
+  type: bool
+  humanReadableName: "Alternate WebM Player"
+  humanReadableDescription: "Enable Alternate WebM Player"
+  condition: ENABLE(ALTERNATE_WEBM_PLAYER)
+  defaultValue:
+    WebKitLegacy:
+     default: false
+    WebKit:
+      default: false
+    WebCore:
+      default: false
+
 AlwaysZoomOnDoubleTap:
   type: bool
   humanReadableName: "DTTZ always"
@@ -976,16 +989,6 @@
     WebKit:
       default: false
 
-WebMExperimentEnabled:
-  type: bool
-  humanReadableName: "WebM Experiment"
-  humanReadableDescription: "Enable WebM Experiment"
-  webcoreBinding: RuntimeEnabledFeatures
-  condition: ENABLE(WEBM_EXPERIMENT)
-  defaultValue:
-    WebCore:
-      default: false
-
 WebRTCAudioLatencyAdaptationEnabled:
   type: bool
   humanReadableName: "WebRTC Audio Latency Adaptation"

Modified: trunk/Source/WTF/wtf/PlatformEnableCocoa.h (295638 => 295639)


--- trunk/Source/WTF/wtf/PlatformEnableCocoa.h	2022-06-17 17:23:42 UTC (rev 295638)
+++ trunk/Source/WTF/wtf/PlatformEnableCocoa.h	2022-06-17 17:42:19 UTC (rev 295639)
@@ -51,6 +51,10 @@
 #define ENABLE_AIRPLAY_PICKER 1
 #endif
 
+#if !defined(ENABLE_ALTERNATE_WEBM_PLAYER) && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(MACCATALYST))
+#define ENABLE_ALTERNATE_WEBM_PLAYER 1
+#endif
+
 #if !defined(ENABLE_ANIMATED_KEYBOARD_SCROLLING) && PLATFORM(IOS_FAMILY)
 #define ENABLE_ANIMATED_KEYBOARD_SCROLLING 1
 #endif
@@ -666,10 +670,6 @@
 #define ENABLE_WEBGL2 1
 #endif
 
-#if !defined(ENABLE_WEBM_EXPERIMENT) && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(MACCATALYST))
-#define ENABLE_WEBM_EXPERIMENT 1
-#endif
-
 #if !defined(ENABLE_WEBPROCESS_NSRUNLOOP) && PLATFORM(MAC)
 #define ENABLE_WEBPROCESS_NSRUNLOOP 1
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to