[Settings] Remove all custom code from Settings.h/cpp
[WebKit.git] / Source / WebCore / page / Settings.h
index 4b8099c..bec1a88 100644 (file)
@@ -27,6 +27,8 @@
 #pragma once
 
 #include "SettingsBase.h"
+#include "SettingsMacros.h"
+#include <wtf/RefCounted.h>
 
 namespace WebCore {
 
@@ -36,18 +38,12 @@ public:
     static Ref<Settings> create(Page*);
     ~Settings();
 
-    void pageDestroyed() { m_page = nullptr; }
-
     SETTINGS_GETTERS_AND_SETTERS
 
-
-    WEBCORE_EXPORT FrameFlattening effectiveFrameFlattening();
-
 private:
     explicit Settings(Page*);
 
     SETTINGS_MEMBER_VARIABLES
-
 };
 
 } // namespace WebCore