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:
Marshall Greenblatt
2011-09-12 19:49:38 +00:00
parent 588a69ed9b
commit 44946a7752
6 changed files with 320 additions and 143 deletions

View File

@@ -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