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

@@ -31,7 +31,6 @@ CefRefPtr<CefProxyHandler> CefAppCToCpp::GetProxyHandler()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefAppCToCpp, CefApp, cef_app_t>::DebugObjCt = 0;
#endif

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_app.h"
#include "include/capi/cef_app_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -5,8 +5,8 @@
#ifndef _BASE_CTOCPP_H
#define _BASE_CTOCPP_H
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_base.h"
#include "include/capi/cef_base_capi.h"
#include "libcef_dll/cef_logging.h"

View File

@@ -41,7 +41,6 @@ bool CefBrowser::CreateBrowser(CefWindowInfo& windowInfo,
return _retval?true:false;
}
CefRefPtr<CefBrowser> CefBrowser::CreateBrowserSync(CefWindowInfo& windowInfo,
CefRefPtr<CefClient> client, const CefString& url,
const CefBrowserSettings& settings)
@@ -66,7 +65,6 @@ CefRefPtr<CefBrowser> CefBrowser::CreateBrowserSync(CefWindowInfo& windowInfo,
}
// VIRTUAL METHODS - Body may be edited by hand.
void CefBrowserCToCpp::ParentWindowWillClose()
@@ -80,7 +78,6 @@ void CefBrowserCToCpp::ParentWindowWillClose()
struct_->parent_window_will_close(struct_);
}
void CefBrowserCToCpp::CloseBrowser()
{
if (CEF_MEMBER_MISSING(struct_, close_browser))
@@ -92,7 +89,6 @@ void CefBrowserCToCpp::CloseBrowser()
struct_->close_browser(struct_);
}
bool CefBrowserCToCpp::CanGoBack()
{
if (CEF_MEMBER_MISSING(struct_, can_go_back))
@@ -107,7 +103,6 @@ bool CefBrowserCToCpp::CanGoBack()
return _retval?true:false;
}
void CefBrowserCToCpp::GoBack()
{
if (CEF_MEMBER_MISSING(struct_, go_back))
@@ -119,7 +114,6 @@ void CefBrowserCToCpp::GoBack()
struct_->go_back(struct_);
}
bool CefBrowserCToCpp::CanGoForward()
{
if (CEF_MEMBER_MISSING(struct_, can_go_forward))
@@ -134,7 +128,6 @@ bool CefBrowserCToCpp::CanGoForward()
return _retval?true:false;
}
void CefBrowserCToCpp::GoForward()
{
if (CEF_MEMBER_MISSING(struct_, go_forward))
@@ -146,7 +139,6 @@ void CefBrowserCToCpp::GoForward()
struct_->go_forward(struct_);
}
void CefBrowserCToCpp::Reload()
{
if (CEF_MEMBER_MISSING(struct_, reload))
@@ -158,7 +150,6 @@ void CefBrowserCToCpp::Reload()
struct_->reload(struct_);
}
void CefBrowserCToCpp::ReloadIgnoreCache()
{
if (CEF_MEMBER_MISSING(struct_, reload_ignore_cache))
@@ -170,7 +161,6 @@ void CefBrowserCToCpp::ReloadIgnoreCache()
struct_->reload_ignore_cache(struct_);
}
void CefBrowserCToCpp::StopLoad()
{
if (CEF_MEMBER_MISSING(struct_, stop_load))
@@ -182,7 +172,6 @@ void CefBrowserCToCpp::StopLoad()
struct_->stop_load(struct_);
}
void CefBrowserCToCpp::SetFocus(bool enable)
{
if (CEF_MEMBER_MISSING(struct_, set_focus))
@@ -195,7 +184,6 @@ void CefBrowserCToCpp::SetFocus(bool enable)
enable);
}
CefWindowHandle CefBrowserCToCpp::GetWindowHandle()
{
if (CEF_MEMBER_MISSING(struct_, get_window_handle))
@@ -210,7 +198,6 @@ CefWindowHandle CefBrowserCToCpp::GetWindowHandle()
return _retval;
}
CefWindowHandle CefBrowserCToCpp::GetOpenerWindowHandle()
{
if (CEF_MEMBER_MISSING(struct_, get_opener_window_handle))
@@ -225,7 +212,6 @@ CefWindowHandle CefBrowserCToCpp::GetOpenerWindowHandle()
return _retval;
}
bool CefBrowserCToCpp::IsPopup()
{
if (CEF_MEMBER_MISSING(struct_, is_popup))
@@ -240,7 +226,6 @@ bool CefBrowserCToCpp::IsPopup()
return _retval?true:false;
}
bool CefBrowserCToCpp::HasDocument()
{
if (CEF_MEMBER_MISSING(struct_, has_document))
@@ -255,7 +240,6 @@ bool CefBrowserCToCpp::HasDocument()
return _retval?true:false;
}
CefRefPtr<CefClient> CefBrowserCToCpp::GetClient()
{
if (CEF_MEMBER_MISSING(struct_, get_client))
@@ -270,7 +254,6 @@ CefRefPtr<CefClient> CefBrowserCToCpp::GetClient()
return CefClientCppToC::Unwrap(_retval);
}
CefRefPtr<CefFrame> CefBrowserCToCpp::GetMainFrame()
{
if (CEF_MEMBER_MISSING(struct_, get_main_frame))
@@ -285,7 +268,6 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetMainFrame()
return CefFrameCToCpp::Wrap(_retval);
}
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame()
{
if (CEF_MEMBER_MISSING(struct_, get_focused_frame))
@@ -300,7 +282,6 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame()
return CefFrameCToCpp::Wrap(_retval);
}
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(const CefString& name)
{
if (CEF_MEMBER_MISSING(struct_, get_frame))
@@ -321,7 +302,6 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(const CefString& name)
return CefFrameCToCpp::Wrap(_retval);
}
void CefBrowserCToCpp::GetFrameNames(std::vector<CefString>& names)
{
if (CEF_MEMBER_MISSING(struct_, get_frame_names))
@@ -347,7 +327,6 @@ void CefBrowserCToCpp::GetFrameNames(std::vector<CefString>& names)
}
}
void CefBrowserCToCpp::Find(int identifier, const CefString& searchText,
bool forward, bool matchCase, bool findNext)
{
@@ -370,7 +349,6 @@ void CefBrowserCToCpp::Find(int identifier, const CefString& searchText,
findNext);
}
void CefBrowserCToCpp::StopFinding(bool clearSelection)
{
if (CEF_MEMBER_MISSING(struct_, stop_finding))
@@ -383,7 +361,6 @@ void CefBrowserCToCpp::StopFinding(bool clearSelection)
clearSelection);
}
double CefBrowserCToCpp::GetZoomLevel()
{
if (CEF_MEMBER_MISSING(struct_, get_zoom_level))
@@ -398,7 +375,6 @@ double CefBrowserCToCpp::GetZoomLevel()
return _retval;
}
void CefBrowserCToCpp::SetZoomLevel(double zoomLevel)
{
if (CEF_MEMBER_MISSING(struct_, set_zoom_level))
@@ -411,7 +387,6 @@ void CefBrowserCToCpp::SetZoomLevel(double zoomLevel)
zoomLevel);
}
void CefBrowserCToCpp::ClearHistory()
{
if (CEF_MEMBER_MISSING(struct_, clear_history))
@@ -423,7 +398,6 @@ void CefBrowserCToCpp::ClearHistory()
struct_->clear_history(struct_);
}
void CefBrowserCToCpp::ShowDevTools()
{
if (CEF_MEMBER_MISSING(struct_, show_dev_tools))
@@ -435,7 +409,6 @@ void CefBrowserCToCpp::ShowDevTools()
struct_->show_dev_tools(struct_);
}
void CefBrowserCToCpp::CloseDevTools()
{
if (CEF_MEMBER_MISSING(struct_, close_dev_tools))
@@ -447,7 +420,6 @@ void CefBrowserCToCpp::CloseDevTools()
struct_->close_dev_tools(struct_);
}
bool CefBrowserCToCpp::IsWindowRenderingDisabled()
{
if (CEF_MEMBER_MISSING(struct_, is_window_rendering_disabled))
@@ -462,7 +434,6 @@ bool CefBrowserCToCpp::IsWindowRenderingDisabled()
return _retval?true:false;
}
bool CefBrowserCToCpp::GetSize(PaintElementType type, int& width, int& height)
{
if (CEF_MEMBER_MISSING(struct_, get_size))
@@ -480,7 +451,6 @@ bool CefBrowserCToCpp::GetSize(PaintElementType type, int& width, int& height)
return _retval?true:false;
}
void CefBrowserCToCpp::SetSize(PaintElementType type, int width, int height)
{
if (CEF_MEMBER_MISSING(struct_, set_size))
@@ -495,7 +465,6 @@ void CefBrowserCToCpp::SetSize(PaintElementType type, int width, int height)
height);
}
bool CefBrowserCToCpp::IsPopupVisible()
{
if (CEF_MEMBER_MISSING(struct_, is_popup_visible))
@@ -510,7 +479,6 @@ bool CefBrowserCToCpp::IsPopupVisible()
return _retval?true:false;
}
void CefBrowserCToCpp::HidePopup()
{
if (CEF_MEMBER_MISSING(struct_, hide_popup))
@@ -522,7 +490,6 @@ void CefBrowserCToCpp::HidePopup()
struct_->hide_popup(struct_);
}
void CefBrowserCToCpp::Invalidate(const CefRect& dirtyRect)
{
if (CEF_MEMBER_MISSING(struct_, invalidate))
@@ -535,7 +502,6 @@ void CefBrowserCToCpp::Invalidate(const CefRect& dirtyRect)
&dirtyRect);
}
bool CefBrowserCToCpp::GetImage(PaintElementType type, int width, int height,
void* buffer)
{
@@ -560,7 +526,6 @@ bool CefBrowserCToCpp::GetImage(PaintElementType type, int width, int height,
return _retval?true:false;
}
void CefBrowserCToCpp::SendKeyEvent(KeyType type, int key, int modifiers,
bool sysChar, bool imeChar)
{
@@ -578,7 +543,6 @@ void CefBrowserCToCpp::SendKeyEvent(KeyType type, int key, int modifiers,
imeChar);
}
void CefBrowserCToCpp::SendMouseClickEvent(int x, int y, MouseButtonType type,
bool mouseUp, int clickCount)
{
@@ -596,7 +560,6 @@ void CefBrowserCToCpp::SendMouseClickEvent(int x, int y, MouseButtonType type,
clickCount);
}
void CefBrowserCToCpp::SendMouseMoveEvent(int x, int y, bool mouseLeave)
{
if (CEF_MEMBER_MISSING(struct_, send_mouse_move_event))
@@ -611,7 +574,6 @@ void CefBrowserCToCpp::SendMouseMoveEvent(int x, int y, bool mouseLeave)
mouseLeave);
}
void CefBrowserCToCpp::SendMouseWheelEvent(int x, int y, int delta)
{
if (CEF_MEMBER_MISSING(struct_, send_mouse_wheel_event))
@@ -626,7 +588,6 @@ void CefBrowserCToCpp::SendMouseWheelEvent(int x, int y, int delta)
delta);
}
void CefBrowserCToCpp::SendFocusEvent(bool setFocus)
{
if (CEF_MEMBER_MISSING(struct_, send_focus_event))
@@ -639,7 +600,6 @@ void CefBrowserCToCpp::SendFocusEvent(bool setFocus)
setFocus);
}
void CefBrowserCToCpp::SendCaptureLostEvent()
{
if (CEF_MEMBER_MISSING(struct_, send_capture_lost_event))
@@ -652,7 +612,6 @@ void CefBrowserCToCpp::SendCaptureLostEvent()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefBrowserCToCpp, CefBrowser,
cef_browser_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_client.h"
#include "include/capi/cef_client_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -42,7 +42,6 @@ CefRefPtr<CefLifeSpanHandler> CefClientCToCpp::GetLifeSpanHandler()
return CefLifeSpanHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefLoadHandler> CefClientCToCpp::GetLoadHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_load_handler))
@@ -57,7 +56,6 @@ CefRefPtr<CefLoadHandler> CefClientCToCpp::GetLoadHandler()
return CefLoadHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefRequestHandler> CefClientCToCpp::GetRequestHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_request_handler))
@@ -72,7 +70,6 @@ CefRefPtr<CefRequestHandler> CefClientCToCpp::GetRequestHandler()
return CefRequestHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefDisplayHandler> CefClientCToCpp::GetDisplayHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_display_handler))
@@ -87,7 +84,6 @@ CefRefPtr<CefDisplayHandler> CefClientCToCpp::GetDisplayHandler()
return CefDisplayHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefFocusHandler> CefClientCToCpp::GetFocusHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_focus_handler))
@@ -102,7 +98,6 @@ CefRefPtr<CefFocusHandler> CefClientCToCpp::GetFocusHandler()
return CefFocusHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefKeyboardHandler> CefClientCToCpp::GetKeyboardHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_keyboard_handler))
@@ -117,7 +112,6 @@ CefRefPtr<CefKeyboardHandler> CefClientCToCpp::GetKeyboardHandler()
return CefKeyboardHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefMenuHandler> CefClientCToCpp::GetMenuHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_menu_handler))
@@ -132,7 +126,6 @@ CefRefPtr<CefMenuHandler> CefClientCToCpp::GetMenuHandler()
return CefMenuHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefPrintHandler> CefClientCToCpp::GetPrintHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_print_handler))
@@ -147,7 +140,6 @@ CefRefPtr<CefPrintHandler> CefClientCToCpp::GetPrintHandler()
return CefPrintHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefFindHandler> CefClientCToCpp::GetFindHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_find_handler))
@@ -162,7 +154,6 @@ CefRefPtr<CefFindHandler> CefClientCToCpp::GetFindHandler()
return CefFindHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefJSDialogHandler> CefClientCToCpp::GetJSDialogHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_jsdialog_handler))
@@ -177,7 +168,6 @@ CefRefPtr<CefJSDialogHandler> CefClientCToCpp::GetJSDialogHandler()
return CefJSDialogHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8ContextHandler> CefClientCToCpp::GetV8ContextHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_v8context_handler))
@@ -192,7 +182,6 @@ CefRefPtr<CefV8ContextHandler> CefClientCToCpp::GetV8ContextHandler()
return CefV8ContextHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefRenderHandler> CefClientCToCpp::GetRenderHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_render_handler))
@@ -207,7 +196,6 @@ CefRefPtr<CefRenderHandler> CefClientCToCpp::GetRenderHandler()
return CefRenderHandlerCToCpp::Wrap(_retval);
}
CefRefPtr<CefDragHandler> CefClientCToCpp::GetDragHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_drag_handler))
@@ -223,7 +211,6 @@ CefRefPtr<CefDragHandler> CefClientCToCpp::GetDragHandler()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefClientCToCpp, CefClient,
cef_client_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_client.h"
#include "include/capi/cef_client_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -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;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_command_line.h"
#include "include/capi/cef_command_line_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -51,7 +51,6 @@ void CefContentFilterCToCpp::ProcessData(const void* data, int data_size,
}
}
void CefContentFilterCToCpp::Drain(CefRefPtr<CefStreamReader>& remainder)
{
if (CEF_MEMBER_MISSING(struct_, drain))
@@ -80,7 +79,6 @@ void CefContentFilterCToCpp::Drain(CefRefPtr<CefStreamReader>& remainder)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefContentFilterCToCpp, CefContentFilter,
cef_content_filter_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_content_filter.h"
#include "include/capi/cef_content_filter_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -41,7 +41,6 @@ bool CefCookieVisitorCToCpp::Visit(const CefCookie& cookie, int count,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefCookieVisitorCToCpp, CefCookieVisitor,
cef_cookie_visitor_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_cookie.h"
#include "include/capi/cef_cookie_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -5,8 +5,8 @@
#ifndef _CTOCPP_H
#define _CTOCPP_H
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_base.h"
#include "include/capi/cef_base_capi.h"
#include "libcef_dll/cef_logging.h"

View File

@@ -37,7 +37,6 @@ void CefDisplayHandlerCToCpp::OnNavStateChange(CefRefPtr<CefBrowser> browser,
canGoForward);
}
void CefDisplayHandlerCToCpp::OnAddressChange(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefString& url)
{
@@ -66,7 +65,6 @@ void CefDisplayHandlerCToCpp::OnAddressChange(CefRefPtr<CefBrowser> browser,
url.GetStruct());
}
void CefDisplayHandlerCToCpp::OnContentsSizeChange(
CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, int width,
int height)
@@ -93,7 +91,6 @@ void CefDisplayHandlerCToCpp::OnContentsSizeChange(
height);
}
void CefDisplayHandlerCToCpp::OnTitleChange(CefRefPtr<CefBrowser> browser,
const CefString& title)
{
@@ -114,7 +111,6 @@ void CefDisplayHandlerCToCpp::OnTitleChange(CefRefPtr<CefBrowser> browser,
title.GetStruct());
}
bool CefDisplayHandlerCToCpp::OnTooltip(CefRefPtr<CefBrowser> browser,
CefString& text)
{
@@ -138,7 +134,6 @@ bool CefDisplayHandlerCToCpp::OnTooltip(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
void CefDisplayHandlerCToCpp::OnStatusMessage(CefRefPtr<CefBrowser> browser,
const CefString& value, StatusType type)
{
@@ -160,7 +155,6 @@ void CefDisplayHandlerCToCpp::OnStatusMessage(CefRefPtr<CefBrowser> browser,
type);
}
bool CefDisplayHandlerCToCpp::OnConsoleMessage(CefRefPtr<CefBrowser> browser,
const CefString& message, const CefString& source, int line)
{
@@ -187,7 +181,6 @@ bool CefDisplayHandlerCToCpp::OnConsoleMessage(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDisplayHandlerCToCpp, CefDisplayHandler,
cef_display_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_display_handler.h"
#include "include/capi/cef_display_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -30,7 +30,6 @@ CefDOMDocument::Type CefDOMDocumentCToCpp::GetType()
return _retval;
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetDocument()
{
if (CEF_MEMBER_MISSING(struct_, get_document))
@@ -45,7 +44,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetDocument()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody()
{
if (CEF_MEMBER_MISSING(struct_, get_body))
@@ -60,7 +58,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead()
{
if (CEF_MEMBER_MISSING(struct_, get_head))
@@ -75,7 +72,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefString CefDOMDocumentCToCpp::GetTitle()
{
if (CEF_MEMBER_MISSING(struct_, get_title))
@@ -92,7 +88,6 @@ CefString CefDOMDocumentCToCpp::GetTitle()
return _retvalStr;
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetElementById(const CefString& id)
{
if (CEF_MEMBER_MISSING(struct_, get_element_by_id))
@@ -113,7 +108,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetElementById(const CefString& id)
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetFocusedNode()
{
if (CEF_MEMBER_MISSING(struct_, get_focused_node))
@@ -128,7 +122,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetFocusedNode()
return CefDOMNodeCToCpp::Wrap(_retval);
}
bool CefDOMDocumentCToCpp::HasSelection()
{
if (CEF_MEMBER_MISSING(struct_, has_selection))
@@ -143,7 +136,6 @@ bool CefDOMDocumentCToCpp::HasSelection()
return _retval?true:false;
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetSelectionStartNode()
{
if (CEF_MEMBER_MISSING(struct_, get_selection_start_node))
@@ -158,7 +150,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetSelectionStartNode()
return CefDOMNodeCToCpp::Wrap(_retval);
}
int CefDOMDocumentCToCpp::GetSelectionStartOffset()
{
if (CEF_MEMBER_MISSING(struct_, get_selection_start_offset))
@@ -173,7 +164,6 @@ int CefDOMDocumentCToCpp::GetSelectionStartOffset()
return _retval;
}
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetSelectionEndNode()
{
if (CEF_MEMBER_MISSING(struct_, get_selection_end_node))
@@ -188,7 +178,6 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetSelectionEndNode()
return CefDOMNodeCToCpp::Wrap(_retval);
}
int CefDOMDocumentCToCpp::GetSelectionEndOffset()
{
if (CEF_MEMBER_MISSING(struct_, get_selection_end_offset))
@@ -203,7 +192,6 @@ int CefDOMDocumentCToCpp::GetSelectionEndOffset()
return _retval;
}
CefString CefDOMDocumentCToCpp::GetSelectionAsMarkup()
{
if (CEF_MEMBER_MISSING(struct_, get_selection_as_markup))
@@ -220,7 +208,6 @@ CefString CefDOMDocumentCToCpp::GetSelectionAsMarkup()
return _retvalStr;
}
CefString CefDOMDocumentCToCpp::GetSelectionAsText()
{
if (CEF_MEMBER_MISSING(struct_, get_selection_as_text))
@@ -237,7 +224,6 @@ CefString CefDOMDocumentCToCpp::GetSelectionAsText()
return _retvalStr;
}
CefString CefDOMDocumentCToCpp::GetBaseURL()
{
if (CEF_MEMBER_MISSING(struct_, get_base_url))
@@ -254,7 +240,6 @@ CefString CefDOMDocumentCToCpp::GetBaseURL()
return _retvalStr;
}
CefString CefDOMDocumentCToCpp::GetCompleteURL(const CefString& partialURL)
{
if (CEF_MEMBER_MISSING(struct_, get_complete_url))
@@ -278,7 +263,6 @@ CefString CefDOMDocumentCToCpp::GetCompleteURL(const CefString& partialURL)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDOMDocumentCToCpp, CefDOMDocument,
cef_domdocument_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_dom.h"
#include "include/capi/cef_dom_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -33,7 +33,6 @@ CefString CefDOMEventCToCpp::GetType()
return _retvalStr;
}
CefDOMEvent::Category CefDOMEventCToCpp::GetCategory()
{
if (CEF_MEMBER_MISSING(struct_, get_category))
@@ -48,7 +47,6 @@ CefDOMEvent::Category CefDOMEventCToCpp::GetCategory()
return _retval;
}
CefDOMEvent::Phase CefDOMEventCToCpp::GetPhase()
{
if (CEF_MEMBER_MISSING(struct_, get_phase))
@@ -63,7 +61,6 @@ CefDOMEvent::Phase CefDOMEventCToCpp::GetPhase()
return _retval;
}
bool CefDOMEventCToCpp::CanBubble()
{
if (CEF_MEMBER_MISSING(struct_, can_bubble))
@@ -78,7 +75,6 @@ bool CefDOMEventCToCpp::CanBubble()
return _retval?true:false;
}
bool CefDOMEventCToCpp::CanCancel()
{
if (CEF_MEMBER_MISSING(struct_, can_cancel))
@@ -93,7 +89,6 @@ bool CefDOMEventCToCpp::CanCancel()
return _retval?true:false;
}
CefRefPtr<CefDOMDocument> CefDOMEventCToCpp::GetDocument()
{
if (CEF_MEMBER_MISSING(struct_, get_document))
@@ -108,7 +103,6 @@ CefRefPtr<CefDOMDocument> CefDOMEventCToCpp::GetDocument()
return CefDOMDocumentCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMEventCToCpp::GetTarget()
{
if (CEF_MEMBER_MISSING(struct_, get_target))
@@ -123,7 +117,6 @@ CefRefPtr<CefDOMNode> CefDOMEventCToCpp::GetTarget()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMEventCToCpp::GetCurrentTarget()
{
if (CEF_MEMBER_MISSING(struct_, get_current_target))
@@ -139,7 +132,6 @@ CefRefPtr<CefDOMNode> CefDOMEventCToCpp::GetCurrentTarget()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDOMEventCToCpp, CefDOMEvent,
cef_domevent_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_dom.h"
#include "include/capi/cef_dom_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -34,7 +34,6 @@ void CefDOMEventListenerCToCpp::HandleEvent(CefRefPtr<CefDOMEvent> event)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDOMEventListenerCToCpp, CefDOMEventListener,
cef_domevent_listener_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_dom.h"
#include "include/capi/cef_dom_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -32,7 +32,6 @@ CefDOMNode::Type CefDOMNodeCToCpp::GetType()
return _retval;
}
bool CefDOMNodeCToCpp::IsText()
{
if (CEF_MEMBER_MISSING(struct_, is_text))
@@ -47,7 +46,6 @@ bool CefDOMNodeCToCpp::IsText()
return _retval?true:false;
}
bool CefDOMNodeCToCpp::IsElement()
{
if (CEF_MEMBER_MISSING(struct_, is_element))
@@ -62,7 +60,6 @@ bool CefDOMNodeCToCpp::IsElement()
return _retval?true:false;
}
bool CefDOMNodeCToCpp::IsFormControlElement()
{
if (CEF_MEMBER_MISSING(struct_, is_form_control_element))
@@ -77,7 +74,6 @@ bool CefDOMNodeCToCpp::IsFormControlElement()
return _retval?true:false;
}
CefString CefDOMNodeCToCpp::GetFormControlElementType()
{
if (CEF_MEMBER_MISSING(struct_, get_form_control_element_type))
@@ -95,7 +91,6 @@ CefString CefDOMNodeCToCpp::GetFormControlElementType()
return _retvalStr;
}
bool CefDOMNodeCToCpp::IsSame(CefRefPtr<CefDOMNode> that)
{
if (CEF_MEMBER_MISSING(struct_, is_same))
@@ -116,7 +111,6 @@ bool CefDOMNodeCToCpp::IsSame(CefRefPtr<CefDOMNode> that)
return _retval?true:false;
}
CefString CefDOMNodeCToCpp::GetName()
{
if (CEF_MEMBER_MISSING(struct_, get_name))
@@ -133,7 +127,6 @@ CefString CefDOMNodeCToCpp::GetName()
return _retvalStr;
}
CefString CefDOMNodeCToCpp::GetValue()
{
if (CEF_MEMBER_MISSING(struct_, get_value))
@@ -150,7 +143,6 @@ CefString CefDOMNodeCToCpp::GetValue()
return _retvalStr;
}
bool CefDOMNodeCToCpp::SetValue(const CefString& value)
{
if (CEF_MEMBER_MISSING(struct_, set_value))
@@ -171,7 +163,6 @@ bool CefDOMNodeCToCpp::SetValue(const CefString& value)
return _retval?true:false;
}
CefString CefDOMNodeCToCpp::GetAsMarkup()
{
if (CEF_MEMBER_MISSING(struct_, get_as_markup))
@@ -188,7 +179,6 @@ CefString CefDOMNodeCToCpp::GetAsMarkup()
return _retvalStr;
}
CefRefPtr<CefDOMDocument> CefDOMNodeCToCpp::GetDocument()
{
if (CEF_MEMBER_MISSING(struct_, get_document))
@@ -203,7 +193,6 @@ CefRefPtr<CefDOMDocument> CefDOMNodeCToCpp::GetDocument()
return CefDOMDocumentCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetParent()
{
if (CEF_MEMBER_MISSING(struct_, get_parent))
@@ -218,7 +207,6 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetParent()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetPreviousSibling()
{
if (CEF_MEMBER_MISSING(struct_, get_previous_sibling))
@@ -233,7 +221,6 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetPreviousSibling()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetNextSibling()
{
if (CEF_MEMBER_MISSING(struct_, get_next_sibling))
@@ -248,7 +235,6 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetNextSibling()
return CefDOMNodeCToCpp::Wrap(_retval);
}
bool CefDOMNodeCToCpp::HasChildren()
{
if (CEF_MEMBER_MISSING(struct_, has_children))
@@ -263,7 +249,6 @@ bool CefDOMNodeCToCpp::HasChildren()
return _retval?true:false;
}
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetFirstChild()
{
if (CEF_MEMBER_MISSING(struct_, get_first_child))
@@ -278,7 +263,6 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetFirstChild()
return CefDOMNodeCToCpp::Wrap(_retval);
}
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetLastChild()
{
if (CEF_MEMBER_MISSING(struct_, get_last_child))
@@ -293,7 +277,6 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetLastChild()
return CefDOMNodeCToCpp::Wrap(_retval);
}
void CefDOMNodeCToCpp::AddEventListener(const CefString& eventType,
CefRefPtr<CefDOMEventListener> listener, bool useCapture)
{
@@ -318,7 +301,6 @@ void CefDOMNodeCToCpp::AddEventListener(const CefString& eventType,
useCapture);
}
CefString CefDOMNodeCToCpp::GetElementTagName()
{
if (CEF_MEMBER_MISSING(struct_, get_element_tag_name))
@@ -335,7 +317,6 @@ CefString CefDOMNodeCToCpp::GetElementTagName()
return _retvalStr;
}
bool CefDOMNodeCToCpp::HasElementAttributes()
{
if (CEF_MEMBER_MISSING(struct_, has_element_attributes))
@@ -350,7 +331,6 @@ bool CefDOMNodeCToCpp::HasElementAttributes()
return _retval?true:false;
}
bool CefDOMNodeCToCpp::HasElementAttribute(const CefString& attrName)
{
if (CEF_MEMBER_MISSING(struct_, has_element_attribute))
@@ -371,7 +351,6 @@ bool CefDOMNodeCToCpp::HasElementAttribute(const CefString& attrName)
return _retval?true:false;
}
CefString CefDOMNodeCToCpp::GetElementAttribute(const CefString& attrName)
{
if (CEF_MEMBER_MISSING(struct_, get_element_attribute))
@@ -394,7 +373,6 @@ CefString CefDOMNodeCToCpp::GetElementAttribute(const CefString& attrName)
return _retvalStr;
}
void CefDOMNodeCToCpp::GetElementAttributes(AttributeMap& attrMap)
{
if (CEF_MEMBER_MISSING(struct_, get_element_attributes))
@@ -420,7 +398,6 @@ void CefDOMNodeCToCpp::GetElementAttributes(AttributeMap& attrMap)
}
}
bool CefDOMNodeCToCpp::SetElementAttribute(const CefString& attrName,
const CefString& value)
{
@@ -447,7 +424,6 @@ bool CefDOMNodeCToCpp::SetElementAttribute(const CefString& attrName,
return _retval?true:false;
}
CefString CefDOMNodeCToCpp::GetElementInnerText()
{
if (CEF_MEMBER_MISSING(struct_, get_element_inner_text))
@@ -465,7 +441,6 @@ CefString CefDOMNodeCToCpp::GetElementInnerText()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDOMNodeCToCpp, CefDOMNode,
cef_domnode_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_dom.h"
#include "include/capi/cef_dom_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -34,7 +34,6 @@ void CefDOMVisitorCToCpp::Visit(CefRefPtr<CefDOMDocument> document)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDOMVisitorCToCpp, CefDOMVisitor,
cef_domvisitor_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_dom.h"
#include "include/capi/cef_dom_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -36,7 +36,6 @@ bool CefDownloadHandlerCToCpp::ReceivedData(void* data, int data_size)
return _retval?true:false;
}
void CefDownloadHandlerCToCpp::Complete()
{
if (CEF_MEMBER_MISSING(struct_, complete))
@@ -49,7 +48,6 @@ void CefDownloadHandlerCToCpp::Complete()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDownloadHandlerCToCpp, CefDownloadHandler,
cef_download_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_download_handler.h"
#include "include/capi/cef_download_handler_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -30,7 +30,6 @@ bool CefDragDataCToCpp::IsLink()
return _retval?true:false;
}
bool CefDragDataCToCpp::IsFragment()
{
if (CEF_MEMBER_MISSING(struct_, is_fragment))
@@ -45,7 +44,6 @@ bool CefDragDataCToCpp::IsFragment()
return _retval?true:false;
}
bool CefDragDataCToCpp::IsFile()
{
if (CEF_MEMBER_MISSING(struct_, is_file))
@@ -60,7 +58,6 @@ bool CefDragDataCToCpp::IsFile()
return _retval?true:false;
}
CefString CefDragDataCToCpp::GetLinkURL()
{
if (CEF_MEMBER_MISSING(struct_, get_link_url))
@@ -77,7 +74,6 @@ CefString CefDragDataCToCpp::GetLinkURL()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetLinkTitle()
{
if (CEF_MEMBER_MISSING(struct_, get_link_title))
@@ -94,7 +90,6 @@ CefString CefDragDataCToCpp::GetLinkTitle()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetLinkMetadata()
{
if (CEF_MEMBER_MISSING(struct_, get_link_metadata))
@@ -111,7 +106,6 @@ CefString CefDragDataCToCpp::GetLinkMetadata()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetFragmentText()
{
if (CEF_MEMBER_MISSING(struct_, get_fragment_text))
@@ -128,7 +122,6 @@ CefString CefDragDataCToCpp::GetFragmentText()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetFragmentHtml()
{
if (CEF_MEMBER_MISSING(struct_, get_fragment_html))
@@ -145,7 +138,6 @@ CefString CefDragDataCToCpp::GetFragmentHtml()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetFragmentBaseURL()
{
if (CEF_MEMBER_MISSING(struct_, get_fragment_base_url))
@@ -162,7 +154,6 @@ CefString CefDragDataCToCpp::GetFragmentBaseURL()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetFileExtension()
{
if (CEF_MEMBER_MISSING(struct_, get_file_extension))
@@ -179,7 +170,6 @@ CefString CefDragDataCToCpp::GetFileExtension()
return _retvalStr;
}
CefString CefDragDataCToCpp::GetFileName()
{
if (CEF_MEMBER_MISSING(struct_, get_file_name))
@@ -196,7 +186,6 @@ CefString CefDragDataCToCpp::GetFileName()
return _retvalStr;
}
bool CefDragDataCToCpp::GetFileNames(std::vector<CefString>& names)
{
if (CEF_MEMBER_MISSING(struct_, get_file_names))
@@ -226,7 +215,6 @@ bool CefDragDataCToCpp::GetFileNames(std::vector<CefString>& names)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDragDataCToCpp, CefDragData,
cef_drag_data_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_drag_data.h"
#include "include/capi/cef_drag_data_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -44,7 +44,6 @@ bool CefDragHandlerCToCpp::OnDragStart(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefDragHandlerCToCpp::OnDragEnter(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefDragData> dragData, DragOperationsMask mask)
{
@@ -73,7 +72,6 @@ bool CefDragHandlerCToCpp::OnDragEnter(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefDragHandlerCToCpp, CefDragHandler,
cef_drag_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_drag_handler.h"
#include "include/capi/cef_drag_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -41,7 +41,6 @@ void CefFindHandlerCToCpp::OnFindResult(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefFindHandlerCToCpp, CefFindHandler,
cef_find_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_find_handler.h"
#include "include/capi/cef_find_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -37,7 +37,6 @@ void CefFocusHandlerCToCpp::OnTakeFocus(CefRefPtr<CefBrowser> browser,
next);
}
bool CefFocusHandlerCToCpp::OnSetFocus(CefRefPtr<CefBrowser> browser,
FocusSource source)
{
@@ -60,7 +59,6 @@ bool CefFocusHandlerCToCpp::OnSetFocus(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
void CefFocusHandlerCToCpp::OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, CefRefPtr<CefDOMNode> node)
{
@@ -83,7 +81,6 @@ void CefFocusHandlerCToCpp::OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefFocusHandlerCToCpp, CefFocusHandler,
cef_focus_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_focus_handler.h"
#include "include/capi/cef_focus_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -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;

View File

@@ -17,8 +17,18 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_dom.h"
#include "include/capi/cef_dom_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -48,7 +48,6 @@ bool CefJSDialogHandlerCToCpp::OnJSAlert(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefJSDialogHandlerCToCpp::OnJSConfirm(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefString& message, bool& retval)
{
@@ -87,7 +86,6 @@ bool CefJSDialogHandlerCToCpp::OnJSConfirm(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefJSDialogHandlerCToCpp::OnJSPrompt(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefString& message,
const CefString& defaultValue, bool& retval, CefString& result)
@@ -134,7 +132,6 @@ bool CefJSDialogHandlerCToCpp::OnJSPrompt(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefJSDialogHandlerCToCpp, CefJSDialogHandler,
cef_jsdialog_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_jsdialog_handler.h"
#include "include/capi/cef_jsdialog_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -44,7 +44,6 @@ bool CefKeyboardHandlerCToCpp::OnKeyEvent(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefKeyboardHandlerCToCpp, CefKeyboardHandler,
cef_keyboard_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_keyboard_handler.h"
#include "include/capi/cef_keyboard_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -61,7 +61,6 @@ bool CefLifeSpanHandlerCToCpp::OnBeforePopup(
return _retval?true:false;
}
void CefLifeSpanHandlerCToCpp::OnAfterCreated(CefRefPtr<CefBrowser> browser)
{
if (CEF_MEMBER_MISSING(struct_, on_after_created))
@@ -79,7 +78,6 @@ void CefLifeSpanHandlerCToCpp::OnAfterCreated(CefRefPtr<CefBrowser> browser)
CefBrowserCppToC::Wrap(browser));
}
bool CefLifeSpanHandlerCToCpp::RunModal(CefRefPtr<CefBrowser> browser)
{
if (CEF_MEMBER_MISSING(struct_, run_modal))
@@ -100,7 +98,6 @@ bool CefLifeSpanHandlerCToCpp::RunModal(CefRefPtr<CefBrowser> browser)
return _retval?true:false;
}
bool CefLifeSpanHandlerCToCpp::DoClose(CefRefPtr<CefBrowser> browser)
{
if (CEF_MEMBER_MISSING(struct_, do_close))
@@ -121,7 +118,6 @@ bool CefLifeSpanHandlerCToCpp::DoClose(CefRefPtr<CefBrowser> browser)
return _retval?true:false;
}
void CefLifeSpanHandlerCToCpp::OnBeforeClose(CefRefPtr<CefBrowser> browser)
{
if (CEF_MEMBER_MISSING(struct_, on_before_close))
@@ -140,7 +136,6 @@ void CefLifeSpanHandlerCToCpp::OnBeforeClose(CefRefPtr<CefBrowser> browser)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefLifeSpanHandlerCToCpp, CefLifeSpanHandler,
cef_life_span_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_life_span_handler.h"
#include "include/capi/cef_life_span_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_client.h"
#include "include/capi/cef_client_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -40,7 +40,6 @@ void CefLoadHandlerCToCpp::OnLoadStart(CefRefPtr<CefBrowser> browser,
CefFrameCppToC::Wrap(frame));
}
void CefLoadHandlerCToCpp::OnLoadEnd(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, int httpStatusCode)
{
@@ -65,7 +64,6 @@ void CefLoadHandlerCToCpp::OnLoadEnd(CefRefPtr<CefBrowser> browser,
httpStatusCode);
}
bool CefLoadHandlerCToCpp::OnLoadError(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, ErrorCode errorCode, const CefString& failedUrl,
CefString& errorText)
@@ -101,7 +99,6 @@ bool CefLoadHandlerCToCpp::OnLoadError(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefLoadHandlerCToCpp, CefLoadHandler,
cef_load_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_load_handler.h"
#include "include/capi/cef_load_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -38,7 +38,6 @@ bool CefMenuHandlerCToCpp::OnBeforeMenu(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
void CefMenuHandlerCToCpp::GetMenuLabel(CefRefPtr<CefBrowser> browser,
MenuId menuId, CefString& label)
{
@@ -59,7 +58,6 @@ void CefMenuHandlerCToCpp::GetMenuLabel(CefRefPtr<CefBrowser> browser,
label.GetWritableStruct());
}
bool CefMenuHandlerCToCpp::OnMenuAction(CefRefPtr<CefBrowser> browser,
MenuId menuId)
{
@@ -83,7 +81,6 @@ bool CefMenuHandlerCToCpp::OnMenuAction(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefMenuHandlerCToCpp, CefMenuHandler,
cef_menu_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_menu_handler.h"
#include "include/capi/cef_menu_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -28,7 +28,6 @@ CefRefPtr<CefPostData> CefPostData::CreatePostData()
}
// VIRTUAL METHODS - Body may be edited by hand.
size_t CefPostDataCToCpp::GetElementCount()
@@ -45,7 +44,6 @@ size_t CefPostDataCToCpp::GetElementCount()
return _retval;
}
void CefPostDataCToCpp::GetElements(ElementVector& elements)
{
if (CEF_MEMBER_MISSING(struct_, get_elements))
@@ -85,7 +83,6 @@ void CefPostDataCToCpp::GetElements(ElementVector& elements)
}
}
bool CefPostDataCToCpp::RemoveElement(CefRefPtr<CefPostDataElement> element)
{
if (CEF_MEMBER_MISSING(struct_, remove_element))
@@ -106,7 +103,6 @@ bool CefPostDataCToCpp::RemoveElement(CefRefPtr<CefPostDataElement> element)
return _retval?true:false;
}
bool CefPostDataCToCpp::AddElement(CefRefPtr<CefPostDataElement> element)
{
if (CEF_MEMBER_MISSING(struct_, add_element))
@@ -127,7 +123,6 @@ bool CefPostDataCToCpp::AddElement(CefRefPtr<CefPostDataElement> element)
return _retval?true:false;
}
void CefPostDataCToCpp::RemoveElements()
{
if (CEF_MEMBER_MISSING(struct_, remove_elements))
@@ -140,7 +135,6 @@ void CefPostDataCToCpp::RemoveElements()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefPostDataCToCpp, CefPostData,
cef_post_data_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -27,7 +27,6 @@ CefRefPtr<CefPostDataElement> CefPostDataElement::CreatePostDataElement()
}
// VIRTUAL METHODS - Body may be edited by hand.
void CefPostDataElementCToCpp::SetToEmpty()
@@ -41,7 +40,6 @@ void CefPostDataElementCToCpp::SetToEmpty()
struct_->set_to_empty(struct_);
}
void CefPostDataElementCToCpp::SetToFile(const CefString& fileName)
{
if (CEF_MEMBER_MISSING(struct_, set_to_file))
@@ -59,7 +57,6 @@ void CefPostDataElementCToCpp::SetToFile(const CefString& fileName)
fileName.GetStruct());
}
void CefPostDataElementCToCpp::SetToBytes(size_t size, const void* bytes)
{
if (CEF_MEMBER_MISSING(struct_, set_to_bytes))
@@ -78,7 +75,6 @@ void CefPostDataElementCToCpp::SetToBytes(size_t size, const void* bytes)
bytes);
}
CefPostDataElement::Type CefPostDataElementCToCpp::GetType()
{
if (CEF_MEMBER_MISSING(struct_, get_type))
@@ -93,7 +89,6 @@ CefPostDataElement::Type CefPostDataElementCToCpp::GetType()
return _retval;
}
CefString CefPostDataElementCToCpp::GetFile()
{
if (CEF_MEMBER_MISSING(struct_, get_file))
@@ -110,7 +105,6 @@ CefString CefPostDataElementCToCpp::GetFile()
return _retvalStr;
}
size_t CefPostDataElementCToCpp::GetBytesCount()
{
if (CEF_MEMBER_MISSING(struct_, get_bytes_count))
@@ -125,7 +119,6 @@ size_t CefPostDataElementCToCpp::GetBytesCount()
return _retval;
}
size_t CefPostDataElementCToCpp::GetBytes(size_t size, void* bytes)
{
if (CEF_MEMBER_MISSING(struct_, get_bytes))
@@ -148,7 +141,6 @@ size_t CefPostDataElementCToCpp::GetBytes(size_t size, void* bytes)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefPostDataElementCToCpp, CefPostDataElement,
cef_post_data_element_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -39,7 +39,6 @@ bool CefPrintHandlerCToCpp::GetPrintOptions(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefPrintHandlerCToCpp::GetPrintHeaderFooter(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefPrintInfo& printInfo,
const CefString& url, const CefString& title, int currentPage,
@@ -90,7 +89,6 @@ bool CefPrintHandlerCToCpp::GetPrintHeaderFooter(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefPrintHandlerCToCpp, CefPrintHandler,
cef_print_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_print_handler.h"
#include "include/capi/cef_print_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -35,7 +35,6 @@ void CefProxyHandlerCToCpp::GetProxyForUrl(const CefString& url,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefProxyHandlerCToCpp, CefProxyHandler,
cef_proxy_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_proxy_handler.h"
#include "include/capi/cef_proxy_handler_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -37,7 +37,6 @@ size_t CefReadHandlerCToCpp::Read(void* ptr, size_t size, size_t n)
return _retval;
}
int CefReadHandlerCToCpp::Seek(long offset, int whence)
{
if (CEF_MEMBER_MISSING(struct_, seek))
@@ -54,7 +53,6 @@ int CefReadHandlerCToCpp::Seek(long offset, int whence)
return _retval;
}
long CefReadHandlerCToCpp::Tell()
{
if (CEF_MEMBER_MISSING(struct_, tell))
@@ -69,7 +67,6 @@ long CefReadHandlerCToCpp::Tell()
return _retval;
}
int CefReadHandlerCToCpp::Eof()
{
if (CEF_MEMBER_MISSING(struct_, eof))
@@ -85,7 +82,6 @@ int CefReadHandlerCToCpp::Eof()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefReadHandlerCToCpp, CefReadHandler,
cef_read_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -38,7 +38,6 @@ bool CefRenderHandlerCToCpp::GetViewRect(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefRenderHandlerCToCpp::GetScreenRect(CefRefPtr<CefBrowser> browser,
CefRect& rect)
{
@@ -61,7 +60,6 @@ bool CefRenderHandlerCToCpp::GetScreenRect(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefRenderHandlerCToCpp::GetScreenPoint(CefRefPtr<CefBrowser> browser,
int viewX, int viewY, int& screenX, int& screenY)
{
@@ -87,7 +85,6 @@ bool CefRenderHandlerCToCpp::GetScreenPoint(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
void CefRenderHandlerCToCpp::OnPopupShow(CefRefPtr<CefBrowser> browser,
bool show)
{
@@ -107,7 +104,6 @@ void CefRenderHandlerCToCpp::OnPopupShow(CefRefPtr<CefBrowser> browser,
show);
}
void CefRenderHandlerCToCpp::OnPopupSize(CefRefPtr<CefBrowser> browser,
const CefRect& rect)
{
@@ -127,7 +123,6 @@ void CefRenderHandlerCToCpp::OnPopupSize(CefRefPtr<CefBrowser> browser,
&rect);
}
void CefRenderHandlerCToCpp::OnPaint(CefRefPtr<CefBrowser> browser,
PaintElementType type, const RectList& dirtyRects, const void* buffer)
{
@@ -167,7 +162,6 @@ void CefRenderHandlerCToCpp::OnPaint(CefRefPtr<CefBrowser> browser,
buffer);
}
void CefRenderHandlerCToCpp::OnCursorChange(CefRefPtr<CefBrowser> browser,
CefCursorHandle cursor)
{
@@ -188,7 +182,6 @@ void CefRenderHandlerCToCpp::OnCursorChange(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefRenderHandlerCToCpp, CefRenderHandler,
cef_render_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_render_handler.h"
#include "include/capi/cef_render_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -29,7 +29,6 @@ CefRefPtr<CefRequest> CefRequest::CreateRequest()
}
// VIRTUAL METHODS - Body may be edited by hand.
CefString CefRequestCToCpp::GetURL()
@@ -48,7 +47,6 @@ CefString CefRequestCToCpp::GetURL()
return _retvalStr;
}
void CefRequestCToCpp::SetURL(const CefString& url)
{
if (CEF_MEMBER_MISSING(struct_, set_url))
@@ -66,7 +64,6 @@ void CefRequestCToCpp::SetURL(const CefString& url)
url.GetStruct());
}
CefString CefRequestCToCpp::GetMethod()
{
if (CEF_MEMBER_MISSING(struct_, get_method))
@@ -83,7 +80,6 @@ CefString CefRequestCToCpp::GetMethod()
return _retvalStr;
}
void CefRequestCToCpp::SetMethod(const CefString& method)
{
if (CEF_MEMBER_MISSING(struct_, set_method))
@@ -101,7 +97,6 @@ void CefRequestCToCpp::SetMethod(const CefString& method)
method.GetStruct());
}
CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData()
{
if (CEF_MEMBER_MISSING(struct_, get_post_data))
@@ -116,7 +111,6 @@ CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData()
return CefPostDataCToCpp::Wrap(_retval);
}
void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData)
{
if (CEF_MEMBER_MISSING(struct_, set_post_data))
@@ -134,7 +128,6 @@ void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData)
CefPostDataCToCpp::Unwrap(postData));
}
void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap)
{
if (CEF_MEMBER_MISSING(struct_, get_header_map))
@@ -160,7 +153,6 @@ void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap)
}
}
void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap)
{
if (CEF_MEMBER_MISSING(struct_, set_header_map))
@@ -183,7 +175,6 @@ void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap)
cef_string_multimap_free(headerMapMultimap);
}
void CefRequestCToCpp::Set(const CefString& url, const CefString& method,
CefRefPtr<CefPostData> postData, const HeaderMap& headerMap)
{
@@ -220,7 +211,6 @@ void CefRequestCToCpp::Set(const CefString& url, const CefString& method,
cef_string_multimap_free(headerMapMultimap);
}
CefRequest::RequestFlags CefRequestCToCpp::GetFlags()
{
if (CEF_MEMBER_MISSING(struct_, get_flags))
@@ -235,7 +225,6 @@ CefRequest::RequestFlags CefRequestCToCpp::GetFlags()
return _retval;
}
void CefRequestCToCpp::SetFlags(RequestFlags flags)
{
if (CEF_MEMBER_MISSING(struct_, set_flags))
@@ -248,7 +237,6 @@ void CefRequestCToCpp::SetFlags(RequestFlags flags)
flags);
}
CefString CefRequestCToCpp::GetFirstPartyForCookies()
{
if (CEF_MEMBER_MISSING(struct_, get_first_party_for_cookies))
@@ -265,7 +253,6 @@ CefString CefRequestCToCpp::GetFirstPartyForCookies()
return _retvalStr;
}
void CefRequestCToCpp::SetFirstPartyForCookies(const CefString& url)
{
if (CEF_MEMBER_MISSING(struct_, set_first_party_for_cookies))
@@ -284,7 +271,6 @@ void CefRequestCToCpp::SetFirstPartyForCookies(const CefString& url)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefRequestCToCpp, CefRequest,
cef_request_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -56,7 +56,6 @@ bool CefRequestHandlerCToCpp::OnBeforeBrowse(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefRequestHandlerCToCpp::OnBeforeResourceLoad(
CefRefPtr<CefBrowser> browser, CefRefPtr<CefRequest> request,
CefString& redirectUrl, CefRefPtr<CefStreamReader>& resourceStream,
@@ -108,7 +107,6 @@ bool CefRequestHandlerCToCpp::OnBeforeResourceLoad(
return _retval?true:false;
}
void CefRequestHandlerCToCpp::OnResourceRedirect(CefRefPtr<CefBrowser> browser,
const CefString& old_url, CefString& new_url)
{
@@ -133,7 +131,6 @@ void CefRequestHandlerCToCpp::OnResourceRedirect(CefRefPtr<CefBrowser> browser,
new_url.GetWritableStruct());
}
void CefRequestHandlerCToCpp::OnResourceResponse(CefRefPtr<CefBrowser> browser,
const CefString& url, CefRefPtr<CefResponse> response,
CefRefPtr<CefContentFilter>& filter)
@@ -179,7 +176,6 @@ void CefRequestHandlerCToCpp::OnResourceResponse(CefRefPtr<CefBrowser> browser,
}
}
bool CefRequestHandlerCToCpp::OnProtocolExecution(CefRefPtr<CefBrowser> browser,
const CefString& url, bool& allowOSExecution)
{
@@ -213,7 +209,6 @@ bool CefRequestHandlerCToCpp::OnProtocolExecution(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefRequestHandlerCToCpp::GetDownloadHandler(CefRefPtr<CefBrowser> browser,
const CefString& mimeType, const CefString& fileName, int64 contentLength,
CefRefPtr<CefDownloadHandler>& handler)
@@ -263,7 +258,6 @@ bool CefRequestHandlerCToCpp::GetDownloadHandler(CefRefPtr<CefBrowser> browser,
return _retval?true:false;
}
bool CefRequestHandlerCToCpp::GetAuthCredentials(CefRefPtr<CefBrowser> browser,
bool isProxy, const CefString& host, int port, const CefString& realm,
const CefString& scheme, CefString& username, CefString& password)
@@ -303,7 +297,6 @@ bool CefRequestHandlerCToCpp::GetAuthCredentials(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefRequestHandlerCToCpp, CefRequestHandler,
cef_request_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_request_handler.h"
#include "include/capi/cef_request_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -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;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_response.h"
#include "include/capi/cef_response_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -26,7 +26,6 @@ void CefSchemeHandlerCallbackCToCpp::HeadersAvailable()
struct_->headers_available(struct_);
}
void CefSchemeHandlerCallbackCToCpp::BytesAvailable()
{
if (CEF_MEMBER_MISSING(struct_, bytes_available))
@@ -38,7 +37,6 @@ void CefSchemeHandlerCallbackCToCpp::BytesAvailable()
struct_->bytes_available(struct_);
}
void CefSchemeHandlerCallbackCToCpp::Cancel()
{
if (CEF_MEMBER_MISSING(struct_, cancel))
@@ -51,7 +49,6 @@ void CefSchemeHandlerCallbackCToCpp::Cancel()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefSchemeHandlerCallbackCToCpp,
CefSchemeHandlerCallback, cef_scheme_handler_callback_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,14 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_scheme.h"
#include "include/capi/cef_scheme_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_response.h"
#include "include/capi/cef_response_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -44,7 +44,6 @@ bool CefSchemeHandlerCToCpp::ProcessRequest(CefRefPtr<CefRequest> request,
return _retval?true:false;
}
void CefSchemeHandlerCToCpp::GetResponseHeaders(CefRefPtr<CefResponse> response,
int64& response_length, CefString& redirectUrl)
{
@@ -65,7 +64,6 @@ void CefSchemeHandlerCToCpp::GetResponseHeaders(CefRefPtr<CefResponse> response,
redirectUrl.GetWritableStruct());
}
bool CefSchemeHandlerCToCpp::ReadResponse(void* data_out, int bytes_to_read,
int& bytes_read, CefRefPtr<CefSchemeHandlerCallback> callback)
{
@@ -94,7 +92,6 @@ bool CefSchemeHandlerCToCpp::ReadResponse(void* data_out, int bytes_to_read,
return _retval?true:false;
}
void CefSchemeHandlerCToCpp::Cancel()
{
if (CEF_MEMBER_MISSING(struct_, cancel))
@@ -107,7 +104,6 @@ void CefSchemeHandlerCToCpp::Cancel()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefSchemeHandlerCToCpp, CefSchemeHandler,
cef_scheme_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,14 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_scheme.h"
#include "include/capi/cef_scheme_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_response.h"
#include "include/capi/cef_response_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -51,7 +51,6 @@ CefRefPtr<CefSchemeHandler> CefSchemeHandlerFactoryCToCpp::Create(
}
#ifndef NDEBUG
template<> long CefCToCpp<CefSchemeHandlerFactoryCToCpp,
CefSchemeHandlerFactory, cef_scheme_handler_factory_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,14 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_scheme.h"
#include "include/capi/cef_scheme_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_response.h"
#include "include/capi/cef_response_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -58,7 +58,6 @@ bool CefStorageVisitorCToCpp::Visit(CefStorageType type,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefStorageVisitorCToCpp, CefStorageVisitor,
cef_storage_visitor_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_storage.h"
#include "include/capi/cef_storage_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -34,7 +34,6 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForFile(
return CefStreamReaderCToCpp::Wrap(_retval);
}
CefRefPtr<CefStreamReader> CefStreamReader::CreateForData(void* data,
size_t size)
{
@@ -54,7 +53,6 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForData(void* data,
return CefStreamReaderCToCpp::Wrap(_retval);
}
CefRefPtr<CefStreamReader> CefStreamReader::CreateForHandler(
CefRefPtr<CefReadHandler> handler)
{
@@ -74,7 +72,6 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForHandler(
}
// VIRTUAL METHODS - Body may be edited by hand.
size_t CefStreamReaderCToCpp::Read(void* ptr, size_t size, size_t n)
@@ -99,7 +96,6 @@ size_t CefStreamReaderCToCpp::Read(void* ptr, size_t size, size_t n)
return _retval;
}
int CefStreamReaderCToCpp::Seek(long offset, int whence)
{
if (CEF_MEMBER_MISSING(struct_, seek))
@@ -116,7 +112,6 @@ int CefStreamReaderCToCpp::Seek(long offset, int whence)
return _retval;
}
long CefStreamReaderCToCpp::Tell()
{
if (CEF_MEMBER_MISSING(struct_, tell))
@@ -131,7 +126,6 @@ long CefStreamReaderCToCpp::Tell()
return _retval;
}
int CefStreamReaderCToCpp::Eof()
{
if (CEF_MEMBER_MISSING(struct_, eof))
@@ -147,7 +141,6 @@ int CefStreamReaderCToCpp::Eof()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefStreamReaderCToCpp, CefStreamReader,
cef_stream_reader_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -34,7 +34,6 @@ CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForFile(
return CefStreamWriterCToCpp::Wrap(_retval);
}
CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForHandler(
CefRefPtr<CefWriteHandler> handler)
{
@@ -54,7 +53,6 @@ CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForHandler(
}
// VIRTUAL METHODS - Body may be edited by hand.
size_t CefStreamWriterCToCpp::Write(const void* ptr, size_t size, size_t n)
@@ -79,7 +77,6 @@ size_t CefStreamWriterCToCpp::Write(const void* ptr, size_t size, size_t n)
return _retval;
}
int CefStreamWriterCToCpp::Seek(long offset, int whence)
{
if (CEF_MEMBER_MISSING(struct_, seek))
@@ -96,7 +93,6 @@ int CefStreamWriterCToCpp::Seek(long offset, int whence)
return _retval;
}
long CefStreamWriterCToCpp::Tell()
{
if (CEF_MEMBER_MISSING(struct_, tell))
@@ -111,7 +107,6 @@ long CefStreamWriterCToCpp::Tell()
return _retval;
}
int CefStreamWriterCToCpp::Flush()
{
if (CEF_MEMBER_MISSING(struct_, flush))
@@ -127,7 +122,6 @@ int CefStreamWriterCToCpp::Flush()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefStreamWriterCToCpp, CefStreamWriter,
cef_stream_writer_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -28,7 +28,6 @@ void CefTaskCToCpp::Execute(CefThreadId threadId)
}
#ifndef NDEBUG
template<> long CefCToCpp<CefTaskCToCpp, CefTask, cef_task_t>::DebugObjCt = 0;
#endif

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_task.h"
#include "include/capi/cef_task_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -60,7 +60,6 @@ bool CefV8AccessorCToCpp::Get(const CefString& name,
return _retval?true:false;
}
bool CefV8AccessorCToCpp::Set(const CefString& name,
const CefRefPtr<CefV8Value> object, const CefRefPtr<CefV8Value> value,
CefString& exception)
@@ -95,7 +94,6 @@ bool CefV8AccessorCToCpp::Set(const CefString& name,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefV8AccessorCToCpp, CefV8Accessor,
cef_v8accessor_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -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;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -46,7 +46,6 @@ void CefV8ContextHandlerCToCpp::OnContextCreated(CefRefPtr<CefBrowser> browser,
CefV8ContextCppToC::Wrap(context));
}
void CefV8ContextHandlerCToCpp::OnContextReleased(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, CefRefPtr<CefV8Context> context)
{
@@ -76,7 +75,6 @@ void CefV8ContextHandlerCToCpp::OnContextReleased(CefRefPtr<CefBrowser> browser,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefV8ContextHandlerCToCpp, CefV8ContextHandler,
cef_v8context_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_v8context_handler.h"
#include "include/capi/cef_v8context_handler_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -31,7 +31,6 @@ CefString CefV8ExceptionCToCpp::GetMessage()
return _retvalStr;
}
CefString CefV8ExceptionCToCpp::GetSourceLine()
{
if (CEF_MEMBER_MISSING(struct_, get_source_line))
@@ -48,7 +47,6 @@ CefString CefV8ExceptionCToCpp::GetSourceLine()
return _retvalStr;
}
CefString CefV8ExceptionCToCpp::GetScriptResourceName()
{
if (CEF_MEMBER_MISSING(struct_, get_script_resource_name))
@@ -65,7 +63,6 @@ CefString CefV8ExceptionCToCpp::GetScriptResourceName()
return _retvalStr;
}
int CefV8ExceptionCToCpp::GetLineNumber()
{
if (CEF_MEMBER_MISSING(struct_, get_line_number))
@@ -80,7 +77,6 @@ int CefV8ExceptionCToCpp::GetLineNumber()
return _retval;
}
int CefV8ExceptionCToCpp::GetStartPosition()
{
if (CEF_MEMBER_MISSING(struct_, get_start_position))
@@ -95,7 +91,6 @@ int CefV8ExceptionCToCpp::GetStartPosition()
return _retval;
}
int CefV8ExceptionCToCpp::GetEndPosition()
{
if (CEF_MEMBER_MISSING(struct_, get_end_position))
@@ -110,7 +105,6 @@ int CefV8ExceptionCToCpp::GetEndPosition()
return _retval;
}
int CefV8ExceptionCToCpp::GetStartColumn()
{
if (CEF_MEMBER_MISSING(struct_, get_start_column))
@@ -125,7 +119,6 @@ int CefV8ExceptionCToCpp::GetStartColumn()
return _retval;
}
int CefV8ExceptionCToCpp::GetEndColumn()
{
if (CEF_MEMBER_MISSING(struct_, get_end_column))
@@ -141,7 +134,6 @@ int CefV8ExceptionCToCpp::GetEndColumn()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefV8ExceptionCToCpp, CefV8Exception,
cef_v8exception_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -75,7 +75,6 @@ bool CefV8HandlerCToCpp::Execute(const CefString& name,
}
#ifndef NDEBUG
template<> long CefCToCpp<CefV8HandlerCToCpp, CefV8Handler,
cef_v8handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -32,7 +32,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateUndefined()
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateNull()
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -44,7 +43,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateNull()
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateBool(bool value)
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -57,7 +55,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateBool(bool value)
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateInt(int value)
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -70,7 +67,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateInt(int value)
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateDouble(double value)
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -83,7 +79,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateDouble(double value)
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateDate(const CefTime& date)
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -96,7 +91,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateDate(const CefTime& date)
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateString(const CefString& value)
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -111,7 +105,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateString(const CefString& value)
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateObject(CefRefPtr<CefBase> user_data,
CefRefPtr<CefV8Accessor> accessor)
{
@@ -128,7 +121,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateObject(CefRefPtr<CefBase> user_data,
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateArray()
{
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@@ -140,7 +132,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateArray()
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8Value::CreateFunction(const CefString& name,
CefRefPtr<CefV8Handler> handler)
{
@@ -165,7 +156,6 @@ CefRefPtr<CefV8Value> CefV8Value::CreateFunction(const CefString& name,
}
// VIRTUAL METHODS - Body may be edited by hand.
bool CefV8ValueCToCpp::IsUndefined()
@@ -182,7 +172,6 @@ bool CefV8ValueCToCpp::IsUndefined()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsNull()
{
if (CEF_MEMBER_MISSING(struct_, is_null))
@@ -197,7 +186,6 @@ bool CefV8ValueCToCpp::IsNull()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsBool()
{
if (CEF_MEMBER_MISSING(struct_, is_bool))
@@ -212,7 +200,6 @@ bool CefV8ValueCToCpp::IsBool()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsInt()
{
if (CEF_MEMBER_MISSING(struct_, is_int))
@@ -227,7 +214,6 @@ bool CefV8ValueCToCpp::IsInt()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsDouble()
{
if (CEF_MEMBER_MISSING(struct_, is_double))
@@ -242,7 +228,6 @@ bool CefV8ValueCToCpp::IsDouble()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsDate()
{
if (CEF_MEMBER_MISSING(struct_, is_date))
@@ -257,7 +242,6 @@ bool CefV8ValueCToCpp::IsDate()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsString()
{
if (CEF_MEMBER_MISSING(struct_, is_string))
@@ -272,7 +256,6 @@ bool CefV8ValueCToCpp::IsString()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsObject()
{
if (CEF_MEMBER_MISSING(struct_, is_object))
@@ -287,7 +270,6 @@ bool CefV8ValueCToCpp::IsObject()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsArray()
{
if (CEF_MEMBER_MISSING(struct_, is_array))
@@ -302,7 +284,6 @@ bool CefV8ValueCToCpp::IsArray()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsFunction()
{
if (CEF_MEMBER_MISSING(struct_, is_function))
@@ -317,7 +298,6 @@ bool CefV8ValueCToCpp::IsFunction()
return _retval?true:false;
}
bool CefV8ValueCToCpp::IsSame(CefRefPtr<CefV8Value> that)
{
if (CEF_MEMBER_MISSING(struct_, is_same))
@@ -338,7 +318,6 @@ bool CefV8ValueCToCpp::IsSame(CefRefPtr<CefV8Value> that)
return _retval?true:false;
}
bool CefV8ValueCToCpp::GetBoolValue()
{
if (CEF_MEMBER_MISSING(struct_, get_bool_value))
@@ -353,7 +332,6 @@ bool CefV8ValueCToCpp::GetBoolValue()
return _retval?true:false;
}
int CefV8ValueCToCpp::GetIntValue()
{
if (CEF_MEMBER_MISSING(struct_, get_int_value))
@@ -368,7 +346,6 @@ int CefV8ValueCToCpp::GetIntValue()
return _retval;
}
double CefV8ValueCToCpp::GetDoubleValue()
{
if (CEF_MEMBER_MISSING(struct_, get_double_value))
@@ -383,7 +360,6 @@ double CefV8ValueCToCpp::GetDoubleValue()
return _retval;
}
CefTime CefV8ValueCToCpp::GetDateValue()
{
if (CEF_MEMBER_MISSING(struct_, get_date_value))
@@ -398,7 +374,6 @@ CefTime CefV8ValueCToCpp::GetDateValue()
return _retval;
}
CefString CefV8ValueCToCpp::GetStringValue()
{
if (CEF_MEMBER_MISSING(struct_, get_string_value))
@@ -415,7 +390,6 @@ CefString CefV8ValueCToCpp::GetStringValue()
return _retvalStr;
}
bool CefV8ValueCToCpp::HasValue(const CefString& key)
{
if (CEF_MEMBER_MISSING(struct_, has_value_bykey))
@@ -436,7 +410,6 @@ bool CefV8ValueCToCpp::HasValue(const CefString& key)
return _retval?true:false;
}
bool CefV8ValueCToCpp::HasValue(int index)
{
if (CEF_MEMBER_MISSING(struct_, has_value_byindex))
@@ -457,7 +430,6 @@ bool CefV8ValueCToCpp::HasValue(int index)
return _retval?true:false;
}
bool CefV8ValueCToCpp::DeleteValue(const CefString& key)
{
if (CEF_MEMBER_MISSING(struct_, delete_value_bykey))
@@ -478,7 +450,6 @@ bool CefV8ValueCToCpp::DeleteValue(const CefString& key)
return _retval?true:false;
}
bool CefV8ValueCToCpp::DeleteValue(int index)
{
if (CEF_MEMBER_MISSING(struct_, delete_value_byindex))
@@ -499,7 +470,6 @@ bool CefV8ValueCToCpp::DeleteValue(int index)
return _retval?true:false;
}
CefRefPtr<CefV8Value> CefV8ValueCToCpp::GetValue(const CefString& key)
{
if (CEF_MEMBER_MISSING(struct_, get_value_bykey))
@@ -520,7 +490,6 @@ CefRefPtr<CefV8Value> CefV8ValueCToCpp::GetValue(const CefString& key)
return CefV8ValueCToCpp::Wrap(_retval);
}
CefRefPtr<CefV8Value> CefV8ValueCToCpp::GetValue(int index)
{
if (CEF_MEMBER_MISSING(struct_, get_value_byindex))
@@ -541,7 +510,6 @@ CefRefPtr<CefV8Value> CefV8ValueCToCpp::GetValue(int index)
return CefV8ValueCToCpp::Wrap(_retval);
}
bool CefV8ValueCToCpp::SetValue(const CefString& key,
CefRefPtr<CefV8Value> value, PropertyAttribute attribute)
{
@@ -569,7 +537,6 @@ bool CefV8ValueCToCpp::SetValue(const CefString& key,
return _retval?true:false;
}
bool CefV8ValueCToCpp::SetValue(int index, CefRefPtr<CefV8Value> value)
{
if (CEF_MEMBER_MISSING(struct_, set_value_byindex))
@@ -595,7 +562,6 @@ bool CefV8ValueCToCpp::SetValue(int index, CefRefPtr<CefV8Value> value)
return _retval?true:false;
}
bool CefV8ValueCToCpp::SetValue(const CefString& key, AccessControl settings,
PropertyAttribute attribute)
{
@@ -619,7 +585,6 @@ bool CefV8ValueCToCpp::SetValue(const CefString& key, AccessControl settings,
return _retval?true:false;
}
bool CefV8ValueCToCpp::GetKeys(std::vector<CefString>& keys)
{
if (CEF_MEMBER_MISSING(struct_, get_keys))
@@ -648,7 +613,6 @@ bool CefV8ValueCToCpp::GetKeys(std::vector<CefString>& keys)
return _retval?true:false;
}
CefRefPtr<CefBase> CefV8ValueCToCpp::GetUserData()
{
if (CEF_MEMBER_MISSING(struct_, get_user_data))
@@ -663,7 +627,6 @@ CefRefPtr<CefBase> CefV8ValueCToCpp::GetUserData()
return CefBaseCppToC::Unwrap(_retval);
}
int CefV8ValueCToCpp::GetArrayLength()
{
if (CEF_MEMBER_MISSING(struct_, get_array_length))
@@ -678,7 +641,6 @@ int CefV8ValueCToCpp::GetArrayLength()
return _retval;
}
CefString CefV8ValueCToCpp::GetFunctionName()
{
if (CEF_MEMBER_MISSING(struct_, get_function_name))
@@ -695,7 +657,6 @@ CefString CefV8ValueCToCpp::GetFunctionName()
return _retvalStr;
}
CefRefPtr<CefV8Handler> CefV8ValueCToCpp::GetFunctionHandler()
{
if (CEF_MEMBER_MISSING(struct_, get_function_handler))
@@ -710,7 +671,6 @@ CefRefPtr<CefV8Handler> CefV8ValueCToCpp::GetFunctionHandler()
return CefV8HandlerCppToC::Unwrap(_retval);
}
bool CefV8ValueCToCpp::ExecuteFunction(CefRefPtr<CefV8Value> object,
const CefV8ValueList& arguments, CefRefPtr<CefV8Value>& retval,
CefRefPtr<CefV8Exception>& exception, bool rethrow_exception)
@@ -775,7 +735,6 @@ bool CefV8ValueCToCpp::ExecuteFunction(CefRefPtr<CefV8Value> object,
return _retval?true:false;
}
bool CefV8ValueCToCpp::ExecuteFunctionWithContext(
CefRefPtr<CefV8Context> context, CefRefPtr<CefV8Value> object,
const CefV8ValueList& arguments, CefRefPtr<CefV8Value>& retval,
@@ -847,7 +806,6 @@ bool CefV8ValueCToCpp::ExecuteFunctionWithContext(
}
#ifndef NDEBUG
template<> long CefCToCpp<CefV8ValueCToCpp, CefV8Value,
cef_v8value_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "include/cef_browser.h"
#include "include/capi/cef_browser_capi.h"
#include "include/cef_frame.h"
#include "include/capi/cef_frame_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -37,7 +37,6 @@ void CefWebURLRequestClientCToCpp::OnStateChange(
state);
}
void CefWebURLRequestClientCToCpp::OnRedirect(
CefRefPtr<CefWebURLRequest> requester, CefRefPtr<CefRequest> request,
CefRefPtr<CefResponse> response)
@@ -67,7 +66,6 @@ void CefWebURLRequestClientCToCpp::OnRedirect(
CefResponseCppToC::Wrap(response));
}
void CefWebURLRequestClientCToCpp::OnHeadersReceived(
CefRefPtr<CefWebURLRequest> requester, CefRefPtr<CefResponse> response)
{
@@ -91,7 +89,6 @@ void CefWebURLRequestClientCToCpp::OnHeadersReceived(
CefResponseCppToC::Wrap(response));
}
void CefWebURLRequestClientCToCpp::OnProgress(
CefRefPtr<CefWebURLRequest> requester, uint64 bytesSent,
uint64 totalBytesToBeSent)
@@ -113,7 +110,6 @@ void CefWebURLRequestClientCToCpp::OnProgress(
totalBytesToBeSent);
}
void CefWebURLRequestClientCToCpp::OnData(CefRefPtr<CefWebURLRequest> requester,
const void* data, int dataLength)
{
@@ -138,7 +134,6 @@ void CefWebURLRequestClientCToCpp::OnData(CefRefPtr<CefWebURLRequest> requester,
dataLength);
}
void CefWebURLRequestClientCToCpp::OnError(
CefRefPtr<CefWebURLRequest> requester, ErrorCode errorCode)
{
@@ -159,7 +154,6 @@ void CefWebURLRequestClientCToCpp::OnError(
}
#ifndef NDEBUG
template<> long CefCToCpp<CefWebURLRequestClientCToCpp, CefWebURLRequestClient,
cef_web_urlrequest_client_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_web_urlrequest.h"
#include "include/capi/cef_web_urlrequest_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_response.h"
#include "include/capi/cef_response_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -41,7 +41,6 @@ CefRefPtr<CefWebURLRequest> CefWebURLRequest::CreateWebURLRequest(
}
// VIRTUAL METHODS - Body may be edited by hand.
void CefWebURLRequestCToCpp::Cancel()
@@ -55,7 +54,6 @@ void CefWebURLRequestCToCpp::Cancel()
struct_->cancel(struct_);
}
CefWebURLRequest::RequestState CefWebURLRequestCToCpp::GetState()
{
if (CEF_MEMBER_MISSING(struct_, get_state))
@@ -71,7 +69,6 @@ CefWebURLRequest::RequestState CefWebURLRequestCToCpp::GetState()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefWebURLRequestCToCpp, CefWebURLRequest,
cef_web_urlrequest_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,12 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_web_urlrequest.h"
#include "include/capi/cef_web_urlrequest_capi.h"
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_response.h"
#include "include/capi/cef_response_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

View File

@@ -37,7 +37,6 @@ size_t CefWriteHandlerCToCpp::Write(const void* ptr, size_t size, size_t n)
return _retval;
}
int CefWriteHandlerCToCpp::Seek(long offset, int whence)
{
if (CEF_MEMBER_MISSING(struct_, seek))
@@ -54,7 +53,6 @@ int CefWriteHandlerCToCpp::Seek(long offset, int whence)
return _retval;
}
long CefWriteHandlerCToCpp::Tell()
{
if (CEF_MEMBER_MISSING(struct_, tell))
@@ -69,7 +67,6 @@ long CefWriteHandlerCToCpp::Tell()
return _retval;
}
int CefWriteHandlerCToCpp::Flush()
{
if (CEF_MEMBER_MISSING(struct_, flush))
@@ -85,7 +82,6 @@ int CefWriteHandlerCToCpp::Flush()
}
#ifndef NDEBUG
template<> long CefCToCpp<CefWriteHandlerCToCpp, CefWriteHandler,
cef_write_handler_t>::DebugObjCt = 0;

View File

@@ -17,8 +17,8 @@
#pragma message("Warning: "__FILE__" may be accessed DLL-side only")
#else // BUILDING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

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;

View File

@@ -17,8 +17,10 @@
#pragma message("Warning: "__FILE__" may be accessed wrapper-side only")
#else // USING_CEF_SHARED
#include "include/cef.h"
#include "include/cef_capi.h"
#include "include/cef_xml_reader.h"
#include "include/capi/cef_xml_reader_capi.h"
#include "include/cef_stream.h"
#include "include/capi/cef_stream_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
// Wrap a C structure with a C++ class.

Some files were not shown because too many files have changed in this diff Show More