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

@@ -59,7 +59,7 @@ typedef struct _cef_app_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Continue the authentication request.

View File

@@ -47,7 +47,7 @@ extern "C" {
///
// 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.
///
@@ -57,20 +57,20 @@ typedef struct _cef_base_t {
// Called to increment the reference count for the object. Should be called
// 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
// count falls to 0 the object should self-delete. Returns true (1) if the
// 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.
///
int (CEF_CALLBACK *has_one_ref)(struct _cef_base_t* self);
} cef_base_t;
int (CEF_CALLBACK *has_one_ref)(struct _cef_base_ref_counted_t* self);
} cef_base_ref_counted_t;
///
@@ -90,11 +90,11 @@ typedef struct _cef_base_scoped_t {
} cef_base_scoped_t;
// Check that the structure |s|, which is defined with a cef_base_t member named
// |base|, is large enough to contain the specified member |f|.
// Check that the structure |s|, which is defined with a size_t member at the
// top, is large enough to contain the specified member |f|.
#define CEF_MEMBER_EXISTS(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))

View File

@@ -63,7 +63,7 @@ typedef struct _cef_browser_t {
///
// 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
@@ -193,7 +193,7 @@ typedef struct _cef_run_file_dialog_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Called asynchronously after the file dialog is dismissed.
@@ -216,7 +216,7 @@ typedef struct _cef_navigation_entry_visitor_t {
///
// 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
@@ -239,7 +239,7 @@ typedef struct _cef_pdf_print_callback_t {
///
// 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
@@ -260,7 +260,7 @@ typedef struct _cef_download_image_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Method that will be executed when the image download has completed.
@@ -285,7 +285,7 @@ typedef struct _cef_browser_host_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns the hosted browser object.

View File

@@ -57,7 +57,7 @@ typedef struct _cef_browser_process_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Continue processing.
@@ -73,7 +73,7 @@ typedef struct _cef_completion_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Method that will be called once the task is complete.

View File

@@ -67,7 +67,7 @@ typedef struct _cef_client_t {
///
// 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

View File

@@ -59,7 +59,7 @@ typedef struct _cef_command_line_t {
///
// 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

View File

@@ -56,7 +56,7 @@ typedef struct _cef_run_context_menu_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Complete context menu display by selecting the specified |command_id| and
@@ -80,7 +80,7 @@ typedef struct _cef_context_menu_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Called before a context menu is displayed. |params| provides information
@@ -140,7 +140,7 @@ typedef struct _cef_context_menu_params_t {
///
// 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.

View File

@@ -57,7 +57,7 @@ typedef struct _cef_cookie_manager_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Set the schemes supported by this manager. The default schemes ("http",
@@ -172,7 +172,7 @@ typedef struct _cef_cookie_visitor_t {
///
// 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
@@ -195,7 +195,7 @@ typedef struct _cef_set_cookie_callback_t {
///
// 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
@@ -214,7 +214,7 @@ typedef struct _cef_delete_cookies_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Continue the file selection. |selected_accept_filter| should be the 0-based
@@ -80,7 +80,7 @@ typedef struct _cef_dialog_handler_t {
///
// 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

View File

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

View File

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

View File

@@ -54,7 +54,7 @@ typedef struct _cef_before_download_callback_t {
///
// 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
@@ -74,7 +74,7 @@ typedef struct _cef_download_item_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Call to cancel the download.
@@ -101,7 +101,7 @@ typedef struct _cef_download_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns a copy of the current object.

View File

@@ -55,7 +55,7 @@ typedef struct _cef_drag_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Call to allow or deny geolocation access.
@@ -73,7 +73,7 @@ typedef struct _cef_geolocation_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Called when a page requests permission to access geolocation information.

View File

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

View File

@@ -54,7 +54,7 @@ typedef struct _cef_jsdialog_callback_t {
///
// 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
@@ -73,7 +73,7 @@ typedef struct _cef_jsdialog_handler_t {
///
// 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

View File

@@ -54,7 +54,7 @@ typedef struct _cef_keyboard_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Clears the menu. Returns true (1) on success.

View File

@@ -55,7 +55,7 @@ typedef struct _cef_menu_model_delegate_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Continue printing with the specified |settings|.
@@ -76,7 +76,7 @@ typedef struct _cef_print_job_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Indicate completion of the print job.
@@ -93,7 +93,7 @@ typedef struct _cef_print_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns true (1) if this object is read-only.
@@ -205,7 +205,7 @@ typedef struct _cef_post_data_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns true (1) if this object is read-only.
@@ -265,7 +265,7 @@ typedef struct _cef_post_data_element_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns true (1) if this object is read-only.

View File

@@ -56,7 +56,7 @@ typedef struct _cef_resolve_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Called after the ResolveHost request has completed. |result| will be the
@@ -89,7 +89,7 @@ typedef struct _cef_request_context_t {
///
// 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|

View File

@@ -56,7 +56,7 @@ typedef struct _cef_request_context_handler_t {
///
// 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

View File

@@ -61,7 +61,7 @@ typedef struct _cef_request_callback_t {
///
// 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
@@ -83,7 +83,7 @@ typedef struct _cef_select_client_certificate_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Chooses the specified certificate for client certificate authentication.
@@ -103,7 +103,7 @@ typedef struct _cef_request_handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns true (1) if this object is read-only.

View File

@@ -53,7 +53,7 @@ typedef struct _cef_response_filter_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns a bitmask containing any and all problems verifying the server

View File

@@ -54,7 +54,7 @@ typedef struct _cef_sslstatus_t {
///
// 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.

View File

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

View File

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

View File

@@ -57,7 +57,7 @@ typedef struct _cef_task_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Method that will be executed on the target thread.
@@ -79,7 +79,7 @@ typedef struct _cef_task_runner_t {
///
// 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

View File

@@ -61,7 +61,7 @@ typedef struct _cef_thread_t {
///
// 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

View File

@@ -55,7 +55,7 @@ typedef struct _cef_end_tracing_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns the request object used to create this URL request. The returned
@@ -133,7 +133,7 @@ typedef struct _cef_urlrequest_client_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Notifies the client that the request has completed. Use the

View File

@@ -63,7 +63,7 @@ typedef struct _cef_v8context_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns the task runner associated with this context. V8 handles can only
@@ -161,7 +161,7 @@ typedef struct _cef_v8handler_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Handle execution of the function identified by |name|. |object| is the
@@ -187,7 +187,7 @@ typedef struct _cef_v8accessor_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Handle retrieval the accessor value identified by |name|. |object| is the
@@ -225,7 +225,7 @@ typedef struct _cef_v8interceptor_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Handle retrieval of the interceptor value identified by |name|. |object| is
@@ -285,7 +285,7 @@ typedef struct _cef_v8exception_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns the exception message.
@@ -352,7 +352,7 @@ typedef struct _cef_v8value_t {
///
// 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
@@ -585,12 +585,12 @@ typedef struct _cef_v8value_t {
// called on user created objects.
///
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.
///
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);
///
@@ -752,7 +752,7 @@ typedef struct _cef_v8stack_trace_t {
///
// 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
@@ -792,7 +792,7 @@ typedef struct _cef_v8stack_frame_t {
///
// 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

View File

@@ -57,7 +57,7 @@ typedef struct _cef_value_t {
///
// 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
@@ -228,7 +228,7 @@ typedef struct _cef_binary_value_t {
///
// 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
@@ -293,7 +293,7 @@ typedef struct _cef_dictionary_value_t {
///
// 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
@@ -520,7 +520,7 @@ typedef struct _cef_list_value_t {
///
// 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

View File

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

View File

@@ -53,7 +53,7 @@ typedef struct _cef_web_plugin_info_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// Returns the plugin name (i.e. Flash).
@@ -93,7 +93,7 @@ typedef struct _cef_web_plugin_info_visitor_t {
///
// 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
@@ -114,7 +114,7 @@ typedef struct _cef_web_plugin_unstable_callback_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
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
@@ -125,7 +125,7 @@ typedef struct _cef_x509certificate_t {
///
// Base structure.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
cef_base_t base;
cef_base_ref_counted_t base;
///
// 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.
///
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

View File

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

View File

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

View File

@@ -56,7 +56,7 @@ typedef struct _cef_layout_t {
///
// 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.

View File

@@ -61,7 +61,7 @@ typedef struct _cef_view_t {
///
// 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.

View File

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