mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: Support accelerators in MenuButton label (issue #2102)
This commit is contained in:
@@ -36,10 +36,15 @@ class CefMenuButtonView :
|
||||
// |cef_delegate| must not be nullptr.
|
||||
explicit CefMenuButtonView(CefMenuButtonDelegate* cef_delegate);
|
||||
|
||||
void Initialize() override;
|
||||
|
||||
// Returns the CefMenuButton associated with this view. See comments on
|
||||
// CefViewView::GetCefView.
|
||||
CefRefPtr<CefMenuButton> GetCefMenuButton() const;
|
||||
|
||||
// Set the flags that control display of accelerator characters.
|
||||
void SetDrawStringsFlags(int flags);
|
||||
|
||||
// views::MenuButtonListener methods:
|
||||
void OnMenuButtonClicked(views::MenuButton* source,
|
||||
const gfx::Point& point,
|
||||
|
Reference in New Issue
Block a user