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:
Marshall Greenblatt
2011-12-23 17:36:30 +00:00
parent 97add0e3b7
commit ff976bc07f
398 changed files with 14181 additions and 10661 deletions

View File

@ -41,7 +41,6 @@ CefRefPtr<CefXmlReader> CefXmlReader::Create(CefRefPtr<CefStreamReader> stream,
}
// VIRTUAL METHODS - Body may be edited by hand.
bool CefXmlReaderCToCpp::MoveToNextNode()
@ -58,7 +57,6 @@ bool CefXmlReaderCToCpp::MoveToNextNode()
return _retval?true:false;
}
bool CefXmlReaderCToCpp::Close()
{
if (CEF_MEMBER_MISSING(struct_, close))
@ -73,7 +71,6 @@ bool CefXmlReaderCToCpp::Close()
return _retval?true:false;
}
bool CefXmlReaderCToCpp::HasError()
{
if (CEF_MEMBER_MISSING(struct_, has_error))
@ -88,7 +85,6 @@ bool CefXmlReaderCToCpp::HasError()
return _retval?true:false;
}
CefString CefXmlReaderCToCpp::GetError()
{
if (CEF_MEMBER_MISSING(struct_, get_error))
@ -105,7 +101,6 @@ CefString CefXmlReaderCToCpp::GetError()
return _retvalStr;
}
CefXmlReader::NodeType CefXmlReaderCToCpp::GetType()
{
if (CEF_MEMBER_MISSING(struct_, get_type))
@ -120,7 +115,6 @@ CefXmlReader::NodeType CefXmlReaderCToCpp::GetType()
return _retval;
}
int CefXmlReaderCToCpp::GetDepth()
{
if (CEF_MEMBER_MISSING(struct_, get_depth))
@ -135,7 +129,6 @@ int CefXmlReaderCToCpp::GetDepth()
return _retval;
}
CefString CefXmlReaderCToCpp::GetLocalName()
{
if (CEF_MEMBER_MISSING(struct_, get_local_name))
@ -152,7 +145,6 @@ CefString CefXmlReaderCToCpp::GetLocalName()
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetPrefix()
{
if (CEF_MEMBER_MISSING(struct_, get_prefix))
@ -169,7 +161,6 @@ CefString CefXmlReaderCToCpp::GetPrefix()
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetQualifiedName()
{
if (CEF_MEMBER_MISSING(struct_, get_qualified_name))
@ -186,7 +177,6 @@ CefString CefXmlReaderCToCpp::GetQualifiedName()
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetNamespaceURI()
{
if (CEF_MEMBER_MISSING(struct_, get_namespace_uri))
@ -203,7 +193,6 @@ CefString CefXmlReaderCToCpp::GetNamespaceURI()
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetBaseURI()
{
if (CEF_MEMBER_MISSING(struct_, get_base_uri))
@ -220,7 +209,6 @@ CefString CefXmlReaderCToCpp::GetBaseURI()
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetXmlLang()
{
if (CEF_MEMBER_MISSING(struct_, get_xml_lang))
@ -237,7 +225,6 @@ CefString CefXmlReaderCToCpp::GetXmlLang()
return _retvalStr;
}
bool CefXmlReaderCToCpp::IsEmptyElement()
{
if (CEF_MEMBER_MISSING(struct_, is_empty_element))
@ -252,7 +239,6 @@ bool CefXmlReaderCToCpp::IsEmptyElement()
return _retval?true:false;
}
bool CefXmlReaderCToCpp::HasValue()
{
if (CEF_MEMBER_MISSING(struct_, has_value))
@ -267,7 +253,6 @@ bool CefXmlReaderCToCpp::HasValue()
return _retval?true:false;
}
CefString CefXmlReaderCToCpp::GetValue()
{
if (CEF_MEMBER_MISSING(struct_, get_value))
@ -284,7 +269,6 @@ CefString CefXmlReaderCToCpp::GetValue()
return _retvalStr;
}
bool CefXmlReaderCToCpp::HasAttributes()
{
if (CEF_MEMBER_MISSING(struct_, has_attributes))
@ -299,7 +283,6 @@ bool CefXmlReaderCToCpp::HasAttributes()
return _retval?true:false;
}
size_t CefXmlReaderCToCpp::GetAttributeCount()
{
if (CEF_MEMBER_MISSING(struct_, get_attribute_count))
@ -314,7 +297,6 @@ size_t CefXmlReaderCToCpp::GetAttributeCount()
return _retval;
}
CefString CefXmlReaderCToCpp::GetAttribute(int index)
{
if (CEF_MEMBER_MISSING(struct_, get_attribute_byindex))
@ -337,7 +319,6 @@ CefString CefXmlReaderCToCpp::GetAttribute(int index)
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetAttribute(const CefString& qualifiedName)
{
if (CEF_MEMBER_MISSING(struct_, get_attribute_byqname))
@ -360,7 +341,6 @@ CefString CefXmlReaderCToCpp::GetAttribute(const CefString& qualifiedName)
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetAttribute(const CefString& localName,
const CefString& namespaceURI)
{
@ -389,7 +369,6 @@ CefString CefXmlReaderCToCpp::GetAttribute(const CefString& localName,
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetInnerXml()
{
if (CEF_MEMBER_MISSING(struct_, get_inner_xml))
@ -406,7 +385,6 @@ CefString CefXmlReaderCToCpp::GetInnerXml()
return _retvalStr;
}
CefString CefXmlReaderCToCpp::GetOuterXml()
{
if (CEF_MEMBER_MISSING(struct_, get_outer_xml))
@ -423,7 +401,6 @@ CefString CefXmlReaderCToCpp::GetOuterXml()
return _retvalStr;
}
int CefXmlReaderCToCpp::GetLineNumber()
{
if (CEF_MEMBER_MISSING(struct_, get_line_number))
@ -438,7 +415,6 @@ int CefXmlReaderCToCpp::GetLineNumber()
return _retval;
}
bool CefXmlReaderCToCpp::MoveToAttribute(int index)
{
if (CEF_MEMBER_MISSING(struct_, move_to_attribute_byindex))
@ -459,7 +435,6 @@ bool CefXmlReaderCToCpp::MoveToAttribute(int index)
return _retval?true:false;
}
bool CefXmlReaderCToCpp::MoveToAttribute(const CefString& qualifiedName)
{
if (CEF_MEMBER_MISSING(struct_, move_to_attribute_byqname))
@ -480,7 +455,6 @@ bool CefXmlReaderCToCpp::MoveToAttribute(const CefString& qualifiedName)
return _retval?true:false;
}
bool CefXmlReaderCToCpp::MoveToAttribute(const CefString& localName,
const CefString& namespaceURI)
{
@ -507,7 +481,6 @@ bool CefXmlReaderCToCpp::MoveToAttribute(const CefString& localName,
return _retval?true:false;
}
bool CefXmlReaderCToCpp::MoveToFirstAttribute()
{
if (CEF_MEMBER_MISSING(struct_, move_to_first_attribute))
@ -522,7 +495,6 @@ bool CefXmlReaderCToCpp::MoveToFirstAttribute()
return _retval?true:false;
}
bool CefXmlReaderCToCpp::MoveToNextAttribute()
{
if (CEF_MEMBER_MISSING(struct_, move_to_next_attribute))
@ -537,7 +509,6 @@ bool CefXmlReaderCToCpp::MoveToNextAttribute()
return _retval?true:false;
}
bool CefXmlReaderCToCpp::MoveToCarryingElement()
{
if (CEF_MEMBER_MISSING(struct_, move_to_carrying_element))
@ -553,7 +524,6 @@ bool CefXmlReaderCToCpp::MoveToCarryingElement()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefXmlReaderCToCpp, CefXmlReader,
cef_xml_reader_t>::DebugObjCt = 0;