[Settings] Remove all custom code from Settings.h/cpp
[WebKit.git] / Source / WebCore / testing / InternalSettings.h
index 8b491b7..ab6412b 100644 (file)
@@ -101,8 +101,8 @@ public:
     ExceptionOr<void> setShouldManageAudioSessionCategory(bool);
     ExceptionOr<void> setCustomPasteboardDataEnabled(bool);
 
-    enum class FrameFlatteningValue { Disabled, EnabledForNonFullScreenIFrames, FullyEnabled };
-    ExceptionOr<void> setFrameFlattening(const FrameFlatteningValue&);
+    using FrameFlatteningValue = FrameFlattening;
+    ExceptionOr<void> setFrameFlattening(FrameFlatteningValue);
     
     static void setAllowsAnySSLCertificate(bool);