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 @@ CefRefPtr<CefRequest> CefRequest::CreateRequest()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefString CefRequestCToCpp::GetURL()
|
||||
@@ -48,7 +47,6 @@ CefString CefRequestCToCpp::GetURL()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::SetURL(const CefString& url)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_url))
|
||||
@@ -66,7 +64,6 @@ void CefRequestCToCpp::SetURL(const CefString& url)
|
||||
url.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
CefString CefRequestCToCpp::GetMethod()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_method))
|
||||
@@ -83,7 +80,6 @@ CefString CefRequestCToCpp::GetMethod()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::SetMethod(const CefString& method)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_method))
|
||||
@@ -101,7 +97,6 @@ void CefRequestCToCpp::SetMethod(const CefString& method)
|
||||
method.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_post_data))
|
||||
@@ -116,7 +111,6 @@ CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData()
|
||||
return CefPostDataCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_post_data))
|
||||
@@ -134,7 +128,6 @@ void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData)
|
||||
CefPostDataCToCpp::Unwrap(postData));
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_header_map))
|
||||
@@ -160,7 +153,6 @@ void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_header_map))
|
||||
@@ -183,7 +175,6 @@ void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap)
|
||||
cef_string_multimap_free(headerMapMultimap);
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::Set(const CefString& url, const CefString& method,
|
||||
CefRefPtr<CefPostData> postData, const HeaderMap& headerMap)
|
||||
{
|
||||
@@ -220,7 +211,6 @@ void CefRequestCToCpp::Set(const CefString& url, const CefString& method,
|
||||
cef_string_multimap_free(headerMapMultimap);
|
||||
}
|
||||
|
||||
|
||||
CefRequest::RequestFlags CefRequestCToCpp::GetFlags()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_flags))
|
||||
@@ -235,7 +225,6 @@ CefRequest::RequestFlags CefRequestCToCpp::GetFlags()
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::SetFlags(RequestFlags flags)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_flags))
|
||||
@@ -248,7 +237,6 @@ void CefRequestCToCpp::SetFlags(RequestFlags flags)
|
||||
flags);
|
||||
}
|
||||
|
||||
|
||||
CefString CefRequestCToCpp::GetFirstPartyForCookies()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_first_party_for_cookies))
|
||||
@@ -265,7 +253,6 @@ CefString CefRequestCToCpp::GetFirstPartyForCookies()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefRequestCToCpp::SetFirstPartyForCookies(const CefString& url)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_first_party_for_cookies))
|
||||
@@ -284,7 +271,6 @@ void CefRequestCToCpp::SetFirstPartyForCookies(const CefString& url)
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefRequestCToCpp, CefRequest,
|
||||
cef_request_t>::DebugObjCt = 0;
|
||||
|
Reference in New Issue
Block a user