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:
@@ -24,6 +24,7 @@ class CefMenuCreator : public CefMenuModelImpl::Delegate {
|
||||
public:
|
||||
virtual ~Runner() {}
|
||||
virtual bool RunContextMenu(CefMenuCreator* manager) =0;
|
||||
virtual bool FormatLabel(base::string16& label) { return false; }
|
||||
};
|
||||
|
||||
explicit CefMenuCreator(CefBrowserHostImpl* browser);
|
||||
@@ -49,6 +50,7 @@ class CefMenuCreator : public CefMenuModelImpl::Delegate {
|
||||
cef_event_flags_t event_flags) OVERRIDE;
|
||||
virtual void MenuWillShow(CefRefPtr<CefMenuModelImpl> source) OVERRIDE;
|
||||
virtual void MenuClosed(CefRefPtr<CefMenuModelImpl> source) OVERRIDE;
|
||||
virtual bool FormatLabel(base::string16& label) OVERRIDE;
|
||||
|
||||
// Create the default menu model.
|
||||
void CreateDefaultModel();
|
||||
|
Reference in New Issue
Block a user