mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add the CefHandler::HandleDownloadResponse() method and CefDownloadHandler class to support file download in response to 'Content-Disposition' headers (issue #6).
- Fix parsing error in cef_parser.py due to space between angle brackets in template type definitions, and add support for int64 type. - Update copyright messages in Python and generated files. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@117 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -47,4 +47,9 @@ WebKit::WebString StdWStringToWebString(const std::wstring& str);
|
||||
|
||||
std::wstring WebStringToStdWString(const WebKit::WebString& str);
|
||||
|
||||
// Returns true if the specified 'Content-Disposition' header value represents
|
||||
// an attachment download. Also returns the file name.
|
||||
bool IsContentDispositionAttachment(const std::string& cd_header,
|
||||
std::string& file_name);
|
||||
|
||||
} // namespace webkit_glue
|
||||
|
Reference in New Issue
Block a user