Permalink
Browse files

WKPreferences: move WKPreferences{S,G}etCookieEnabled() to the public…

… header.
  • Loading branch information...
zdobersek committed Apr 11, 2018
1 parent a66b9cf commit 03e3b983e32e98c5dc8b5471f5a5e2034f9f3a8e
@@ -350,6 +350,10 @@ WK_EXPORT bool WKPreferencesGetScrollToFocusedElementEnabled(WKPreferencesRef pr
WK_EXPORT void WKPreferencesSetNonCompositedWebGLEnabled(WKPreferencesRef preferences, bool enabled);
WK_EXPORT bool WKPreferencesGetNonCompositedWebGLEnabled(WKPreferencesRef preferences);
// Defaults to true
WK_EXPORT void WKPreferencesSetCookieEnabled(WKPreferencesRef preferences, bool enabled);
WK_EXPORT bool WKPreferencesGetCookieEnabled(WKPreferencesRef preferences);
#ifdef __cplusplus
}
#endif
@@ -267,10 +267,6 @@ WK_EXPORT bool WKPreferencesGetInteractiveFormValidationEnabled(WKPreferencesRef
WK_EXPORT void WKPreferencesSetScrollingPerformanceLoggingEnabled(WKPreferencesRef preferencesRef, bool enabled);
WK_EXPORT bool WKPreferencesGetScrollingPerformanceLoggingEnabled(WKPreferencesRef preferencesRef);
// Defaults to true
WK_EXPORT void WKPreferencesSetCookieEnabled(WKPreferencesRef preferences, bool enabled);
WK_EXPORT bool WKPreferencesGetCookieEnabled(WKPreferencesRef preferences);
// Defaults to true on Mac, false elsewhere
WK_EXPORT void WKPreferencesSetPDFPluginEnabled(WKPreferencesRef preferences, bool enabled);
WK_EXPORT bool WKPreferencesGetPDFPluginEnabled(WKPreferencesRef preferences);

0 comments on commit 03e3b98

Please sign in to comment.