Delete WebMetal implementation in favor of WebGPU
[WebKit-https.git] / Source / WebCore / testing / InternalSettings.h
index ab6412b..f96f8c6 100644 (file)
@@ -72,6 +72,7 @@ public:
     ExceptionOr<void> setPDFImageCachingPolicy(const String&);
     ExceptionOr<void> setShouldDisplayTrackKind(const String& kind, bool enabled);
     ExceptionOr<bool> shouldDisplayTrackKind(const String& kind);
+    ExceptionOr<void> setUseDarkAppearance(bool);
     ExceptionOr<void> setStorageBlockingPolicy(const String&);
     ExceptionOr<void> setImagesEnabled(bool);
     ExceptionOr<void> setMinimumTimerInterval(double intervalInSeconds);
@@ -100,6 +101,8 @@ public:
     ExceptionOr<void> setShouldMockBoldSystemFontForAccessibility(bool);
     ExceptionOr<void> setShouldManageAudioSessionCategory(bool);
     ExceptionOr<void> setCustomPasteboardDataEnabled(bool);
+    ExceptionOr<void> setAccessibilityEventsEnabled(bool);
+    ExceptionOr<void> setIncompleteImageBorderEnabled(bool);
 
     using FrameFlatteningValue = FrameFlattening;
     ExceptionOr<void> setFrameFlattening(FrameFlatteningValue);
@@ -119,10 +122,11 @@ public:
 
     // RuntimeEnabledFeatures.
     static void setIndexedDBWorkersEnabled(bool);
-    static void setCSSGridLayoutEnabled(bool);
     static void setWebGL2Enabled(bool);
-    static void setWebGPUEnabled(bool);
     static void setWebVREnabled(bool);
+    static void setScreenCaptureEnabled(bool);
+
+    static bool webAnimationsCSSIntegrationEnabled();
 
 private:
     explicit InternalSettings(Page*);
@@ -187,7 +191,10 @@ private:
         bool m_inlineMediaPlaybackRequiresPlaysInlineAttribute;
         bool m_deferredCSSParserEnabled;
         bool m_inputEventsEnabled;
-
+        bool m_incompleteImageBorderEnabled;
+#if ENABLE(ACCESSIBILITY_EVENTS)
+        bool m_accessibilityEventsEnabled;
+#endif
         UserInterfaceDirectionPolicy m_userInterfaceDirectionPolicy;
         TextDirection m_systemLayoutDirection;
         PDFImageCachingPolicy m_pdfImageCachingPolicy;
@@ -199,10 +206,9 @@ private:
 
         // Runtime enabled settings.
         bool m_indexedDBWorkersEnabled;
-        bool m_cssGridLayoutEnabled;
         bool m_webGL2Enabled;
-        bool m_webGPUEnabled;
         bool m_webVREnabled;
+        bool m_setScreenCaptureEnabled;
         
         bool m_shouldMockBoldSystemFontForAccessibility;
 #if USE(AUDIO_SESSION)