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:
@@ -30,7 +30,6 @@ int CefResponseCToCpp::GetStatus()
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
void CefResponseCToCpp::SetStatus(int status)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_status))
|
||||
@@ -43,7 +42,6 @@ void CefResponseCToCpp::SetStatus(int status)
|
||||
status);
|
||||
}
|
||||
|
||||
|
||||
CefString CefResponseCToCpp::GetStatusText()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_status_text))
|
||||
@@ -60,7 +58,6 @@ CefString CefResponseCToCpp::GetStatusText()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefResponseCToCpp::SetStatusText(const CefString& statusText)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_status_text))
|
||||
@@ -78,7 +75,6 @@ void CefResponseCToCpp::SetStatusText(const CefString& statusText)
|
||||
statusText.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
CefString CefResponseCToCpp::GetMimeType()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_mime_type))
|
||||
@@ -95,7 +91,6 @@ CefString CefResponseCToCpp::GetMimeType()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefResponseCToCpp::SetMimeType(const CefString& mimeType)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_mime_type))
|
||||
@@ -113,7 +108,6 @@ void CefResponseCToCpp::SetMimeType(const CefString& mimeType)
|
||||
mimeType.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
CefString CefResponseCToCpp::GetHeader(const CefString& name)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_header))
|
||||
@@ -136,7 +130,6 @@ CefString CefResponseCToCpp::GetHeader(const CefString& name)
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefResponseCToCpp::GetHeaderMap(HeaderMap& headerMap)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_header_map))
|
||||
@@ -162,7 +155,6 @@ void CefResponseCToCpp::GetHeaderMap(HeaderMap& headerMap)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CefResponseCToCpp::SetHeaderMap(const HeaderMap& headerMap)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_header_map))
|
||||
@@ -186,7 +178,6 @@ void CefResponseCToCpp::SetHeaderMap(const HeaderMap& headerMap)
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefResponseCToCpp, CefResponse,
|
||||
cef_response_t>::DebugObjCt = 0;
|
||||
|
Reference in New Issue
Block a user