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:
@@ -31,7 +31,6 @@ void CefFrameCToCpp::Undo()
|
||||
struct_->undo(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::Redo()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, redo))
|
||||
@@ -43,7 +42,6 @@ void CefFrameCToCpp::Redo()
|
||||
struct_->redo(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::Cut()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, cut))
|
||||
@@ -55,7 +53,6 @@ void CefFrameCToCpp::Cut()
|
||||
struct_->cut(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::Copy()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, copy))
|
||||
@@ -67,7 +64,6 @@ void CefFrameCToCpp::Copy()
|
||||
struct_->copy(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::Paste()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, paste))
|
||||
@@ -79,7 +75,6 @@ void CefFrameCToCpp::Paste()
|
||||
struct_->paste(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::Delete()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, del))
|
||||
@@ -91,7 +86,6 @@ void CefFrameCToCpp::Delete()
|
||||
struct_->del(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::SelectAll()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, select_all))
|
||||
@@ -103,7 +97,6 @@ void CefFrameCToCpp::SelectAll()
|
||||
struct_->select_all(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::Print()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, print))
|
||||
@@ -115,7 +108,6 @@ void CefFrameCToCpp::Print()
|
||||
struct_->print(struct_);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::ViewSource()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, view_source))
|
||||
@@ -127,7 +119,6 @@ void CefFrameCToCpp::ViewSource()
|
||||
struct_->view_source(struct_);
|
||||
}
|
||||
|
||||
|
||||
CefString CefFrameCToCpp::GetSource()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_source))
|
||||
@@ -144,7 +135,6 @@ CefString CefFrameCToCpp::GetSource()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
CefString CefFrameCToCpp::GetText()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_text))
|
||||
@@ -161,7 +151,6 @@ CefString CefFrameCToCpp::GetText()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::LoadRequest(CefRefPtr<CefRequest> request)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, load_request))
|
||||
@@ -179,7 +168,6 @@ void CefFrameCToCpp::LoadRequest(CefRefPtr<CefRequest> request)
|
||||
CefRequestCToCpp::Unwrap(request));
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::LoadURL(const CefString& url)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, load_url))
|
||||
@@ -197,7 +185,6 @@ void CefFrameCToCpp::LoadURL(const CefString& url)
|
||||
url.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::LoadString(const CefString& string, const CefString& url)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, load_string))
|
||||
@@ -220,7 +207,6 @@ void CefFrameCToCpp::LoadString(const CefString& string, const CefString& url)
|
||||
url.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::LoadStream(CefRefPtr<CefStreamReader> stream,
|
||||
const CefString& url)
|
||||
{
|
||||
@@ -244,7 +230,6 @@ void CefFrameCToCpp::LoadStream(CefRefPtr<CefStreamReader> stream,
|
||||
url.GetStruct());
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::ExecuteJavaScript(const CefString& jsCode,
|
||||
const CefString& scriptUrl, int startLine)
|
||||
{
|
||||
@@ -266,7 +251,6 @@ void CefFrameCToCpp::ExecuteJavaScript(const CefString& jsCode,
|
||||
startLine);
|
||||
}
|
||||
|
||||
|
||||
bool CefFrameCToCpp::IsMain()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, is_main))
|
||||
@@ -281,7 +265,6 @@ bool CefFrameCToCpp::IsMain()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefFrameCToCpp::IsFocused()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, is_focused))
|
||||
@@ -296,7 +279,6 @@ bool CefFrameCToCpp::IsFocused()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
CefString CefFrameCToCpp::GetName()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_name))
|
||||
@@ -313,7 +295,6 @@ CefString CefFrameCToCpp::GetName()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
long long CefFrameCToCpp::GetIdentifier()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_identifier))
|
||||
@@ -328,7 +309,6 @@ long long CefFrameCToCpp::GetIdentifier()
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefFrame> CefFrameCToCpp::GetParent()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_parent))
|
||||
@@ -343,7 +323,6 @@ CefRefPtr<CefFrame> CefFrameCToCpp::GetParent()
|
||||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CefString CefFrameCToCpp::GetURL()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_url))
|
||||
@@ -360,7 +339,6 @@ CefString CefFrameCToCpp::GetURL()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefBrowser> CefFrameCToCpp::GetBrowser()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_browser))
|
||||
@@ -375,7 +353,6 @@ CefRefPtr<CefBrowser> CefFrameCToCpp::GetBrowser()
|
||||
return CefBrowserCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
void CefFrameCToCpp::VisitDOM(CefRefPtr<CefDOMVisitor> visitor)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, visit_dom))
|
||||
@@ -393,7 +370,6 @@ void CefFrameCToCpp::VisitDOM(CefRefPtr<CefDOMVisitor> visitor)
|
||||
CefDOMVisitorCppToC::Wrap(visitor));
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefV8Context> CefFrameCToCpp::GetV8Context()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_v8context))
|
||||
@@ -409,7 +385,6 @@ CefRefPtr<CefV8Context> CefFrameCToCpp::GetV8Context()
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefFrameCToCpp, CefFrame, cef_frame_t>::DebugObjCt =
|
||||
0;
|
||||
|
Reference in New Issue
Block a user