diff --git a/Source/WebKit/Shared/API/glib/WebKitURIResponse.cpp b/Source/WebKit/Shared/API/glib/WebKitURIResponse.cpp index 5f91cde5a3be9..4ff547540102c 100644 --- a/Source/WebKit/Shared/API/glib/WebKitURIResponse.cpp +++ b/Source/WebKit/Shared/API/glib/WebKitURIResponse.cpp @@ -298,3 +298,8 @@ const WebCore::ResourceResponse& webkitURIResponseGetResourceResponse(WebKitURIR return uriResponse->priv->resourceResponse; } +gboolean webkit_uri_response_is_main_frame(WebKitURIResponse* response) +{ + g_return_val_if_fail(WEBKIT_IS_URI_RESPONSE(response), false); + return FALSE; +} \ No newline at end of file diff --git a/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp b/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp index e54824289e46e..a6e787c990e45 100644 --- a/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp +++ b/Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp @@ -4467,3 +4467,15 @@ void webkit_settings_set_enable_service_worker(WebKitSettings* settings, gboolea priv->preferences->setServiceWorkersEnabled(enabled); g_object_notify_by_pspec(G_OBJECT(settings), sObjProperties[PROP_ENABLE_SERVICE_WORKER]); } + +gboolean webkit_settings_get_enable_non_composited_webgl(WebKitSettings* settings) +{ + g_return_val_if_fail(WEBKIT_IS_SETTINGS(settings), FALSE); + + return FALSE; +} + +void webkit_settings_set_enable_non_composited_webgl(WebKitSettings* settings, gboolean enabled) +{ + g_return_if_fail(WEBKIT_IS_SETTINGS(settings)); +} diff --git a/Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in b/Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in index e35c6fbcfee29..41e5bfbb7796c 100644 --- a/Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in +++ b/Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in @@ -602,6 +602,13 @@ WEBKIT_API void webkit_settings_set_enable_service_worker (WebKitSettings* settings, gboolean enabled); +WEBKIT_API gboolean +webkit_settings_get_enable_non_composited_webgl (WebKitSettings *settings); + +WEBKIT_API void +webkit_settings_set_enable_non_composited_webgl (WebKitSettings *settings, + gboolean enabled); + G_END_DECLS #endif /* WebKitSettings_h */ diff --git a/Source/WebKit/UIProcess/API/glib/WebKitURIResponse.h.in b/Source/WebKit/UIProcess/API/glib/WebKitURIResponse.h.in index f17b0cc4d160d..b425ec35791d5 100644 --- a/Source/WebKit/UIProcess/API/glib/WebKitURIResponse.h.in +++ b/Source/WebKit/UIProcess/API/glib/WebKitURIResponse.h.in @@ -67,6 +67,9 @@ webkit_uri_response_get_suggested_filename (WebKitURIResponse *response); WEBKIT_API SoupMessageHeaders * webkit_uri_response_get_http_headers (WebKitURIResponse *response); +WEBKIT_API gboolean +webkit_uri_response_is_main_frame (WebKitURIResponse *response); + G_END_DECLS #endif diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp index b42daef30598a..64771ed5ba4d2 100644 --- a/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp +++ b/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp @@ -5680,3 +5680,31 @@ void webkit_web_view_send_memory_pressure_event(WebKitWebView *webView, gboolean getPage(webView).sendMemoryPressureEvent(critical); } + +void webkit_web_view_suspend(WebKitWebView *webView) +{ + g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView)); + +} + +void webkit_web_view_resume(WebKitWebView *webView) +{ + g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView)); +} + +gboolean webkit_web_view_is_suspended(WebKitWebView *webView) +{ + g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), FALSE); + + return FALSE; +} + +void webkit_web_view_hide(WebKitWebView *webView) +{ + g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView)); +} + +void webkit_web_view_show(WebKitWebView *webView) +{ + g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView)); +} diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in b/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in index 3d22af71b0c10..ebb5433dda254 100644 --- a/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in +++ b/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in @@ -1065,6 +1065,21 @@ WEBKIT_API void webkit_web_view_send_memory_pressure_event (WebKitWebView *web_view, gboolean critical); +WEBKIT_API void +webkit_web_view_suspend (WebKitWebView *web_view); + +WEBKIT_API void +webkit_web_view_resume (WebKitWebView *web_view); + +WEBKIT_API gboolean +webkit_web_view_is_suspended (WebKitWebView *web_view); + +WEBKIT_API void +webkit_web_view_hide (WebKitWebView *web_view); + +WEBKIT_API void +webkit_web_view_show (WebKitWebView *web_view); + G_END_DECLS #endif