mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: Use Aura to display context menus (issue #1258)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1710 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -31,6 +31,9 @@ class CefMenuModelImpl : public CefMenuModel {
|
||||
// Notifies the delegate that the menu has closed.
|
||||
virtual void MenuClosed(CefRefPtr<CefMenuModelImpl> source) =0;
|
||||
|
||||
// Allows the delegate to modify a menu item label before it's displayed.
|
||||
virtual bool FormatLabel(base::string16& label) =0;
|
||||
|
||||
protected:
|
||||
virtual ~Delegate() {}
|
||||
};
|
||||
@ -104,6 +107,7 @@ class CefMenuModelImpl : public CefMenuModel {
|
||||
void ActivatedAt(int index, cef_event_flags_t event_flags);
|
||||
void MenuWillShow();
|
||||
void MenuClosed();
|
||||
base::string16 GetFormattedLabelAt(int index);
|
||||
|
||||
// Verify that only a single reference exists to all CefMenuModelImpl objects.
|
||||
bool VerifyRefCount();
|
||||
|
Reference in New Issue
Block a user