Add CefContextMenuParams::GetTitleText method (issue #2030)

This commit is contained in:
Marshall Greenblatt
2017-01-17 12:43:49 -05:00
parent 3f0c94f7e6
commit 5f4190ff75
7 changed files with 54 additions and 0 deletions

View File

@ -192,6 +192,14 @@ typedef struct _cef_context_menu_params_t {
int (CEF_CALLBACK *has_image_contents)(
struct _cef_context_menu_params_t* self);
///
// Returns the title text or the alt text if the context menu was invoked on
// an image.
///
// The resulting string must be freed by calling cef_string_userfree_free().
cef_string_userfree_t (CEF_CALLBACK *get_title_text)(
struct _cef_context_menu_params_t* self);
///
// Returns the URL of the top level page that the context menu was invoked on.
///