Rename CefBase to CefBaseRefCounted (issue #2090)

This commit is contained in:
Marshall Greenblatt
2017-02-09 17:07:43 -05:00
parent 07ba48b082
commit 0afcb82ee6
679 changed files with 2066 additions and 1962 deletions

View File

@ -88,13 +88,13 @@
'include/internal/cef_types_linux.h', 'include/internal/cef_types_linux.h',
], ],
'libcef_sources_common': [ 'libcef_sources_common': [
'libcef_dll/cpptoc/cpptoc.h', 'libcef_dll/cpptoc/cpptoc_ref_counted.h',
'libcef_dll/cpptoc/cpptoc_scoped.h', 'libcef_dll/cpptoc/cpptoc_scoped.h',
'libcef_dll/ctocpp/base_ctocpp.cc', 'libcef_dll/ctocpp/base_ref_counted_ctocpp.cc',
'libcef_dll/ctocpp/base_ctocpp.h', 'libcef_dll/ctocpp/base_ref_counted_ctocpp.h',
'libcef_dll/ctocpp/base_scoped_ctocpp.cc', 'libcef_dll/ctocpp/base_scoped_ctocpp.cc',
'libcef_dll/ctocpp/base_scoped_ctocpp.h', 'libcef_dll/ctocpp/base_scoped_ctocpp.h',
'libcef_dll/ctocpp/ctocpp.h', 'libcef_dll/ctocpp/ctocpp_ref_counted.h',
'libcef_dll/ctocpp/ctocpp_scoped.h', 'libcef_dll/ctocpp/ctocpp_scoped.h',
'libcef_dll/libcef_dll.cc', 'libcef_dll/libcef_dll.cc',
'libcef_dll/libcef_dll2.cc', 'libcef_dll/libcef_dll2.cc',
@ -119,13 +119,13 @@
'libcef_dll/base/cef_weak_ptr.cc', 'libcef_dll/base/cef_weak_ptr.cc',
], ],
'libcef_dll_wrapper_sources_common': [ 'libcef_dll_wrapper_sources_common': [
'libcef_dll/cpptoc/base_cpptoc.cc', 'libcef_dll/cpptoc/base_ref_counted_cpptoc.cc',
'libcef_dll/cpptoc/base_cpptoc.h', 'libcef_dll/cpptoc/base_ref_counted_cpptoc.h',
'libcef_dll/cpptoc/base_scoped_cpptoc.cc', 'libcef_dll/cpptoc/base_scoped_cpptoc.cc',
'libcef_dll/cpptoc/base_scoped_cpptoc.h', 'libcef_dll/cpptoc/base_scoped_cpptoc.h',
'libcef_dll/cpptoc/cpptoc.h', 'libcef_dll/cpptoc/cpptoc_ref_counted.h',
'libcef_dll/cpptoc/cpptoc_scoped.h', 'libcef_dll/cpptoc/cpptoc_scoped.h',
'libcef_dll/ctocpp/ctocpp.h', 'libcef_dll/ctocpp/ctocpp_ref_counted.h',
'libcef_dll/ctocpp/ctocpp_scoped.h', 'libcef_dll/ctocpp/ctocpp_scoped.h',
'libcef_dll/ptr_util.h', 'libcef_dll/ptr_util.h',
'libcef_dll/transfer_util.cc', 'libcef_dll/transfer_util.cc',

View File

@ -59,7 +59,7 @@ typedef struct _cef_app_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Provides an opportunity to view and/or modify command-line arguments before // Provides an opportunity to view and/or modify command-line arguments before

View File

@ -53,7 +53,7 @@ typedef struct _cef_auth_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Continue the authentication request. // Continue the authentication request.

View File

@ -47,7 +47,7 @@ extern "C" {
/// ///
// All ref-counted framework structures must include this structure first. // All ref-counted framework structures must include this structure first.
/// ///
typedef struct _cef_base_t { typedef struct _cef_base_ref_counted_t {
/// ///
// Size of the data structure. // Size of the data structure.
/// ///
@ -57,20 +57,20 @@ typedef struct _cef_base_t {
// Called to increment the reference count for the object. Should be called // Called to increment the reference count for the object. Should be called
// for every new copy of a pointer to a given object. // for every new copy of a pointer to a given object.
/// ///
void (CEF_CALLBACK *add_ref)(struct _cef_base_t* self); void (CEF_CALLBACK *add_ref)(struct _cef_base_ref_counted_t* self);
/// ///
// Called to decrement the reference count for the object. If the reference // Called to decrement the reference count for the object. If the reference
// count falls to 0 the object should self-delete. Returns true (1) if the // count falls to 0 the object should self-delete. Returns true (1) if the
// resulting reference count is 0. // resulting reference count is 0.
/// ///
int (CEF_CALLBACK *release)(struct _cef_base_t* self); int (CEF_CALLBACK *release)(struct _cef_base_ref_counted_t* self);
/// ///
// Returns true (1) if the current reference count is 1. // Returns true (1) if the current reference count is 1.
/// ///
int (CEF_CALLBACK *has_one_ref)(struct _cef_base_t* self); int (CEF_CALLBACK *has_one_ref)(struct _cef_base_ref_counted_t* self);
} cef_base_t; } cef_base_ref_counted_t;
/// ///
@ -90,11 +90,11 @@ typedef struct _cef_base_scoped_t {
} cef_base_scoped_t; } cef_base_scoped_t;
// Check that the structure |s|, which is defined with a cef_base_t member named // Check that the structure |s|, which is defined with a size_t member at the
// |base|, is large enough to contain the specified member |f|. // top, is large enough to contain the specified member |f|.
#define CEF_MEMBER_EXISTS(s, f) \ #define CEF_MEMBER_EXISTS(s, f) \
((intptr_t)&((s)->f) - (intptr_t)(s) + sizeof((s)->f) <= \ ((intptr_t)&((s)->f) - (intptr_t)(s) + sizeof((s)->f) <= \
reinterpret_cast<cef_base_t*>(s)->size) *reinterpret_cast<size_t*>(s))
#define CEF_MEMBER_MISSING(s, f) (!CEF_MEMBER_EXISTS(s, f) || !((s)->f)) #define CEF_MEMBER_MISSING(s, f) (!CEF_MEMBER_EXISTS(s, f) || !((s)->f))

View File

@ -63,7 +63,7 @@ typedef struct _cef_browser_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the browser host object. This function can only be called in the // Returns the browser host object. This function can only be called in the
@ -193,7 +193,7 @@ typedef struct _cef_run_file_dialog_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called asynchronously after the file dialog is dismissed. // Called asynchronously after the file dialog is dismissed.
@ -216,7 +216,7 @@ typedef struct _cef_navigation_entry_visitor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be executed. Do not keep a reference to |entry| outside of // Method that will be executed. Do not keep a reference to |entry| outside of
@ -239,7 +239,7 @@ typedef struct _cef_pdf_print_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be executed when the PDF printing has completed. |path| is // Method that will be executed when the PDF printing has completed. |path| is
@ -260,7 +260,7 @@ typedef struct _cef_download_image_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be executed when the image download has completed. // Method that will be executed when the image download has completed.
@ -285,7 +285,7 @@ typedef struct _cef_browser_host_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the hosted browser object. // Returns the hosted browser object.

View File

@ -57,7 +57,7 @@ typedef struct _cef_browser_process_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called on the browser process UI thread immediately after the CEF context // Called on the browser process UI thread immediately after the CEF context

View File

@ -52,7 +52,7 @@ typedef struct _cef_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Continue processing. // Continue processing.
@ -73,7 +73,7 @@ typedef struct _cef_completion_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called once the task is complete. // Method that will be called once the task is complete.

View File

@ -67,7 +67,7 @@ typedef struct _cef_client_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Return the handler for context menus. If no handler is provided the default // Return the handler for context menus. If no handler is provided the default

View File

@ -59,7 +59,7 @@ typedef struct _cef_command_line_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. Do not call any other functions // Returns true (1) if this object is valid. Do not call any other functions

View File

@ -56,7 +56,7 @@ typedef struct _cef_run_context_menu_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Complete context menu display by selecting the specified |command_id| and // Complete context menu display by selecting the specified |command_id| and
@ -80,7 +80,7 @@ typedef struct _cef_context_menu_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called before a context menu is displayed. |params| provides information // Called before a context menu is displayed. |params| provides information
@ -140,7 +140,7 @@ typedef struct _cef_context_menu_params_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the X coordinate of the mouse where the context menu was invoked. // Returns the X coordinate of the mouse where the context menu was invoked.

View File

@ -57,7 +57,7 @@ typedef struct _cef_cookie_manager_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Set the schemes supported by this manager. The default schemes ("http", // Set the schemes supported by this manager. The default schemes ("http",
@ -172,7 +172,7 @@ typedef struct _cef_cookie_visitor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called once for each cookie. |count| is the 0-based // Method that will be called once for each cookie. |count| is the 0-based
@ -195,7 +195,7 @@ typedef struct _cef_set_cookie_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called upon completion. |success| will be true (1) if // Method that will be called upon completion. |success| will be true (1) if
@ -214,7 +214,7 @@ typedef struct _cef_delete_cookies_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called upon completion. |num_deleted| will be the // Method that will be called upon completion. |num_deleted| will be the

View File

@ -53,7 +53,7 @@ typedef struct _cef_file_dialog_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Continue the file selection. |selected_accept_filter| should be the 0-based // Continue the file selection. |selected_accept_filter| should be the 0-based
@ -80,7 +80,7 @@ typedef struct _cef_dialog_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called to run a file chooser dialog. |mode| represents the type of dialog // Called to run a file chooser dialog. |mode| represents the type of dialog

View File

@ -55,7 +55,7 @@ typedef struct _cef_display_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called when a frame's address has changed. // Called when a frame's address has changed.

View File

@ -55,7 +55,7 @@ typedef struct _cef_domvisitor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method executed for visiting the DOM. The document object passed to this // Method executed for visiting the DOM. The document object passed to this
@ -77,7 +77,7 @@ typedef struct _cef_domdocument_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the document type. // Returns the document type.
@ -177,7 +177,7 @@ typedef struct _cef_domnode_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the type for this node. // Returns the type for this node.

View File

@ -54,7 +54,7 @@ typedef struct _cef_before_download_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Call to continue the download. Set |download_path| to the full file path // Call to continue the download. Set |download_path| to the full file path
@ -74,7 +74,7 @@ typedef struct _cef_download_item_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Call to cancel the download. // Call to cancel the download.
@ -101,7 +101,7 @@ typedef struct _cef_download_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called before a download begins. |suggested_name| is the suggested name for // Called before a download begins. |suggested_name| is the suggested name for

View File

@ -52,7 +52,7 @@ typedef struct _cef_download_item_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. Do not call any other functions // Returns true (1) if this object is valid. Do not call any other functions

View File

@ -54,7 +54,7 @@ typedef struct _cef_drag_data_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns a copy of the current object. // Returns a copy of the current object.

View File

@ -55,7 +55,7 @@ typedef struct _cef_drag_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called when an external drag event enters the browser window. |dragData| // Called when an external drag event enters the browser window. |dragData|

View File

@ -54,7 +54,7 @@ typedef struct _cef_find_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called to report find results returned by cef_browser_host_t::find(). // Called to report find results returned by cef_browser_host_t::find().

View File

@ -56,7 +56,7 @@ typedef struct _cef_focus_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called when the browser component is about to loose focus. For instance, if // Called when the browser component is about to loose focus. For instance, if

View File

@ -61,7 +61,7 @@ typedef struct _cef_frame_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// True if this object is currently attached to a valid frame. // True if this object is currently attached to a valid frame.

View File

@ -53,7 +53,7 @@ typedef struct _cef_get_geolocation_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called with the 'best available' location information or, if the location // Called with the 'best available' location information or, if the location

View File

@ -54,7 +54,7 @@ typedef struct _cef_geolocation_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Call to allow or deny geolocation access. // Call to allow or deny geolocation access.
@ -73,7 +73,7 @@ typedef struct _cef_geolocation_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called when a page requests permission to access geolocation information. // Called when a page requests permission to access geolocation information.

View File

@ -58,7 +58,7 @@ typedef struct _cef_image_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this Image is NULL. // Returns true (1) if this Image is NULL.

View File

@ -54,7 +54,7 @@ typedef struct _cef_jsdialog_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Continue the JS dialog request. Set |success| to true (1) if the OK button // Continue the JS dialog request. Set |success| to true (1) if the OK button
@ -73,7 +73,7 @@ typedef struct _cef_jsdialog_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called to run a JavaScript dialog. If |origin_url| is non-NULL it can be // Called to run a JavaScript dialog. If |origin_url| is non-NULL it can be

View File

@ -54,7 +54,7 @@ typedef struct _cef_keyboard_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called before a keyboard event is sent to the renderer. |event| contains // Called before a keyboard event is sent to the renderer. |event| contains

View File

@ -56,7 +56,7 @@ typedef struct _cef_life_span_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called on the IO thread before a new popup browser is created. The // Called on the IO thread before a new popup browser is created. The

View File

@ -56,7 +56,7 @@ typedef struct _cef_load_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called when the loading state has changed. This callback will be executed // Called when the loading state has changed. This callback will be executed

View File

@ -56,7 +56,7 @@ typedef struct _cef_menu_model_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Clears the menu. Returns true (1) on success. // Clears the menu. Returns true (1) on success.

View File

@ -55,7 +55,7 @@ typedef struct _cef_menu_model_delegate_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Perform the action associated with the specified |command_id| and optional // Perform the action associated with the specified |command_id| and optional

View File

@ -53,7 +53,7 @@ typedef struct _cef_navigation_entry_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. Do not call any other functions // Returns true (1) if this object is valid. Do not call any other functions

View File

@ -54,7 +54,7 @@ typedef struct _cef_print_dialog_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Continue printing with the specified |settings|. // Continue printing with the specified |settings|.
@ -76,7 +76,7 @@ typedef struct _cef_print_job_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Indicate completion of the print job. // Indicate completion of the print job.
@ -93,7 +93,7 @@ typedef struct _cef_print_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called when printing has started for the specified |browser|. This function // Called when printing has started for the specified |browser|. This function

View File

@ -52,7 +52,7 @@ typedef struct _cef_print_settings_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. Do not call any other functions // Returns true (1) if this object is valid. Do not call any other functions

View File

@ -53,7 +53,7 @@ typedef struct _cef_process_message_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. Do not call any other functions // Returns true (1) if this object is valid. Do not call any other functions

View File

@ -55,7 +55,7 @@ typedef struct _cef_render_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called to retrieve the root window rectangle in screen coordinates. Return // Called to retrieve the root window rectangle in screen coordinates. Return

View File

@ -61,7 +61,7 @@ typedef struct _cef_render_process_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called after the render process main thread has been created. |extra_info| // Called after the render process main thread has been created. |extra_info|

View File

@ -55,7 +55,7 @@ typedef struct _cef_request_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is read-only. // Returns true (1) if this object is read-only.
@ -205,7 +205,7 @@ typedef struct _cef_post_data_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is read-only. // Returns true (1) if this object is read-only.
@ -265,7 +265,7 @@ typedef struct _cef_post_data_element_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is read-only. // Returns true (1) if this object is read-only.

View File

@ -56,7 +56,7 @@ typedef struct _cef_resolve_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called after the ResolveHost request has completed. |result| will be the // Called after the ResolveHost request has completed. |result| will be the
@ -89,7 +89,7 @@ typedef struct _cef_request_context_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is pointing to the same context as |that| // Returns true (1) if this object is pointing to the same context as |that|

View File

@ -56,7 +56,7 @@ typedef struct _cef_request_context_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called on the browser process IO thread to retrieve the cookie manager. If // Called on the browser process IO thread to retrieve the cookie manager. If

View File

@ -61,7 +61,7 @@ typedef struct _cef_request_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Continue the url request. If |allow| is true (1) the request will be // Continue the url request. If |allow| is true (1) the request will be
@ -83,7 +83,7 @@ typedef struct _cef_select_client_certificate_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Chooses the specified certificate for client certificate authentication. // Chooses the specified certificate for client certificate authentication.
@ -103,7 +103,7 @@ typedef struct _cef_request_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called on the UI thread before browser navigation. Return true (1) to // Called on the UI thread before browser navigation. Return true (1) to

View File

@ -56,7 +56,7 @@ typedef struct _cef_resource_bundle_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the localized string for the specified |string_id| or an NULL // Returns the localized string for the specified |string_id| or an NULL

View File

@ -54,7 +54,7 @@ typedef struct _cef_resource_bundle_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called to retrieve a localized translation for the specified |string_id|. // Called to retrieve a localized translation for the specified |string_id|.

View File

@ -58,7 +58,7 @@ typedef struct _cef_resource_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Begin processing the request. To handle the request return true (1) and // Begin processing the request. To handle the request return true (1) and

View File

@ -53,7 +53,7 @@ typedef struct _cef_response_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is read-only. // Returns true (1) if this object is read-only.

View File

@ -53,7 +53,7 @@ typedef struct _cef_response_filter_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Initialize the response filter. Will only be called a single time. The // Initialize the response filter. Will only be called a single time. The

View File

@ -131,7 +131,7 @@ typedef struct _cef_scheme_handler_factory_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Return a new resource handler instance to handle the request or an NULL // Return a new resource handler instance to handle the request or an NULL

View File

@ -54,7 +54,7 @@ typedef struct _cef_sslinfo_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns a bitmask containing any and all problems verifying the server // Returns a bitmask containing any and all problems verifying the server

View File

@ -54,7 +54,7 @@ typedef struct _cef_sslstatus_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if the status is related to a secure SSL/TLS connection. // Returns true (1) if the status is related to a secure SSL/TLS connection.

View File

@ -53,7 +53,7 @@ typedef struct _cef_read_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Read raw binary data. // Read raw binary data.
@ -95,7 +95,7 @@ typedef struct _cef_stream_reader_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Read raw binary data. // Read raw binary data.
@ -156,7 +156,7 @@ typedef struct _cef_write_handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Write raw binary data. // Write raw binary data.
@ -198,7 +198,7 @@ typedef struct _cef_stream_writer_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Write raw binary data. // Write raw binary data.

View File

@ -52,7 +52,7 @@ typedef struct _cef_string_visitor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be executed. // Method that will be executed.

View File

@ -57,7 +57,7 @@ typedef struct _cef_task_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be executed on the target thread. // Method that will be executed on the target thread.
@ -79,7 +79,7 @@ typedef struct _cef_task_runner_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is pointing to the same task runner as // Returns true (1) if this object is pointing to the same task runner as

View File

@ -61,7 +61,7 @@ typedef struct _cef_thread_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the cef_task_tRunner that will execute code on this thread's // Returns the cef_task_tRunner that will execute code on this thread's

View File

@ -55,7 +55,7 @@ typedef struct _cef_end_tracing_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Called after all processes have sent their trace data. |tracing_file| is // Called after all processes have sent their trace data. |tracing_file| is

View File

@ -61,7 +61,7 @@ typedef struct _cef_urlrequest_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the request object used to create this URL request. The returned // Returns the request object used to create this URL request. The returned
@ -133,7 +133,7 @@ typedef struct _cef_urlrequest_client_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Notifies the client that the request has completed. Use the // Notifies the client that the request has completed. Use the

View File

@ -63,7 +63,7 @@ typedef struct _cef_v8context_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the task runner associated with this context. V8 handles can only // Returns the task runner associated with this context. V8 handles can only
@ -161,7 +161,7 @@ typedef struct _cef_v8handler_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Handle execution of the function identified by |name|. |object| is the // Handle execution of the function identified by |name|. |object| is the
@ -187,7 +187,7 @@ typedef struct _cef_v8accessor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Handle retrieval the accessor value identified by |name|. |object| is the // Handle retrieval the accessor value identified by |name|. |object| is the
@ -225,7 +225,7 @@ typedef struct _cef_v8interceptor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Handle retrieval of the interceptor value identified by |name|. |object| is // Handle retrieval of the interceptor value identified by |name|. |object| is
@ -285,7 +285,7 @@ typedef struct _cef_v8exception_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the exception message. // Returns the exception message.
@ -352,7 +352,7 @@ typedef struct _cef_v8value_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if the underlying handle is valid and it can be accessed // Returns true (1) if the underlying handle is valid and it can be accessed
@ -585,12 +585,12 @@ typedef struct _cef_v8value_t {
// called on user created objects. // called on user created objects.
/// ///
int (CEF_CALLBACK *set_user_data)(struct _cef_v8value_t* self, int (CEF_CALLBACK *set_user_data)(struct _cef_v8value_t* self,
struct _cef_base_t* user_data); struct _cef_base_ref_counted_t* user_data);
/// ///
// Returns the user data, if any, assigned to this object. // Returns the user data, if any, assigned to this object.
/// ///
struct _cef_base_t* (CEF_CALLBACK *get_user_data)( struct _cef_base_ref_counted_t* (CEF_CALLBACK *get_user_data)(
struct _cef_v8value_t* self); struct _cef_v8value_t* self);
/// ///
@ -752,7 +752,7 @@ typedef struct _cef_v8stack_trace_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if the underlying handle is valid and it can be accessed // Returns true (1) if the underlying handle is valid and it can be accessed
@ -792,7 +792,7 @@ typedef struct _cef_v8stack_frame_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if the underlying handle is valid and it can be accessed // Returns true (1) if the underlying handle is valid and it can be accessed

View File

@ -57,7 +57,7 @@ typedef struct _cef_value_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if the underlying data is valid. This will always be true // Returns true (1) if the underlying data is valid. This will always be true
@ -228,7 +228,7 @@ typedef struct _cef_binary_value_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. This object may become invalid if // Returns true (1) if this object is valid. This object may become invalid if
@ -293,7 +293,7 @@ typedef struct _cef_dictionary_value_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. This object may become invalid if // Returns true (1) if this object is valid. This object may become invalid if
@ -520,7 +520,7 @@ typedef struct _cef_list_value_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns true (1) if this object is valid. This object may become invalid if // Returns true (1) if this object is valid. This object may become invalid if

View File

@ -60,7 +60,7 @@ typedef struct _cef_waitable_event_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Put the event in the un-signaled state. // Put the event in the un-signaled state.

View File

@ -53,7 +53,7 @@ typedef struct _cef_web_plugin_info_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the plugin name (i.e. Flash). // Returns the plugin name (i.e. Flash).
@ -93,7 +93,7 @@ typedef struct _cef_web_plugin_info_visitor_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called once for each plugin. |count| is the 0-based // Method that will be called once for each plugin. |count| is the 0-based
@ -114,7 +114,7 @@ typedef struct _cef_web_plugin_unstable_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called for the requested plugin. |unstable| will be // Method that will be called for the requested plugin. |unstable| will be
@ -136,7 +136,7 @@ typedef struct _cef_register_cdm_callback_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Method that will be called when CDM registration is complete. |result| will // Method that will be called when CDM registration is complete. |result| will

View File

@ -53,7 +53,7 @@ typedef struct _cef_x509cert_principal_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns a name that can be used to represent the issuer. It tries in this // Returns a name that can be used to represent the issuer. It tries in this
@ -125,7 +125,7 @@ typedef struct _cef_x509certificate_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the subject of the X.509 certificate. For HTTPS server certificates // Returns the subject of the X.509 certificate. For HTTPS server certificates

View File

@ -55,7 +55,7 @@ typedef struct _cef_xml_reader_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Moves the cursor to the next node in the document. This function must be // Moves the cursor to the next node in the document. This function must be

View File

@ -55,7 +55,7 @@ typedef struct _cef_zip_reader_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Moves the cursor to the first file in the archive. Returns true (1) if the // Moves the cursor to the first file in the archive. Returns true (1) if the

View File

@ -65,7 +65,7 @@ typedef struct _cef_translator_test_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
// PRIMITIVE VALUES // PRIMITIVE VALUES
@ -527,7 +527,7 @@ typedef struct _cef_translator_test_ref_ptr_library_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Return a value. // Return a value.
@ -618,7 +618,7 @@ typedef struct _cef_translator_test_ref_ptr_client_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Return a value. // Return a value.

View File

@ -57,7 +57,7 @@ typedef struct _cef_display_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns the unique identifier for this Display. // Returns the unique identifier for this Display.

View File

@ -56,7 +56,7 @@ typedef struct _cef_layout_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns this Layout as a BoxLayout or NULL if this is not a BoxLayout. // Returns this Layout as a BoxLayout or NULL if this is not a BoxLayout.

View File

@ -61,7 +61,7 @@ typedef struct _cef_view_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Returns this View as a BrowserView or NULL if this is not a BrowserView. // Returns this View as a BrowserView or NULL if this is not a BrowserView.

View File

@ -55,7 +55,7 @@ typedef struct _cef_view_delegate_t {
/// ///
// Base structure. // Base structure.
/// ///
cef_base_t base; cef_base_ref_counted_t base;
/// ///
// Return the preferred size for |view|. The Layout will use this information // Return the preferred size for |view|. The Layout will use this information

View File

@ -143,7 +143,7 @@ void CefEnableHighDPISupport();
// called by the process and/or thread indicated. // called by the process and/or thread indicated.
/// ///
/*--cef(source=client,no_debugct_check)--*/ /*--cef(source=client,no_debugct_check)--*/
class CefApp : public virtual CefBase { class CefApp : public virtual CefBaseRefCounted {
public: public:
/// ///
// Provides an opportunity to view and/or modify command-line arguments before // Provides an opportunity to view and/or modify command-line arguments before

View File

@ -45,7 +45,7 @@
// requests. // requests.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefAuthCallback : public virtual CefBase { class CefAuthCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Continue the authentication request. // Continue the authentication request.

View File

@ -50,7 +50,7 @@
/// ///
// All ref-counted framework classes must extend this class. // All ref-counted framework classes must extend this class.
/// ///
class CefBase { class CefBaseRefCounted {
public: public:
/// ///
// Called to increment the reference count for the object. Should be called // Called to increment the reference count for the object. Should be called
@ -70,7 +70,7 @@ class CefBase {
virtual bool HasOneRef() const =0; virtual bool HasOneRef() const =0;
protected: protected:
virtual ~CefBase() {} virtual ~CefBaseRefCounted() {}
}; };
/// ///
@ -148,7 +148,7 @@ class CefRefCount {
// #include "include/base/cef_lock.h" // #include "include/base/cef_lock.h"
// //
// // Class declaration. // // Class declaration.
// class MyClass : public CefBase { // class MyClass : public CefBaseRefCounted {
// public: // public:
// MyClass() : value_(0) {} // MyClass() : value_(0) {}
// // Method that may be called on multiple threads. // // Method that may be called on multiple threads.

View File

@ -58,7 +58,7 @@ class CefClient;
// this class may only be called on the main thread. // this class may only be called on the main thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefBrowser : public virtual CefBase { class CefBrowser : public virtual CefBaseRefCounted {
public: public:
/// ///
// Returns the browser host object. This method can only be called in the // Returns the browser host object. This method can only be called in the
@ -197,7 +197,7 @@ class CefBrowser : public virtual CefBase {
// class will be called on the browser process UI thread. // class will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefRunFileDialogCallback : public virtual CefBase { class CefRunFileDialogCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called asynchronously after the file dialog is dismissed. // Called asynchronously after the file dialog is dismissed.
@ -218,7 +218,7 @@ class CefRunFileDialogCallback : public virtual CefBase {
// this class will be called on the browser process UI thread. // this class will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefNavigationEntryVisitor : public virtual CefBase { class CefNavigationEntryVisitor : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be executed. Do not keep a reference to |entry| outside of // Method that will be executed. Do not keep a reference to |entry| outside of
@ -240,7 +240,7 @@ class CefNavigationEntryVisitor : public virtual CefBase {
// will be called on the browser process UI thread. // will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefPdfPrintCallback : public virtual CefBase { class CefPdfPrintCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be executed when the PDF printing has completed. |path| // Method that will be executed when the PDF printing has completed. |path|
@ -257,7 +257,7 @@ class CefPdfPrintCallback : public virtual CefBase {
// class will be called on the browser process UI thread. // class will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDownloadImageCallback : public virtual CefBase { class CefDownloadImageCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be executed when the image download has completed. // Method that will be executed when the image download has completed.
@ -280,7 +280,7 @@ class CefDownloadImageCallback : public virtual CefBase {
// comments. // comments.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefBrowserHost : public virtual CefBase { class CefBrowserHost : public virtual CefBaseRefCounted {
public: public:
typedef cef_drag_operations_mask_t DragOperationsMask; typedef cef_drag_operations_mask_t DragOperationsMask;
typedef cef_file_dialog_mode_t FileDialogMode; typedef cef_file_dialog_mode_t FileDialogMode;

View File

@ -48,7 +48,7 @@
// will be called on the browser process main thread unless otherwise indicated. // will be called on the browser process main thread unless otherwise indicated.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefBrowserProcessHandler : public virtual CefBase { class CefBrowserProcessHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called on the browser process UI thread immediately after the CEF context // Called on the browser process UI thread immediately after the CEF context

View File

@ -44,7 +44,7 @@
// Generic callback interface used for asynchronous continuation. // Generic callback interface used for asynchronous continuation.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefCallback : public virtual CefBase { class CefCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Continue processing. // Continue processing.
@ -63,7 +63,7 @@ class CefCallback : public virtual CefBase {
// Generic callback interface used for asynchronous completion. // Generic callback interface used for asynchronous completion.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefCompletionCallback : public virtual CefBase { class CefCompletionCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be called once the task is complete. // Method that will be called once the task is complete.

View File

@ -59,7 +59,7 @@
// Implement this interface to provide handler implementations. // Implement this interface to provide handler implementations.
/// ///
/*--cef(source=client,no_debugct_check)--*/ /*--cef(source=client,no_debugct_check)--*/
class CefClient : public virtual CefBase { class CefClient : public virtual CefBaseRefCounted {
public: public:
/// ///
// Return the handler for context menus. If no handler is provided the default // Return the handler for context menus. If no handler is provided the default

View File

@ -53,7 +53,7 @@
// used before CefInitialize() is called. // used before CefInitialize() is called.
/// ///
/*--cef(source=library,no_debugct_check)--*/ /*--cef(source=library,no_debugct_check)--*/
class CefCommandLine : public virtual CefBase { class CefCommandLine : public virtual CefBaseRefCounted {
public: public:
typedef std::vector<CefString> ArgumentList; typedef std::vector<CefString> ArgumentList;
typedef std::map<CefString, CefString> SwitchMap; typedef std::map<CefString, CefString> SwitchMap;

View File

@ -50,7 +50,7 @@ class CefContextMenuParams;
// Callback interface used for continuation of custom context menu display. // Callback interface used for continuation of custom context menu display.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefRunContextMenuCallback : public virtual CefBase { class CefRunContextMenuCallback : public virtual CefBaseRefCounted {
public: public:
typedef cef_event_flags_t EventFlags; typedef cef_event_flags_t EventFlags;
@ -74,7 +74,7 @@ class CefRunContextMenuCallback : public virtual CefBase {
// class will be called on the UI thread. // class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefContextMenuHandler : public virtual CefBase { class CefContextMenuHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_event_flags_t EventFlags; typedef cef_event_flags_t EventFlags;
@ -139,7 +139,7 @@ class CefContextMenuHandler : public virtual CefBase {
// can only be accessed on browser process the UI thread. // can only be accessed on browser process the UI thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefContextMenuParams : public virtual CefBase { class CefContextMenuParams : public virtual CefBaseRefCounted {
public: public:
typedef cef_context_menu_type_flags_t TypeFlags; typedef cef_context_menu_type_flags_t TypeFlags;
typedef cef_context_menu_media_type_t MediaType; typedef cef_context_menu_media_type_t MediaType;

View File

@ -51,7 +51,7 @@ class CefDeleteCookiesCallback;
// any thread unless otherwise indicated. // any thread unless otherwise indicated.
/// ///
/*--cef(source=library,no_debugct_check)--*/ /*--cef(source=library,no_debugct_check)--*/
class CefCookieManager : public virtual CefBase { class CefCookieManager : public virtual CefBaseRefCounted {
public: public:
/// ///
// Returns the global cookie manager. By default data will be stored at // Returns the global cookie manager. By default data will be stored at
@ -171,7 +171,7 @@ class CefCookieManager : public virtual CefBase {
// will always be called on the IO thread. // will always be called on the IO thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefCookieVisitor : public virtual CefBase { class CefCookieVisitor : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be called once for each cookie. |count| is the 0-based // Method that will be called once for each cookie. |count| is the 0-based
@ -191,7 +191,7 @@ class CefCookieVisitor : public virtual CefBase {
// CefCookieManager::SetCookie(). // CefCookieManager::SetCookie().
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefSetCookieCallback : public virtual CefBase { class CefSetCookieCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be called upon completion. |success| will be true if the // Method that will be called upon completion. |success| will be true if the
@ -207,7 +207,7 @@ class CefSetCookieCallback : public virtual CefBase {
// CefCookieManager::DeleteCookies(). // CefCookieManager::DeleteCookies().
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDeleteCookiesCallback : public virtual CefBase { class CefDeleteCookiesCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method that will be called upon completion. |num_deleted| will be the // Method that will be called upon completion. |num_deleted| will be the

View File

@ -45,7 +45,7 @@
// Callback interface for asynchronous continuation of file dialog requests. // Callback interface for asynchronous continuation of file dialog requests.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefFileDialogCallback : public virtual CefBase { class CefFileDialogCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Continue the file selection. |selected_accept_filter| should be the 0-based // Continue the file selection. |selected_accept_filter| should be the 0-based
@ -72,7 +72,7 @@ class CefFileDialogCallback : public virtual CefBase {
// will be called on the browser process UI thread. // will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDialogHandler : public virtual CefBase { class CefDialogHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_file_dialog_mode_t FileDialogMode; typedef cef_file_dialog_mode_t FileDialogMode;

View File

@ -47,7 +47,7 @@
// The methods of this class will be called on the UI thread. // The methods of this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDisplayHandler : public virtual CefBase { class CefDisplayHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called when a frame's address has changed. // Called when a frame's address has changed.

View File

@ -49,7 +49,7 @@ class CefDOMNode;
// be called on the render process main thread. // be called on the render process main thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDOMVisitor : public virtual CefBase { class CefDOMVisitor : public virtual CefBaseRefCounted {
public: public:
/// ///
// Method executed for visiting the DOM. The document object passed to this // Method executed for visiting the DOM. The document object passed to this
@ -68,7 +68,7 @@ class CefDOMVisitor : public virtual CefBase {
// be called on the render process main thread thread. // be called on the render process main thread thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefDOMDocument : public virtual CefBase { class CefDOMDocument : public virtual CefBaseRefCounted {
public: public:
typedef cef_dom_document_type_t Type; typedef cef_dom_document_type_t Type;
@ -164,7 +164,7 @@ class CefDOMDocument : public virtual CefBase {
// called on the render process main thread. // called on the render process main thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefDOMNode : public virtual CefBase { class CefDOMNode : public virtual CefBaseRefCounted {
public: public:
typedef std::map<CefString, CefString> AttributeMap; typedef std::map<CefString, CefString> AttributeMap;
typedef cef_dom_node_type_t Type; typedef cef_dom_node_type_t Type;

View File

@ -47,7 +47,7 @@
// Callback interface used to asynchronously continue a download. // Callback interface used to asynchronously continue a download.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefBeforeDownloadCallback : public virtual CefBase { class CefBeforeDownloadCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Call to continue the download. Set |download_path| to the full file path // Call to continue the download. Set |download_path| to the full file path
@ -64,7 +64,7 @@ class CefBeforeDownloadCallback : public virtual CefBase {
// Callback interface used to asynchronously cancel a download. // Callback interface used to asynchronously cancel a download.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefDownloadItemCallback : public virtual CefBase { class CefDownloadItemCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Call to cancel the download. // Call to cancel the download.
@ -91,7 +91,7 @@ class CefDownloadItemCallback : public virtual CefBase {
// on the browser process UI thread. // on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDownloadHandler : public virtual CefBase { class CefDownloadHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called before a download begins. |suggested_name| is the suggested name for // Called before a download begins. |suggested_name| is the suggested name for

View File

@ -44,7 +44,7 @@
// Class used to represent a download item. // Class used to represent a download item.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefDownloadItem : public virtual CefBase { class CefDownloadItem : public virtual CefBaseRefCounted {
public: public:
/// ///
// Returns true if this object is valid. Do not call any other methods if this // Returns true if this object is valid. Do not call any other methods if this

View File

@ -47,7 +47,7 @@
// on any thread. // on any thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefDragData : public virtual CefBase { class CefDragData : public virtual CefBaseRefCounted {
public: public:
/// ///
// Create a new CefDragData object. // Create a new CefDragData object.

View File

@ -47,7 +47,7 @@
// this class will be called on the UI thread. // this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefDragHandler : public virtual CefBase { class CefDragHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_drag_operations_mask_t DragOperationsMask; typedef cef_drag_operations_mask_t DragOperationsMask;

View File

@ -46,7 +46,7 @@
// methods of this class will be called on the UI thread. // methods of this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefFindHandler : public virtual CefBase { class CefFindHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called to report find results returned by CefBrowserHost::Find(). // Called to report find results returned by CefBrowserHost::Find().

View File

@ -48,7 +48,7 @@
// this class will be called on the UI thread. // this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefFocusHandler : public virtual CefBase { class CefFocusHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_focus_source_t FocusSource; typedef cef_focus_source_t FocusSource;

View File

@ -54,7 +54,7 @@ class CefV8Context;
// methods of this class may only be called on the main thread. // methods of this class may only be called on the main thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefFrame : public virtual CefBase { class CefFrame : public virtual CefBaseRefCounted {
public: public:
/// ///
// True if this object is currently attached to a valid frame. // True if this object is currently attached to a valid frame.

View File

@ -45,7 +45,7 @@
// class will be called on the browser process UI thread. // class will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefGetGeolocationCallback : public virtual CefBase { class CefGetGeolocationCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called with the 'best available' location information or, if the location // Called with the 'best available' location information or, if the location

View File

@ -46,7 +46,7 @@
// permission requests. // permission requests.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefGeolocationCallback : public virtual CefBase { class CefGeolocationCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Call to allow or deny geolocation access. // Call to allow or deny geolocation access.
@ -62,7 +62,7 @@ class CefGeolocationCallback : public virtual CefBase {
// thread. // thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefGeolocationHandler : public virtual CefBase { class CefGeolocationHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called when a page requests permission to access geolocation information. // Called when a page requests permission to access geolocation information.

View File

@ -50,7 +50,7 @@
// be called on the browser process UI thread. // be called on the browser process UI thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefImage : public virtual CefBase { class CefImage : public virtual CefBaseRefCounted {
public: public:
/// ///
// Create a new CefImage. It will initially be empty. Use the Add*() methods // Create a new CefImage. It will initially be empty. Use the Add*() methods

View File

@ -46,7 +46,7 @@
// requests. // requests.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefJSDialogCallback : public virtual CefBase { class CefJSDialogCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Continue the JS dialog request. Set |success| to true if the OK button was // Continue the JS dialog request. Set |success| to true if the OK button was
@ -63,7 +63,7 @@ class CefJSDialogCallback : public virtual CefBase {
// methods of this class will be called on the UI thread. // methods of this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefJSDialogHandler : public virtual CefBase { class CefJSDialogHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_jsdialog_type_t JSDialogType; typedef cef_jsdialog_type_t JSDialogType;

View File

@ -46,7 +46,7 @@
// methods of this class will be called on the UI thread. // methods of this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefKeyboardHandler : public virtual CefBase { class CefKeyboardHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called before a keyboard event is sent to the renderer. |event| contains // Called before a keyboard event is sent to the renderer. |event| contains

View File

@ -49,7 +49,7 @@ class CefClient;
// indicated. // indicated.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefLifeSpanHandler : public virtual CefBase { class CefLifeSpanHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_window_open_disposition_t WindowOpenDisposition; typedef cef_window_open_disposition_t WindowOpenDisposition;

View File

@ -48,7 +48,7 @@
// render process main thread (TID_RENDERER). // render process main thread (TID_RENDERER).
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefLoadHandler : public virtual CefBase { class CefLoadHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_errorcode_t ErrorCode; typedef cef_errorcode_t ErrorCode;
typedef cef_transition_type_t TransitionType; typedef cef_transition_type_t TransitionType;

View File

@ -48,7 +48,7 @@
// this class can only be accessed on the browser process the UI thread. // this class can only be accessed on the browser process the UI thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefMenuModel : public virtual CefBase { class CefMenuModel : public virtual CefBaseRefCounted {
public: public:
typedef cef_menu_item_type_t MenuItemType; typedef cef_menu_item_type_t MenuItemType;

View File

@ -48,7 +48,7 @@ class CefMenuModel;
// indicated. // indicated.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefMenuModelDelegate : public virtual CefBase { class CefMenuModelDelegate : public virtual CefBaseRefCounted {
public: public:
/// ///
// Perform the action associated with the specified |command_id| and // Perform the action associated with the specified |command_id| and

View File

@ -45,7 +45,7 @@
// Class used to represent an entry in navigation history. // Class used to represent an entry in navigation history.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefNavigationEntry : public virtual CefBase { class CefNavigationEntry : public virtual CefBaseRefCounted {
public: public:
typedef cef_transition_type_t TransitionType; typedef cef_transition_type_t TransitionType;

View File

@ -46,7 +46,7 @@
// Callback interface for asynchronous continuation of print dialog requests. // Callback interface for asynchronous continuation of print dialog requests.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefPrintDialogCallback : public virtual CefBase { class CefPrintDialogCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Continue printing with the specified |settings|. // Continue printing with the specified |settings|.
@ -65,7 +65,7 @@ class CefPrintDialogCallback : public virtual CefBase {
// Callback interface for asynchronous continuation of print job requests. // Callback interface for asynchronous continuation of print job requests.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefPrintJobCallback : public virtual CefBase { class CefPrintJobCallback : public virtual CefBaseRefCounted {
public: public:
/// ///
// Indicate completion of the print job. // Indicate completion of the print job.
@ -80,7 +80,7 @@ class CefPrintJobCallback : public virtual CefBase {
// class will be called on the browser process UI thread. // class will be called on the browser process UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefPrintHandler : public virtual CefBase { class CefPrintHandler : public virtual CefBaseRefCounted {
public: public:
/// ///
// Called when printing has started for the specified |browser|. This method // Called when printing has started for the specified |browser|. This method

View File

@ -46,7 +46,7 @@
// Class representing print settings. // Class representing print settings.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefPrintSettings : public virtual CefBase { class CefPrintSettings : public virtual CefBaseRefCounted {
public: public:
typedef cef_color_model_t ColorModel; typedef cef_color_model_t ColorModel;
typedef cef_duplex_mode_t DuplexMode; typedef cef_duplex_mode_t DuplexMode;

View File

@ -47,7 +47,7 @@ typedef cef_process_id_t CefProcessId;
// Class representing a message. Can be used on any process and thread. // Class representing a message. Can be used on any process and thread.
/// ///
/*--cef(source=library)--*/ /*--cef(source=library)--*/
class CefProcessMessage : public virtual CefBase { class CefProcessMessage : public virtual CefBaseRefCounted {
public: public:
/// ///
// Create a new CefProcessMessage object with the specified name. // Create a new CefProcessMessage object with the specified name.

View File

@ -49,7 +49,7 @@
// The methods of this class will be called on the UI thread. // The methods of this class will be called on the UI thread.
/// ///
/*--cef(source=client)--*/ /*--cef(source=client)--*/
class CefRenderHandler : public virtual CefBase { class CefRenderHandler : public virtual CefBaseRefCounted {
public: public:
typedef cef_cursor_type_t CursorType; typedef cef_cursor_type_t CursorType;
typedef cef_drag_operations_mask_t DragOperation; typedef cef_drag_operations_mask_t DragOperation;

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