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<CefV8Context> CefV8Context::GetCurrentContext()
|
||||
return CefV8ContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefV8Context> CefV8Context::GetEnteredContext()
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@@ -41,7 +40,6 @@ CefRefPtr<CefV8Context> CefV8Context::GetEnteredContext()
|
||||
return CefV8ContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
bool CefV8Context::InContext()
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@@ -54,7 +52,6 @@ bool CefV8Context::InContext()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefBrowser> CefV8ContextCToCpp::GetBrowser()
|
||||
@@ -71,7 +68,6 @@ CefRefPtr<CefBrowser> CefV8ContextCToCpp::GetBrowser()
|
||||
return CefBrowserCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefFrame> CefV8ContextCToCpp::GetFrame()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_frame))
|
||||
@@ -86,7 +82,6 @@ CefRefPtr<CefFrame> CefV8ContextCToCpp::GetFrame()
|
||||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CefRefPtr<CefV8Value> CefV8ContextCToCpp::GetGlobal()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_global))
|
||||
@@ -101,7 +96,6 @@ CefRefPtr<CefV8Value> CefV8ContextCToCpp::GetGlobal()
|
||||
return CefV8ValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
bool CefV8ContextCToCpp::Enter()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, enter))
|
||||
@@ -116,7 +110,6 @@ bool CefV8ContextCToCpp::Enter()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefV8ContextCToCpp::Exit()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, exit))
|
||||
@@ -131,7 +124,6 @@ bool CefV8ContextCToCpp::Exit()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefV8ContextCToCpp::IsSame(CefRefPtr<CefV8Context> that)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, is_same))
|
||||
@@ -153,7 +145,6 @@ bool CefV8ContextCToCpp::IsSame(CefRefPtr<CefV8Context> that)
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefV8ContextCToCpp, CefV8Context,
|
||||
cef_v8context_t>::DebugObjCt = 0;
|
||||
|
Reference in New Issue
Block a user