mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Break cef.h into multiple headers (issue #142).
- Move wrapper classes from cef_wrapper.h to wrapper/ directory. - Move C API functions/classes from cef_capi.h to capi/ directory. - Move global function implementations from cef_context.cc to *_impl.cc files. - Output auto-generated file paths in cef_paths.gypi. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -29,7 +29,6 @@ CEF_EXPORT cef_request_t* cef_request_create()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// MEMBER FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK request_get_url(struct _cef_request_t* self)
|
||||
@ -47,7 +46,6 @@ cef_string_userfree_t CEF_CALLBACK request_get_url(struct _cef_request_t* self)
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set_url(struct _cef_request_t* self,
|
||||
const cef_string_t* url)
|
||||
{
|
||||
@ -66,7 +64,6 @@ void CEF_CALLBACK request_set_url(struct _cef_request_t* self,
|
||||
CefString(url));
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK request_get_method(
|
||||
struct _cef_request_t* self)
|
||||
{
|
||||
@ -83,7 +80,6 @@ cef_string_userfree_t CEF_CALLBACK request_get_method(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set_method(struct _cef_request_t* self,
|
||||
const cef_string_t* method)
|
||||
{
|
||||
@ -102,7 +98,6 @@ void CEF_CALLBACK request_set_method(struct _cef_request_t* self,
|
||||
CefString(method));
|
||||
}
|
||||
|
||||
|
||||
struct _cef_post_data_t* CEF_CALLBACK request_get_post_data(
|
||||
struct _cef_request_t* self)
|
||||
{
|
||||
@ -119,7 +114,6 @@ struct _cef_post_data_t* CEF_CALLBACK request_get_post_data(
|
||||
return CefPostDataCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set_post_data(struct _cef_request_t* self,
|
||||
struct _cef_post_data_t* postData)
|
||||
{
|
||||
@ -138,7 +132,6 @@ void CEF_CALLBACK request_set_post_data(struct _cef_request_t* self,
|
||||
CefPostDataCppToC::Unwrap(postData));
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_get_header_map(struct _cef_request_t* self,
|
||||
cef_string_multimap_t headerMap)
|
||||
{
|
||||
@ -165,7 +158,6 @@ void CEF_CALLBACK request_get_header_map(struct _cef_request_t* self,
|
||||
transfer_string_multimap_contents(headerMapMultimap, headerMap);
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set_header_map(struct _cef_request_t* self,
|
||||
cef_string_multimap_t headerMap)
|
||||
{
|
||||
@ -188,7 +180,6 @@ void CEF_CALLBACK request_set_header_map(struct _cef_request_t* self,
|
||||
headerMapMultimap);
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set(struct _cef_request_t* self,
|
||||
const cef_string_t* url, const cef_string_t* method,
|
||||
struct _cef_post_data_t* postData, cef_string_multimap_t headerMap)
|
||||
@ -224,7 +215,6 @@ void CEF_CALLBACK request_set(struct _cef_request_t* self,
|
||||
headerMapMultimap);
|
||||
}
|
||||
|
||||
|
||||
enum cef_weburlrequest_flags_t CEF_CALLBACK request_get_flags(
|
||||
struct _cef_request_t* self)
|
||||
{
|
||||
@ -241,7 +231,6 @@ enum cef_weburlrequest_flags_t CEF_CALLBACK request_get_flags(
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set_flags(struct _cef_request_t* self,
|
||||
enum cef_weburlrequest_flags_t flags)
|
||||
{
|
||||
@ -256,7 +245,6 @@ void CEF_CALLBACK request_set_flags(struct _cef_request_t* self,
|
||||
flags);
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK request_get_first_party_for_cookies(
|
||||
struct _cef_request_t* self)
|
||||
{
|
||||
@ -273,7 +261,6 @@ cef_string_userfree_t CEF_CALLBACK request_get_first_party_for_cookies(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK request_set_first_party_for_cookies(
|
||||
struct _cef_request_t* self, const cef_string_t* url)
|
||||
{
|
||||
@ -293,7 +280,6 @@ void CEF_CALLBACK request_set_first_party_for_cookies(
|
||||
}
|
||||
|
||||
|
||||
|
||||
// CONSTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefRequestCppToC::CefRequestCppToC(CefRequest* cls)
|
||||
|
Reference in New Issue
Block a user