views: Support ink drop effect on buttons (issue #2102)

This commit is contained in:
Marshall Greenblatt
2017-02-24 13:02:07 -05:00
parent f8909fe9e0
commit 10f9a9484f
14 changed files with 112 additions and 0 deletions

View File

@@ -68,6 +68,12 @@ class CefButton : public CefView {
/*--cef(default_retval=CEF_BUTTON_STATE_NORMAL)--*/
virtual cef_button_state_t GetState() =0;
///
// Sets the Button will use an ink drop effect for displaying state changes.
///
/*--cef()--*/
virtual void SetInkDropEnabled(bool enabled) =0;
///
// Sets the tooltip text that will be displayed when the user hovers the mouse
// cursor over the Button.