diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 23:06:56 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 23:06:56 +0000 |
commit | 581b87eb99683237b52cf727178c0492cf273eeb (patch) | |
tree | 516cf6d1b75dc380fa179d72f95579300d9fdfcb /webkit/glue/webview.h | |
parent | c72d7f9099a607ed546404a04a50402a9c3eeeb6 (diff) | |
download | chromium_src-581b87eb99683237b52cf727178c0492cf273eeb.zip chromium_src-581b87eb99683237b52cf727178c0492cf273eeb.tar.gz chromium_src-581b87eb99683237b52cf727178c0492cf273eeb.tar.bz2 |
Allow the browser to send actions back to the render for media element context menus.
Also renamed ContextNodeType per fishd's suggestion.
BUG=15686
TEST=none
Review URL: http://codereview.chromium.org/155954
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview.h')
-rw-r--r-- | webkit/glue/webview.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h index 565143d..dcc3643 100644 --- a/webkit/glue/webview.h +++ b/webkit/glue/webview.h @@ -16,6 +16,7 @@ class WebDragData; struct WebPoint; } +struct MediaPlayerAction; struct WebPreferences; class GURL; class WebDevToolsAgent; @@ -230,6 +231,12 @@ class WebView : public WebKit::WebWidget { virtual void SetIsTransparent(bool is_transparent) = 0; virtual bool GetIsTransparent() const = 0; + // Performs an action from a context menu for the node at the given + // location. + virtual void MediaPlayerActionAt(int x, + int y, + const MediaPlayerAction& action) = 0; + // Updates the WebView's active state (i.e., control tints). virtual void SetActive(bool active) = 0; |