Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK] Add WK2 API to get suggested filename for URI responses
https://bugs.webkit.org/show_bug.cgi?id=92967 Patch by Claudio Saavedra <csaavedra@igalia.com> on 2012-08-17 Reviewed by Carlos Garcia Campos. Webcore has API to get the suggested filename for a response, add a property and getter for it in WebKitURIResponse. * UIProcess/API/gtk/WebKitURIResponse.cpp: (_WebKitURIResponsePrivate): Add a CString holding the value. (webkitURIResponseGetProperty): Add the gobject bits for the property. (webkit_uri_response_class_init): Install the property. (webkit_uri_response_get_suggested_filename): New getter. * UIProcess/API/gtk/WebKitURIResponse.h: Declare the public method. * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add the new API symbols. * UIProcess/API/gtk/tests/TestResources.cpp: (testWebResourceSuggestedFilename): Test the new API. (serverCallback): Add the the content-disposition header in one case, in order to test it. (beforeAll): Add the new test. Canonical link: https://commits.webkit.org/112161@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
9b6f1c0
commit acda9ce
Showing
5 changed files
with
91 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters