mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac: Add context menu support (issue #293).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@286 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -288,6 +288,12 @@ class BrowserWebViewDelegate : public WebKit::WebViewClient,
|
||||
void UpdateURL(WebKit::WebFrame* frame);
|
||||
void UpdateSessionHistory(WebKit::WebFrame* frame);
|
||||
|
||||
bool OnBeforeMenu(const WebKit::WebContextMenuData& data,
|
||||
int mouse_x,
|
||||
int mouse_y,
|
||||
int& edit_flags,
|
||||
int& type_flags);
|
||||
|
||||
private:
|
||||
// Causes navigation actions just printout the intended navigation instead
|
||||
// of taking you to the page. This is used for cases like mailto, where you
|
||||
|
Reference in New Issue
Block a user