Permalink
Browse files

Move WKPreferences{G,S}etWebGLEnabled() to WKPreferencesRef.h.

  • Loading branch information...
zdobersek committed Apr 24, 2018
1 parent a8f7737 commit b8a213b08d5a3ff36ee6ad6fa6dcb0dd19067ce3
@@ -354,6 +354,10 @@ WK_EXPORT bool WKPreferencesGetNonCompositedWebGLEnabled(WKPreferencesRef prefer
WK_EXPORT void WKPreferencesSetCookieEnabled(WKPreferencesRef preferences, bool enabled);
WK_EXPORT bool WKPreferencesGetCookieEnabled(WKPreferencesRef preferences);
// Defaults to true.
WK_EXPORT void WKPreferencesSetWebGLEnabled(WKPreferencesRef, bool);
WK_EXPORT bool WKPreferencesGetWebGLEnabled(WKPreferencesRef);
#ifdef __cplusplus
}
#endif
@@ -99,10 +99,6 @@ WK_EXPORT bool WKPreferencesGetCompositingRepaintCountersVisible(WKPreferencesRe
WK_EXPORT void WKPreferencesSetTiledScrollingIndicatorVisible(WKPreferencesRef, bool);
WK_EXPORT bool WKPreferencesGetTiledScrollingIndicatorVisible(WKPreferencesRef);
// Defaults to true.
WK_EXPORT void WKPreferencesSetWebGLEnabled(WKPreferencesRef, bool);
WK_EXPORT bool WKPreferencesGetWebGLEnabled(WKPreferencesRef);
// Defaults to false.
WK_EXPORT void WKPreferencesSetForceSoftwareWebGLRendering(WKPreferencesRef, bool);
WK_EXPORT bool WKPreferencesGetForceSoftwareWebGLRendering(WKPreferencesRef);

0 comments on commit b8a213b

Please sign in to comment.