mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-17 12:45:06 +00:00
Add CefContextMenuParams::GetTitleText method (issue #2030)
This commit is contained in:
1 parent
3f0c94f7e6
commit
5f4190ff75
7 files changed
+54
No files matched your search
@@ -125,6 +125,21 @@ int CEF_CALLBACK context_menu_params_has_image_contents(
|
||||
return _retval;
|
||||
}
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK context_menu_params_get_title_text(
|
||||
struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
return NULL;
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetTitleText();
|
||||
|
||||
// Return type: string
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK context_menu_params_get_page_url(
|
||||
struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@@ -352,6 +367,7 @@ CefContextMenuParamsCppToC::CefContextMenuParamsCppToC() {
|
||||
context_menu_params_get_unfiltered_link_url;
|
||||
GetStruct()->get_source_url = context_menu_params_get_source_url;
|
||||
GetStruct()->has_image_contents = context_menu_params_has_image_contents;
|
||||
GetStruct()->get_title_text = context_menu_params_get_title_text;
|
||||
GetStruct()->get_page_url = context_menu_params_get_page_url;
|
||||
GetStruct()->get_frame_url = context_menu_params_get_frame_url;
|
||||
GetStruct()->get_frame_charset = context_menu_params_get_frame_charset;
|
||||
|
||||
Reference in new issue
Block a user