2013-01-02 11:13:43 +01:00
|
|
|
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
2012-04-03 03:34:16 +02:00
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
//
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// This file was generated by the CEF translator tool. If making changes by
|
|
|
|
// hand only do so within the body of existing method and function
|
|
|
|
// implementations. See the translator.README.txt file in the tools directory
|
|
|
|
// for more information.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "libcef_dll/cpptoc/browser_cpptoc.h"
|
|
|
|
#include "libcef_dll/cpptoc/browser_host_cpptoc.h"
|
|
|
|
#include "libcef_dll/ctocpp/client_ctocpp.h"
|
2012-10-16 21:28:07 +02:00
|
|
|
#include "libcef_dll/ctocpp/run_file_dialog_callback_ctocpp.h"
|
|
|
|
#include "libcef_dll/transfer_util.h"
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
|
|
|
|
|
|
|
CEF_EXPORT int cef_browser_host_create_browser(
|
|
|
|
const cef_window_info_t* windowInfo, struct _cef_client_t* client,
|
|
|
|
const cef_string_t* url, const struct _cef_browser_settings_t* settings) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
// Verify param: windowInfo; type: struct_byref_const
|
|
|
|
DCHECK(windowInfo);
|
|
|
|
if (!windowInfo)
|
|
|
|
return 0;
|
|
|
|
// Verify param: settings; type: struct_byref_const
|
|
|
|
DCHECK(settings);
|
|
|
|
if (!settings)
|
|
|
|
return 0;
|
2012-12-12 15:43:57 +01:00
|
|
|
// Unverified params: client, url
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
// Translate param: windowInfo; type: struct_byref_const
|
|
|
|
CefWindowInfo windowInfoObj;
|
|
|
|
if (windowInfo)
|
|
|
|
windowInfoObj.Set(*windowInfo, false);
|
|
|
|
// Translate param: settings; type: struct_byref_const
|
|
|
|
CefBrowserSettings settingsObj;
|
|
|
|
if (settings)
|
|
|
|
settingsObj.Set(*settings, false);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserHost::CreateBrowser(
|
|
|
|
windowInfoObj,
|
|
|
|
CefClientCToCpp::Wrap(client),
|
|
|
|
CefString(url),
|
|
|
|
settingsObj);
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
|
|
|
}
|
|
|
|
|
|
|
|
CEF_EXPORT cef_browser_t* cef_browser_host_create_browser_sync(
|
|
|
|
const cef_window_info_t* windowInfo, struct _cef_client_t* client,
|
|
|
|
const cef_string_t* url, const struct _cef_browser_settings_t* settings) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
// Verify param: windowInfo; type: struct_byref_const
|
|
|
|
DCHECK(windowInfo);
|
|
|
|
if (!windowInfo)
|
|
|
|
return NULL;
|
|
|
|
// Verify param: settings; type: struct_byref_const
|
|
|
|
DCHECK(settings);
|
|
|
|
if (!settings)
|
|
|
|
return NULL;
|
2012-12-12 15:43:57 +01:00
|
|
|
// Unverified params: client, url
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
// Translate param: windowInfo; type: struct_byref_const
|
|
|
|
CefWindowInfo windowInfoObj;
|
|
|
|
if (windowInfo)
|
|
|
|
windowInfoObj.Set(*windowInfo, false);
|
|
|
|
// Translate param: settings; type: struct_byref_const
|
|
|
|
CefBrowserSettings settingsObj;
|
|
|
|
if (settings)
|
|
|
|
settingsObj.Set(*settings, false);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefBrowser> _retval = CefBrowserHost::CreateBrowserSync(
|
|
|
|
windowInfoObj,
|
|
|
|
CefClientCToCpp::Wrap(client),
|
|
|
|
CefString(url),
|
|
|
|
settingsObj);
|
|
|
|
|
|
|
|
// Return type: refptr_same
|
|
|
|
return CefBrowserCppToC::Wrap(_retval);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// MEMBER FUNCTIONS - Body may be edited by hand.
|
|
|
|
|
|
|
|
cef_browser_t* CEF_CALLBACK browser_host_get_browser(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefBrowser> _retval = CefBrowserHostCppToC::Get(self)->GetBrowser();
|
|
|
|
|
|
|
|
// Return type: refptr_same
|
|
|
|
return CefBrowserCppToC::Wrap(_retval);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_parent_window_will_close(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->ParentWindowWillClose();
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_close_browser(struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->CloseBrowser();
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_set_focus(struct _cef_browser_host_t* self,
|
|
|
|
int enable) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SetFocus(
|
|
|
|
enable?true:false);
|
|
|
|
}
|
|
|
|
|
|
|
|
cef_window_handle_t CEF_CALLBACK browser_host_get_window_handle(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
cef_window_handle_t _retval = CefBrowserHostCppToC::Get(
|
|
|
|
self)->GetWindowHandle();
|
|
|
|
|
|
|
|
// Return type: simple
|
|
|
|
return _retval;
|
|
|
|
}
|
|
|
|
|
|
|
|
cef_window_handle_t CEF_CALLBACK browser_host_get_opener_window_handle(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
cef_window_handle_t _retval = CefBrowserHostCppToC::Get(
|
|
|
|
self)->GetOpenerWindowHandle();
|
|
|
|
|
|
|
|
// Return type: simple
|
|
|
|
return _retval;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct _cef_client_t* CEF_CALLBACK browser_host_get_client(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefClient> _retval = CefBrowserHostCppToC::Get(self)->GetClient();
|
|
|
|
|
|
|
|
// Return type: refptr_diff
|
|
|
|
return CefClientCToCpp::Unwrap(_retval);
|
|
|
|
}
|
|
|
|
|
2012-04-27 00:20:18 +02:00
|
|
|
cef_string_userfree_t CEF_CALLBACK browser_host_get_dev_tools_url(
|
2012-05-18 17:04:56 +02:00
|
|
|
struct _cef_browser_host_t* self, int http_scheme) {
|
2012-04-27 00:20:18 +02:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
// Execute
|
2012-05-18 17:04:56 +02:00
|
|
|
CefString _retval = CefBrowserHostCppToC::Get(self)->GetDevToolsURL(
|
|
|
|
http_scheme?true:false);
|
2012-04-27 00:20:18 +02:00
|
|
|
|
|
|
|
// Return type: string
|
|
|
|
return _retval.DetachToUserFree();
|
|
|
|
}
|
|
|
|
|
2012-06-12 21:50:24 +02:00
|
|
|
double CEF_CALLBACK browser_host_get_zoom_level(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
double _retval = CefBrowserHostCppToC::Get(self)->GetZoomLevel();
|
|
|
|
|
|
|
|
// Return type: simple
|
|
|
|
return _retval;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_set_zoom_level(struct _cef_browser_host_t* self,
|
|
|
|
double zoomLevel) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SetZoomLevel(
|
|
|
|
zoomLevel);
|
|
|
|
}
|
|
|
|
|
2012-10-16 21:28:07 +02:00
|
|
|
void CEF_CALLBACK browser_host_run_file_dialog(struct _cef_browser_host_t* self,
|
|
|
|
enum cef_file_dialog_mode_t mode, const cef_string_t* title,
|
|
|
|
const cef_string_t* default_file_name, cef_string_list_t accept_types,
|
|
|
|
cef_run_file_dialog_callback_t* callback) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: callback; type: refptr_diff
|
|
|
|
DCHECK(callback);
|
|
|
|
if (!callback)
|
|
|
|
return;
|
|
|
|
// Unverified params: title, default_file_name, accept_types
|
|
|
|
|
|
|
|
// Translate param: accept_types; type: string_vec_byref_const
|
|
|
|
std::vector<CefString> accept_typesList;
|
|
|
|
transfer_string_list_contents(accept_types, accept_typesList);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->RunFileDialog(
|
|
|
|
mode,
|
|
|
|
CefString(title),
|
|
|
|
CefString(default_file_name),
|
|
|
|
accept_typesList,
|
|
|
|
CefRunFileDialogCallbackCToCpp::Wrap(callback));
|
|
|
|
}
|
|
|
|
|
2013-02-13 23:47:04 +01:00
|
|
|
void CEF_CALLBACK browser_host_start_download(struct _cef_browser_host_t* self,
|
|
|
|
const cef_string_t* url) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: url; type: string_byref_const
|
|
|
|
DCHECK(url);
|
|
|
|
if (!url)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->StartDownload(
|
|
|
|
CefString(url));
|
|
|
|
}
|
|
|
|
|
2012-11-21 01:40:15 +01:00
|
|
|
int CEF_CALLBACK browser_host_is_window_rendering_disabled(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserHostCppToC::Get(self)->IsWindowRenderingDisabled();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_was_resized(struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->WasResized();
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_invalidate(struct _cef_browser_host_t* self,
|
2013-01-12 00:00:39 +01:00
|
|
|
const cef_rect_t* dirtyRect, enum cef_paint_element_type_t type) {
|
2012-11-21 01:40:15 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: dirtyRect; type: simple_byref_const
|
|
|
|
DCHECK(dirtyRect);
|
|
|
|
if (!dirtyRect)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Translate param: dirtyRect; type: simple_byref_const
|
|
|
|
CefRect dirtyRectVal = dirtyRect?*dirtyRect:CefRect();
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->Invalidate(
|
2013-01-12 00:00:39 +01:00
|
|
|
dirtyRectVal,
|
|
|
|
type);
|
2012-11-21 01:40:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_send_key_event(struct _cef_browser_host_t* self,
|
|
|
|
const struct _cef_key_event_t* event) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: event; type: struct_byref_const
|
|
|
|
DCHECK(event);
|
|
|
|
if (!event)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Translate param: event; type: struct_byref_const
|
|
|
|
CefKeyEvent eventObj;
|
|
|
|
if (event)
|
|
|
|
eventObj.Set(*event, false);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SendKeyEvent(
|
|
|
|
eventObj);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_send_mouse_click_event(
|
2013-01-12 00:00:39 +01:00
|
|
|
struct _cef_browser_host_t* self, const struct _cef_mouse_event_t* event,
|
2012-11-21 01:40:15 +01:00
|
|
|
enum cef_mouse_button_type_t type, int mouseUp, int clickCount) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
2013-01-12 00:00:39 +01:00
|
|
|
// Verify param: event; type: struct_byref_const
|
|
|
|
DCHECK(event);
|
|
|
|
if (!event)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Translate param: event; type: struct_byref_const
|
|
|
|
CefMouseEvent eventObj;
|
|
|
|
if (event)
|
|
|
|
eventObj.Set(*event, false);
|
2012-11-21 01:40:15 +01:00
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SendMouseClickEvent(
|
2013-01-12 00:00:39 +01:00
|
|
|
eventObj,
|
2012-11-21 01:40:15 +01:00
|
|
|
type,
|
|
|
|
mouseUp?true:false,
|
|
|
|
clickCount);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_send_mouse_move_event(
|
2013-01-12 00:00:39 +01:00
|
|
|
struct _cef_browser_host_t* self, const struct _cef_mouse_event_t* event,
|
|
|
|
int mouseLeave) {
|
2012-11-21 01:40:15 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
2013-01-12 00:00:39 +01:00
|
|
|
// Verify param: event; type: struct_byref_const
|
|
|
|
DCHECK(event);
|
|
|
|
if (!event)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Translate param: event; type: struct_byref_const
|
|
|
|
CefMouseEvent eventObj;
|
|
|
|
if (event)
|
|
|
|
eventObj.Set(*event, false);
|
2012-11-21 01:40:15 +01:00
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SendMouseMoveEvent(
|
2013-01-12 00:00:39 +01:00
|
|
|
eventObj,
|
2012-11-21 01:40:15 +01:00
|
|
|
mouseLeave?true:false);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_send_mouse_wheel_event(
|
2013-01-12 00:00:39 +01:00
|
|
|
struct _cef_browser_host_t* self, const struct _cef_mouse_event_t* event,
|
|
|
|
int deltaX, int deltaY) {
|
2012-11-21 01:40:15 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
2013-01-12 00:00:39 +01:00
|
|
|
// Verify param: event; type: struct_byref_const
|
|
|
|
DCHECK(event);
|
|
|
|
if (!event)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Translate param: event; type: struct_byref_const
|
|
|
|
CefMouseEvent eventObj;
|
|
|
|
if (event)
|
|
|
|
eventObj.Set(*event, false);
|
2012-11-21 01:40:15 +01:00
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SendMouseWheelEvent(
|
2013-01-12 00:00:39 +01:00
|
|
|
eventObj,
|
2012-11-21 01:40:15 +01:00
|
|
|
deltaX,
|
|
|
|
deltaY);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_send_focus_event(
|
|
|
|
struct _cef_browser_host_t* self, int setFocus) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SendFocusEvent(
|
|
|
|
setFocus?true:false);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_host_send_capture_lost_event(
|
|
|
|
struct _cef_browser_host_t* self) {
|
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserHostCppToC::Get(self)->SendCaptureLostEvent();
|
|
|
|
}
|
|
|
|
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
// CONSTRUCTOR - Do not edit by hand.
|
|
|
|
|
|
|
|
CefBrowserHostCppToC::CefBrowserHostCppToC(CefBrowserHost* cls)
|
|
|
|
: CefCppToC<CefBrowserHostCppToC, CefBrowserHost, cef_browser_host_t>(cls) {
|
|
|
|
struct_.struct_.get_browser = browser_host_get_browser;
|
|
|
|
struct_.struct_.parent_window_will_close =
|
|
|
|
browser_host_parent_window_will_close;
|
|
|
|
struct_.struct_.close_browser = browser_host_close_browser;
|
|
|
|
struct_.struct_.set_focus = browser_host_set_focus;
|
|
|
|
struct_.struct_.get_window_handle = browser_host_get_window_handle;
|
|
|
|
struct_.struct_.get_opener_window_handle =
|
|
|
|
browser_host_get_opener_window_handle;
|
|
|
|
struct_.struct_.get_client = browser_host_get_client;
|
2012-04-27 00:20:18 +02:00
|
|
|
struct_.struct_.get_dev_tools_url = browser_host_get_dev_tools_url;
|
2012-06-12 21:50:24 +02:00
|
|
|
struct_.struct_.get_zoom_level = browser_host_get_zoom_level;
|
|
|
|
struct_.struct_.set_zoom_level = browser_host_set_zoom_level;
|
2012-10-16 21:28:07 +02:00
|
|
|
struct_.struct_.run_file_dialog = browser_host_run_file_dialog;
|
2013-02-13 23:47:04 +01:00
|
|
|
struct_.struct_.start_download = browser_host_start_download;
|
2012-11-21 01:40:15 +01:00
|
|
|
struct_.struct_.is_window_rendering_disabled =
|
|
|
|
browser_host_is_window_rendering_disabled;
|
|
|
|
struct_.struct_.was_resized = browser_host_was_resized;
|
|
|
|
struct_.struct_.invalidate = browser_host_invalidate;
|
|
|
|
struct_.struct_.send_key_event = browser_host_send_key_event;
|
|
|
|
struct_.struct_.send_mouse_click_event = browser_host_send_mouse_click_event;
|
|
|
|
struct_.struct_.send_mouse_move_event = browser_host_send_mouse_move_event;
|
|
|
|
struct_.struct_.send_mouse_wheel_event = browser_host_send_mouse_wheel_event;
|
|
|
|
struct_.struct_.send_focus_event = browser_host_send_focus_event;
|
|
|
|
struct_.struct_.send_capture_lost_event =
|
|
|
|
browser_host_send_capture_lost_event;
|
2012-04-03 03:34:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifndef NDEBUG
|
|
|
|
template<> long CefCppToC<CefBrowserHostCppToC, CefBrowserHost,
|
|
|
|
cef_browser_host_t>::DebugObjCt = 0;
|
|
|
|
#endif
|
|
|
|
|