2012-01-10 00:46:23 +01:00
|
|
|
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
|
2010-10-03 23:04:50 +02:00
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
//
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
//
|
2011-12-08 02:38:30 +01:00
|
|
|
// 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
|
2010-10-03 23:04:50 +02:00
|
|
|
// 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/frame_cpptoc.h"
|
2011-05-20 16:42:25 +02:00
|
|
|
#include "libcef_dll/ctocpp/client_ctocpp.h"
|
2010-11-22 18:49:46 +01:00
|
|
|
#include "libcef_dll/transfer_util.h"
|
2010-10-03 23:04:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
|
|
|
|
2011-05-20 16:42:25 +02:00
|
|
|
CEF_EXPORT int cef_browser_create(cef_window_info_t* windowInfo,
|
|
|
|
struct _cef_client_t* client, const cef_string_t* url,
|
2012-01-10 00:46:23 +01:00
|
|
|
const struct _cef_browser_settings_t* settings) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
// Verify param: windowInfo; type: struct_byref
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(windowInfo);
|
2011-05-20 16:42:25 +02:00
|
|
|
if (!windowInfo)
|
|
|
|
return 0;
|
2011-12-08 02:38:30 +01:00
|
|
|
// Verify param: client; type: refptr_diff
|
|
|
|
DCHECK(client);
|
|
|
|
if (!client)
|
|
|
|
return 0;
|
|
|
|
// Verify param: settings; type: struct_byref_const
|
|
|
|
DCHECK(settings);
|
|
|
|
if (!settings)
|
|
|
|
return 0;
|
|
|
|
// Unverified params: url
|
2010-10-03 23:04:50 +02:00
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Translate param: windowInfo; type: struct_byref
|
2011-05-20 16:42:25 +02:00
|
|
|
CefWindowInfo windowInfoObj;
|
2011-12-08 02:38:30 +01:00
|
|
|
if (windowInfo)
|
|
|
|
windowInfoObj.AttachTo(*windowInfo);
|
|
|
|
// Translate param: settings; type: struct_byref_const
|
|
|
|
CefBrowserSettings settingsObj;
|
2011-05-20 16:42:25 +02:00
|
|
|
if (settings)
|
2011-12-08 02:38:30 +01:00
|
|
|
settingsObj.Set(*settings, false);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowser::CreateBrowser(
|
|
|
|
windowInfoObj,
|
|
|
|
CefClientCToCpp::Wrap(client),
|
|
|
|
CefString(url),
|
|
|
|
settingsObj);
|
|
|
|
|
|
|
|
// Restore param: windowInfo; type: struct_byref
|
|
|
|
if (windowInfo)
|
|
|
|
windowInfoObj.DetachTo(*windowInfo);
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
CEF_EXPORT cef_browser_t* cef_browser_create_sync(cef_window_info_t* windowInfo,
|
2011-05-20 16:42:25 +02:00
|
|
|
struct _cef_client_t* client, const cef_string_t* url,
|
2012-01-10 00:46:23 +01:00
|
|
|
const struct _cef_browser_settings_t* settings) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
|
|
|
// Verify param: windowInfo; type: struct_byref
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(windowInfo);
|
2011-05-20 16:42:25 +02:00
|
|
|
if (!windowInfo)
|
|
|
|
return NULL;
|
2011-12-08 02:38:30 +01:00
|
|
|
// Verify param: client; type: refptr_diff
|
|
|
|
DCHECK(client);
|
|
|
|
if (!client)
|
|
|
|
return NULL;
|
|
|
|
// Verify param: settings; type: struct_byref_const
|
|
|
|
DCHECK(settings);
|
|
|
|
if (!settings)
|
|
|
|
return NULL;
|
|
|
|
// Unverified params: url
|
2010-10-03 23:04:50 +02:00
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Translate param: windowInfo; type: struct_byref
|
2011-05-20 16:42:25 +02:00
|
|
|
CefWindowInfo windowInfoObj;
|
2011-12-08 02:38:30 +01:00
|
|
|
if (windowInfo)
|
|
|
|
windowInfoObj.AttachTo(*windowInfo);
|
|
|
|
// Translate param: settings; type: struct_byref_const
|
|
|
|
CefBrowserSettings settingsObj;
|
2011-05-20 16:42:25 +02:00
|
|
|
if (settings)
|
2011-12-08 02:38:30 +01:00
|
|
|
settingsObj.Set(*settings, false);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefBrowser> _retval = CefBrowser::CreateBrowserSync(
|
|
|
|
windowInfoObj,
|
|
|
|
CefClientCToCpp::Wrap(client),
|
|
|
|
CefString(url),
|
|
|
|
settingsObj);
|
|
|
|
|
|
|
|
// Restore param: windowInfo; type: struct_byref
|
|
|
|
if (windowInfo)
|
|
|
|
windowInfoObj.DetachTo(*windowInfo);
|
|
|
|
|
|
|
|
// Return type: refptr_same
|
|
|
|
return CefBrowserCppToC::Wrap(_retval);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// MEMBER FUNCTIONS - Body may be edited by hand.
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_parent_window_will_close(
|
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-08-03 17:35:51 +02:00
|
|
|
DCHECK(self);
|
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-08-03 17:35:51 +02:00
|
|
|
CefBrowserCppToC::Get(self)->ParentWindowWillClose();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_close_browser(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-08 02:07:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-08 02:07:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-03-08 02:07:47 +01:00
|
|
|
CefBrowserCppToC::Get(self)->CloseBrowser();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
int CEF_CALLBACK browser_can_go_back(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->CanGoBack();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_go_back(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2010-10-03 23:04:50 +02:00
|
|
|
CefBrowserCppToC::Get(self)->GoBack();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
int CEF_CALLBACK browser_can_go_forward(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->CanGoForward();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_go_forward(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2010-10-03 23:04:50 +02:00
|
|
|
CefBrowserCppToC::Get(self)->GoForward();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_reload(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2010-10-03 23:04:50 +02:00
|
|
|
CefBrowserCppToC::Get(self)->Reload();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_reload_ignore_cache(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2010-10-03 23:04:50 +02:00
|
|
|
CefBrowserCppToC::Get(self)->ReloadIgnoreCache();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_stop_load(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2010-10-03 23:04:50 +02:00
|
|
|
CefBrowserCppToC::Get(self)->StopLoad();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_set_focus(struct _cef_browser_t* self, int enable) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SetFocus(
|
|
|
|
enable?true:false);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
cef_window_handle_t CEF_CALLBACK browser_get_window_handle(
|
2012-01-10 00:46:23 +01:00
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return NULL;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
cef_window_handle_t _retval = CefBrowserCppToC::Get(self)->GetWindowHandle();
|
|
|
|
|
|
|
|
// Return type: simple
|
|
|
|
return _retval;
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
2011-06-14 17:09:55 +02:00
|
|
|
cef_window_handle_t CEF_CALLBACK browser_get_opener_window_handle(
|
2012-01-10 00:46:23 +01:00
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-06-14 17:09:55 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-06-14 17:09:55 +02:00
|
|
|
return NULL;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
cef_window_handle_t _retval = CefBrowserCppToC::Get(
|
|
|
|
self)->GetOpenerWindowHandle();
|
|
|
|
|
|
|
|
// Return type: simple
|
|
|
|
return _retval;
|
2011-06-14 17:09:55 +02:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
int CEF_CALLBACK browser_is_popup(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->IsPopup();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
int CEF_CALLBACK browser_has_document(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-08-30 18:20:27 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-08-30 18:20:27 +02:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->HasDocument();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2011-08-30 18:20:27 +02:00
|
|
|
}
|
|
|
|
|
2011-05-20 16:42:25 +02:00
|
|
|
struct _cef_client_t* CEF_CALLBACK browser_get_client(
|
2012-01-10 00:46:23 +01:00
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-05-20 16:42:25 +02:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return NULL;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefClient> _retval = CefBrowserCppToC::Get(self)->GetClient();
|
2010-10-03 23:04:50 +02:00
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Return type: refptr_diff
|
|
|
|
return CefClientCToCpp::Unwrap(_retval);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
struct _cef_frame_t* CEF_CALLBACK browser_get_main_frame(
|
2012-01-10 00:46:23 +01:00
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return NULL;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefFrame> _retval = CefBrowserCppToC::Get(self)->GetMainFrame();
|
|
|
|
|
|
|
|
// Return type: refptr_same
|
|
|
|
return CefFrameCppToC::Wrap(_retval);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
struct _cef_frame_t* CEF_CALLBACK browser_get_focused_frame(
|
2012-01-10 00:46:23 +01:00
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return NULL;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefFrame> _retval = CefBrowserCppToC::Get(self)->GetFocusedFrame();
|
|
|
|
|
|
|
|
// Return type: refptr_same
|
|
|
|
return CefFrameCppToC::Wrap(_retval);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
struct _cef_frame_t* CEF_CALLBACK browser_get_frame(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
const cef_string_t* name) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return NULL;
|
|
|
|
// Verify param: name; type: string_byref_const
|
|
|
|
DCHECK(name);
|
|
|
|
if (!name)
|
2010-10-03 23:04:50 +02:00
|
|
|
return NULL;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefRefPtr<CefFrame> _retval = CefBrowserCppToC::Get(self)->GetFrame(
|
|
|
|
CefString(name));
|
|
|
|
|
|
|
|
// Return type: refptr_same
|
|
|
|
return CefFrameCppToC::Wrap(_retval);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_get_frame_names(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
cef_string_list_t names) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: names; type: string_vec_byref
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(names);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!names)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Translate param: names; type: string_vec_byref
|
|
|
|
std::vector<CefString> namesList;
|
|
|
|
transfer_string_list_contents(names, namesList);
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->GetFrameNames(
|
|
|
|
namesList);
|
|
|
|
|
|
|
|
// Restore param: names; type: string_vec_byref
|
|
|
|
cef_string_list_clear(names);
|
|
|
|
transfer_string_list_contents(namesList, names);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_find(struct _cef_browser_t* self, int identifier,
|
2012-01-10 00:46:23 +01:00
|
|
|
const cef_string_t* searchText, int forward, int matchCase,
|
|
|
|
int findNext) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: searchText; type: string_byref_const
|
|
|
|
DCHECK(searchText);
|
|
|
|
if (!searchText)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->Find(
|
|
|
|
identifier,
|
|
|
|
CefString(searchText),
|
|
|
|
forward?true:false,
|
|
|
|
matchCase?true:false,
|
|
|
|
findNext?true:false);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_stop_finding(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
int clearSelection) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2010-10-03 23:04:50 +02:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->StopFinding(
|
|
|
|
clearSelection?true:false);
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
double CEF_CALLBACK browser_get_zoom_level(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-01-25 16:34:50 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
double _retval = CefBrowserCppToC::Get(self)->GetZoomLevel();
|
2011-01-25 16:34:50 +01:00
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Return type: simple
|
|
|
|
return _retval;
|
2011-01-25 16:34:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_set_zoom_level(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
double zoomLevel) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-01-25 16:34:50 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-01-25 16:34:50 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SetZoomLevel(
|
|
|
|
zoomLevel);
|
2011-01-25 16:34:50 +01:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_clear_history(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-01-25 19:37:27 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-01-25 19:37:27 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-10-04 13:49:36 +02:00
|
|
|
CefBrowserCppToC::Get(self)->ClearHistory();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_show_dev_tools(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-10-04 13:49:36 +02:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-10-04 13:49:36 +02:00
|
|
|
return;
|
2011-01-25 19:37:27 +01:00
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-01-25 19:37:27 +01:00
|
|
|
CefBrowserCppToC::Get(self)->ShowDevTools();
|
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_close_dev_tools(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-01-25 19:37:27 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-01-25 19:37:27 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-01-25 19:37:27 +01:00
|
|
|
CefBrowserCppToC::Get(self)->CloseDevTools();
|
|
|
|
}
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
int CEF_CALLBACK browser_is_window_rendering_disabled(
|
2012-01-10 00:46:23 +01:00
|
|
|
struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->IsWindowRenderingDisabled();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
int CEF_CALLBACK browser_get_size(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
enum cef_paint_element_type_t type, int* width, int* height) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return 0;
|
|
|
|
// Verify param: width; type: simple_byref
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(width);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!width)
|
|
|
|
return 0;
|
|
|
|
// Verify param: height; type: simple_byref
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(height);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!height)
|
2011-03-24 21:36:47 +01:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Translate param: width; type: simple_byref
|
|
|
|
int widthVal = width?*width:0;
|
|
|
|
// Translate param: height; type: simple_byref
|
|
|
|
int heightVal = height?*height:0;
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->GetSize(
|
|
|
|
type,
|
|
|
|
widthVal,
|
|
|
|
heightVal);
|
|
|
|
|
|
|
|
// Restore param: width; type: simple_byref
|
|
|
|
if (width)
|
|
|
|
*width = widthVal;
|
|
|
|
// Restore param: height; type: simple_byref
|
|
|
|
if (height)
|
|
|
|
*height = heightVal;
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_set_size(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
enum cef_paint_element_type_t type, int width, int height) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SetSize(
|
|
|
|
type,
|
|
|
|
width,
|
|
|
|
height);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
int CEF_CALLBACK browser_is_popup_visible(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->IsPopupVisible();
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_hide_popup(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-03-24 21:36:47 +01:00
|
|
|
CefBrowserCppToC::Get(self)->HidePopup();
|
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_invalidate(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
const cef_rect_t* dirtyRect) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return;
|
|
|
|
// Verify param: dirtyRect; type: simple_byref_const
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(dirtyRect);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!dirtyRect)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Translate param: dirtyRect; type: simple_byref_const
|
|
|
|
CefRect dirtyRectVal = dirtyRect?*dirtyRect:CefRect();
|
|
|
|
|
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->Invalidate(
|
|
|
|
dirtyRectVal);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
int CEF_CALLBACK browser_get_image(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
enum cef_paint_element_type_t type, int width, int height, void* buffer) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
|
|
|
return 0;
|
|
|
|
// Verify param: buffer; type: simple_byaddr
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(buffer);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!buffer)
|
2011-03-24 21:36:47 +01:00
|
|
|
return 0;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
bool _retval = CefBrowserCppToC::Get(self)->GetImage(
|
|
|
|
type,
|
|
|
|
width,
|
|
|
|
height,
|
|
|
|
buffer);
|
|
|
|
|
|
|
|
// Return type: bool
|
|
|
|
return _retval;
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_send_key_event(struct _cef_browser_t* self,
|
|
|
|
enum cef_key_type_t type, int key, int modifiers, int sysChar,
|
2012-01-10 00:46:23 +01:00
|
|
|
int imeChar) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SendKeyEvent(
|
|
|
|
type,
|
|
|
|
key,
|
|
|
|
modifiers,
|
|
|
|
sysChar?true:false,
|
|
|
|
imeChar?true:false);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_send_mouse_click_event(struct _cef_browser_t* self,
|
|
|
|
int x, int y, enum cef_mouse_button_type_t type, int mouseUp,
|
2012-01-10 00:46:23 +01:00
|
|
|
int clickCount) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SendMouseClickEvent(
|
|
|
|
x,
|
|
|
|
y,
|
|
|
|
type,
|
|
|
|
mouseUp?true:false,
|
|
|
|
clickCount);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_send_mouse_move_event(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
int x, int y, int mouseLeave) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SendMouseMoveEvent(
|
|
|
|
x,
|
|
|
|
y,
|
|
|
|
mouseLeave?true:false);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_send_mouse_wheel_event(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
int x, int y, int delta) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SendMouseWheelEvent(
|
|
|
|
x,
|
|
|
|
y,
|
|
|
|
delta);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CEF_CALLBACK browser_send_focus_event(struct _cef_browser_t* self,
|
2012-01-10 00:46:23 +01:00
|
|
|
int setFocus) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
|
|
|
CefBrowserCppToC::Get(self)->SendFocusEvent(
|
|
|
|
setFocus?true:false);
|
2011-03-24 21:36:47 +01:00
|
|
|
}
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
void CEF_CALLBACK browser_send_capture_lost_event(struct _cef_browser_t* self) {
|
2011-12-08 02:38:30 +01:00
|
|
|
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
|
|
|
|
2011-03-24 21:36:47 +01:00
|
|
|
DCHECK(self);
|
2011-12-08 02:38:30 +01:00
|
|
|
if (!self)
|
2011-03-24 21:36:47 +01:00
|
|
|
return;
|
|
|
|
|
2011-12-08 02:38:30 +01:00
|
|
|
// Execute
|
2011-03-24 21:36:47 +01:00
|
|
|
CefBrowserCppToC::Get(self)->SendCaptureLostEvent();
|
|
|
|
}
|
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
|
|
|
|
// CONSTRUCTOR - Do not edit by hand.
|
|
|
|
|
|
|
|
CefBrowserCppToC::CefBrowserCppToC(CefBrowser* cls)
|
2012-01-10 00:46:23 +01:00
|
|
|
: CefCppToC<CefBrowserCppToC, CefBrowser, cef_browser_t>(cls) {
|
2011-08-03 17:35:51 +02:00
|
|
|
struct_.struct_.parent_window_will_close = browser_parent_window_will_close;
|
2011-03-08 02:07:47 +01:00
|
|
|
struct_.struct_.close_browser = browser_close_browser;
|
2010-10-03 23:04:50 +02:00
|
|
|
struct_.struct_.can_go_back = browser_can_go_back;
|
|
|
|
struct_.struct_.go_back = browser_go_back;
|
|
|
|
struct_.struct_.can_go_forward = browser_can_go_forward;
|
|
|
|
struct_.struct_.go_forward = browser_go_forward;
|
|
|
|
struct_.struct_.reload = browser_reload;
|
|
|
|
struct_.struct_.reload_ignore_cache = browser_reload_ignore_cache;
|
|
|
|
struct_.struct_.stop_load = browser_stop_load;
|
|
|
|
struct_.struct_.set_focus = browser_set_focus;
|
|
|
|
struct_.struct_.get_window_handle = browser_get_window_handle;
|
2011-06-14 17:09:55 +02:00
|
|
|
struct_.struct_.get_opener_window_handle = browser_get_opener_window_handle;
|
2010-10-03 23:04:50 +02:00
|
|
|
struct_.struct_.is_popup = browser_is_popup;
|
2011-08-30 18:20:27 +02:00
|
|
|
struct_.struct_.has_document = browser_has_document;
|
2011-05-20 16:42:25 +02:00
|
|
|
struct_.struct_.get_client = browser_get_client;
|
2010-10-03 23:04:50 +02:00
|
|
|
struct_.struct_.get_main_frame = browser_get_main_frame;
|
|
|
|
struct_.struct_.get_focused_frame = browser_get_focused_frame;
|
|
|
|
struct_.struct_.get_frame = browser_get_frame;
|
|
|
|
struct_.struct_.get_frame_names = browser_get_frame_names;
|
|
|
|
struct_.struct_.find = browser_find;
|
|
|
|
struct_.struct_.stop_finding = browser_stop_finding;
|
2011-01-25 16:34:50 +01:00
|
|
|
struct_.struct_.get_zoom_level = browser_get_zoom_level;
|
|
|
|
struct_.struct_.set_zoom_level = browser_set_zoom_level;
|
2011-10-04 13:49:36 +02:00
|
|
|
struct_.struct_.clear_history = browser_clear_history;
|
2011-01-25 19:37:27 +01:00
|
|
|
struct_.struct_.show_dev_tools = browser_show_dev_tools;
|
|
|
|
struct_.struct_.close_dev_tools = browser_close_dev_tools;
|
2011-03-24 21:36:47 +01:00
|
|
|
struct_.struct_.is_window_rendering_disabled =
|
|
|
|
browser_is_window_rendering_disabled;
|
|
|
|
struct_.struct_.get_size = browser_get_size;
|
|
|
|
struct_.struct_.set_size = browser_set_size;
|
|
|
|
struct_.struct_.is_popup_visible = browser_is_popup_visible;
|
|
|
|
struct_.struct_.hide_popup = browser_hide_popup;
|
|
|
|
struct_.struct_.invalidate = browser_invalidate;
|
|
|
|
struct_.struct_.get_image = browser_get_image;
|
|
|
|
struct_.struct_.send_key_event = browser_send_key_event;
|
|
|
|
struct_.struct_.send_mouse_click_event = browser_send_mouse_click_event;
|
|
|
|
struct_.struct_.send_mouse_move_event = browser_send_mouse_move_event;
|
|
|
|
struct_.struct_.send_mouse_wheel_event = browser_send_mouse_wheel_event;
|
|
|
|
struct_.struct_.send_focus_event = browser_send_focus_event;
|
|
|
|
struct_.struct_.send_capture_lost_event = browser_send_capture_lost_event;
|
2010-10-03 23:04:50 +02:00
|
|
|
}
|
|
|
|
|
2011-05-20 16:42:25 +02:00
|
|
|
#ifndef NDEBUG
|
2010-12-07 02:30:26 +01:00
|
|
|
template<> long CefCppToC<CefBrowserCppToC, CefBrowser,
|
|
|
|
cef_browser_t>::DebugObjCt = 0;
|
2010-10-03 23:04:50 +02:00
|
|
|
#endif
|
|
|
|
|