mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add CefURLRequest support (issue #517).
- Add CefBrowserProcessHandler interface (issue #650). - Internally re-register supported schemes with CefCookieManager after changing the storage path (issue #651). - Add CefResourceHandler callbacks for blocking cookie loading and saving (issue #652). - Allow custom scheme handlers for requests that do not originate from browser content (issue #653). - Use 'int' instead of 'RequestFlags' for CefRequest::GetFlags and SetFlags (issue #654). - Rename cef_request.h CreateObject methods to Create (issue #655). - Add #ifdef guards to cef_tuple.h to allow the use of both cef_runnable.h and base/bind.h in the same unit test source file. - Retrieve cookieable schemes as part of ClientApp::RegisterCustomSchemes and register with the global cookie manager. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@697 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -55,6 +55,11 @@ typedef struct _cef_request_t {
|
||||
///
|
||||
cef_base_t base;
|
||||
|
||||
///
|
||||
// Returns true (1) if this object is read-only.
|
||||
///
|
||||
int (CEF_CALLBACK *is_read_only)(struct _cef_request_t* self);
|
||||
|
||||
///
|
||||
// Get the fully qualified URL.
|
||||
///
|
||||
@@ -112,20 +117,20 @@ typedef struct _cef_request_t {
|
||||
cef_string_multimap_t headerMap);
|
||||
|
||||
///
|
||||
// Get the flags used in combination with CefWebURLRequest.
|
||||
// Get the flags used in combination with cef_urlrequest_t. See
|
||||
// cef_urlrequest_flags_t for supported values.
|
||||
///
|
||||
enum cef_weburlrequest_flags_t (CEF_CALLBACK *get_flags)(
|
||||
struct _cef_request_t* self);
|
||||
int (CEF_CALLBACK *get_flags)(struct _cef_request_t* self);
|
||||
|
||||
///
|
||||
// Set the flags used in combination with CefWebURLRequest.
|
||||
// Set the flags used in combination with cef_urlrequest_t. See
|
||||
// cef_urlrequest_flags_t for supported values.
|
||||
///
|
||||
void (CEF_CALLBACK *set_flags)(struct _cef_request_t* self,
|
||||
enum cef_weburlrequest_flags_t flags);
|
||||
void (CEF_CALLBACK *set_flags)(struct _cef_request_t* self, int flags);
|
||||
|
||||
///
|
||||
// Set the URL to the first party for cookies used in combination with
|
||||
// CefWebURLRequest.
|
||||
// cef_urlrequest_t.
|
||||
///
|
||||
// The resulting string must be freed by calling cef_string_userfree_free().
|
||||
cef_string_userfree_t (CEF_CALLBACK *get_first_party_for_cookies)(
|
||||
@@ -133,7 +138,7 @@ typedef struct _cef_request_t {
|
||||
|
||||
///
|
||||
// Get the URL to the first party for cookies used in combination with
|
||||
// CefWebURLRequest.
|
||||
// cef_urlrequest_t.
|
||||
///
|
||||
void (CEF_CALLBACK *set_first_party_for_cookies)(struct _cef_request_t* self,
|
||||
const cef_string_t* url);
|
||||
@@ -156,6 +161,11 @@ typedef struct _cef_post_data_t {
|
||||
///
|
||||
cef_base_t base;
|
||||
|
||||
///
|
||||
// Returns true (1) if this object is read-only.
|
||||
///
|
||||
int (CEF_CALLBACK *is_read_only)(struct _cef_post_data_t* self);
|
||||
|
||||
///
|
||||
// Returns the number of existing post data elements.
|
||||
///
|
||||
@@ -203,6 +213,11 @@ typedef struct _cef_post_data_element_t {
|
||||
///
|
||||
cef_base_t base;
|
||||
|
||||
///
|
||||
// Returns true (1) if this object is read-only.
|
||||
///
|
||||
int (CEF_CALLBACK *is_read_only)(struct _cef_post_data_element_t* self);
|
||||
|
||||
///
|
||||
// Remove all contents from the post data element.
|
||||
///
|
||||
|
Reference in New Issue
Block a user