Add WebKitAdditions extension points around preferences
authoradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Apr 2016 20:21:39 +0000 (20:21 +0000)
committeradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Apr 2016 20:21:39 +0000 (20:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=156303

Reviewed by Beth Dakin.

* Shared/WebPreferencesStore.cpp:
(WebKit::defaults):
* UIProcess/API/C/WKPreferences.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199175 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebPreferencesStore.cpp
Source/WebKit2/UIProcess/API/C/WKPreferences.cpp

index 008c016..5c27a9d 100644 (file)
@@ -1,3 +1,14 @@
+2016-04-06  Ada Chan  <adachan@apple.com>
+
+        Add WebKitAdditions extension points around preferences
+        https://bugs.webkit.org/show_bug.cgi?id=156303
+
+        Reviewed by Beth Dakin.
+
+        * Shared/WebPreferencesStore.cpp:
+        (WebKit::defaults):
+        * UIProcess/API/C/WKPreferences.cpp:
+
 2016-04-07  Brian Burg  <bburg@apple.com>
 
         CookieJar should support adding synthetic cookies for developer tools
index cc24dd8..3e9ffb2 100644 (file)
@@ -164,6 +164,9 @@ static WebPreferencesStore::ValueMap& defaults()
         FOR_EACH_WEBKIT_PREFERENCE(DEFINE_DEFAULTS)
         FOR_EACH_WEBKIT_DEBUG_PREFERENCE(DEFINE_DEFAULTS)
 #undef DEFINE_DEFAULTS
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/WebPreferencesStoreDefaultsAdditions.cpp>
+#endif
     }
 
     return defaults;
index 190dec2..29233ce 100644 (file)
 
 using namespace WebKit;
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/WKPreferencesAdditions.cpp>
+#endif
+
 WKTypeID WKPreferencesGetTypeID()
 {
     return toAPI(WebPreferences::APIType);