Home
last modified time | relevance | path

Searched refs:webResource (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebresource.cpp61 static void webkit_web_resource_cleanup(WebKitWebResource* webResource) in webkit_web_resource_cleanup() argument
63 WebKitWebResourcePrivate* priv = webResource->priv; in webkit_web_resource_cleanup()
84 WebKitWebResource* webResource = WEBKIT_WEB_RESOURCE(object); in webkit_web_resource_dispose() local
85 WebKitWebResourcePrivate* priv = webResource->priv; in webkit_web_resource_dispose()
97 WebKitWebResource* webResource = WEBKIT_WEB_RESOURCE(object); in webkit_web_resource_finalize() local
99 webkit_web_resource_cleanup(webResource); in webkit_web_resource_finalize()
180 WebKitWebResource* webResource = WEBKIT_WEB_RESOURCE(object); in webkit_web_resource_get_property() local
184 g_value_set_string(value, webkit_web_resource_get_uri(webResource)); in webkit_web_resource_get_property()
187 g_value_set_string(value, webkit_web_resource_get_mime_type(webResource)); in webkit_web_resource_get_property()
190 g_value_set_string(value, webkit_web_resource_get_encoding(webResource)); in webkit_web_resource_get_property()
[all …]
Dwebkitwebview.cpp4904 …w_add_main_resource(WebKitWebView* webView, const char* identifier, WebKitWebResource* webResource) in webkit_web_view_add_main_resource() argument
4908 priv->mainResource = adoptGRef(webResource); in webkit_web_view_add_main_resource()
4912 …b_view_add_resource(WebKitWebView* webView, const char* identifier, WebKitWebResource* webResource) in webkit_web_view_add_resource() argument
4915 g_hash_table_insert(priv->subResources.get(), g_strdup(identifier), webResource); in webkit_web_view_add_resource()
4931 gpointer webResource = 0; in webkit_web_view_get_resource() local
4932 …urceFound = g_hash_table_lookup_extended(priv->subResources.get(), identifier, NULL, &webResource); in webkit_web_view_get_resource()
4941 if (!webResource) in webkit_web_view_get_resource()
4944 return WEBKIT_WEB_RESOURCE(webResource); in webkit_web_view_get_resource()
/external/webkit/Source/WebKit/gtk/tests/
Dtestwebresource.c39 WebKitWebResource* webResource; member
88 …fixture->webResource = webkit_web_resource_new(webData, strlen(webData), "http://example.com/", "t… in web_resource_fixture_setup()
89 g_assert(fixture->webResource); in web_resource_fixture_setup()
94 g_assert(fixture->webResource); in web_resource_fixture_teardown()
95 g_object_unref(fixture->webResource); in web_resource_fixture_teardown()
102 g_object_get(G_OBJECT(fixture->webResource), "uri", &url, NULL); in test_webkit_web_resource_get_url()
104 g_assert_cmpstr(webkit_web_resource_get_uri(fixture->webResource) ,==,"http://example.com/"); in test_webkit_web_resource_get_url()
110 GString* charData = webkit_web_resource_get_data(fixture->webResource); in test_webkit_web_resource_get_data()
117 g_object_get(G_OBJECT(fixture->webResource), "mime-type", &mime_type, NULL); in test_webkit_web_resource_get_mime_type()
119 g_assert_cmpstr(webkit_web_resource_get_mime_type(fixture->webResource),==,"text/html"); in test_webkit_web_resource_get_mime_type()
[all …]
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DFrameLoaderClientGtk.cpp380 WebKitWebResource* webResource = webkit_web_view_get_resource(webView, identifierString.get()); in dispatchWillSendRequest() local
386 g_free(webResource->priv->uri); in dispatchWillSendRequest()
387 webResource->priv->uri = g_strdup(request.url().string().utf8().data()); in dispatchWillSendRequest()
390 …g_signal_emit_by_name(webView, "resource-request-starting", m_frame, webResource, networkRequest.g… in dispatchWillSendRequest()
406 …WebKitWebResource* webResource = WEBKIT_WEB_RESOURCE(g_object_new(WEBKIT_TYPE_WEB_RESOURCE, "uri",… in assignIdentifierToInitialRequest() local
410 … webkit_web_view_add_main_resource(getViewFromFrame(m_frame), identifierString.get(), webResource); in assignIdentifierToInitialRequest()
414 webkit_web_view_add_resource(getViewFromFrame(m_frame), identifierString.get(), webResource); in assignIdentifierToInitialRequest()
1142 WebKitWebResource* webResource = webkit_web_view_get_resource(webView, identifierString.get()); in dispatchDidFinishLoading() local
1146 if (!webResource) in dispatchDidFinishLoading()
1149 const char* uri = webkit_web_resource_get_uri(webResource); in dispatchDidFinishLoading()
[all …]