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:
@ -36,7 +36,6 @@ CefRefPtr<CefCommandLine> CefCommandLine::CreateCommandLine()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefCommandLineCToCpp::InitFromArgv(int argc, const char* const* argv)
|
||||
@ -57,7 +56,6 @@ void CefCommandLineCToCpp::InitFromArgv(int argc, const char* const* argv)
|
||||
argv);
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::InitFromString(const CefString& command_line)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, init_from_string))
|
||||
@ -75,7 +73,6 @@ void CefCommandLineCToCpp::InitFromString(const CefString& command_line)
|
||||
command_line.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
CefString CefCommandLineCToCpp::GetCommandLineString()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_command_line_string))
|
||||
@ -92,7 +89,6 @@ CefString CefCommandLineCToCpp::GetCommandLineString()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
CefString CefCommandLineCToCpp::GetProgram()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_program))
|
||||
@ -109,7 +105,6 @@ CefString CefCommandLineCToCpp::GetProgram()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::SetProgram(const CefString& program)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, set_program))
|
||||
@ -127,7 +122,6 @@ void CefCommandLineCToCpp::SetProgram(const CefString& program)
|
||||
program.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
bool CefCommandLineCToCpp::HasSwitches()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, has_switches))
|
||||
@ -142,7 +136,6 @@ bool CefCommandLineCToCpp::HasSwitches()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefCommandLineCToCpp::HasSwitch(const CefString& name)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, has_switch))
|
||||
@ -163,7 +156,6 @@ bool CefCommandLineCToCpp::HasSwitch(const CefString& name)
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
CefString CefCommandLineCToCpp::GetSwitchValue(const CefString& name)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_switch_value))
|
||||
@ -186,7 +178,6 @@ CefString CefCommandLineCToCpp::GetSwitchValue(const CefString& name)
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::GetSwitches(SwitchMap& switches)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_switches))
|
||||
@ -212,7 +203,6 @@ void CefCommandLineCToCpp::GetSwitches(SwitchMap& switches)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::AppendSwitch(const CefString& name)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, append_switch))
|
||||
@ -230,7 +220,6 @@ void CefCommandLineCToCpp::AppendSwitch(const CefString& name)
|
||||
name.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::AppendSwitchWithValue(const CefString& name,
|
||||
const CefString& value)
|
||||
{
|
||||
@ -254,7 +243,6 @@ void CefCommandLineCToCpp::AppendSwitchWithValue(const CefString& name,
|
||||
value.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
bool CefCommandLineCToCpp::HasArguments()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, has_arguments))
|
||||
@ -269,7 +257,6 @@ bool CefCommandLineCToCpp::HasArguments()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::GetArguments(ArgumentList& arguments)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_arguments))
|
||||
@ -295,7 +282,6 @@ void CefCommandLineCToCpp::GetArguments(ArgumentList& arguments)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CefCommandLineCToCpp::AppendArgument(const CefString& argument)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, append_argument))
|
||||
@ -314,7 +300,6 @@ void CefCommandLineCToCpp::AppendArgument(const CefString& argument)
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefCommandLineCToCpp, CefCommandLine,
|
||||
cef_command_line_t>::DebugObjCt = 0;
|
||||
|
Reference in New Issue
Block a user