summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebView.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 05:50:28 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 05:50:28 +0000
commit952cb7063b41fc2afaa9d1c265d38158b0e7d3e0 (patch)
treea454f8e01ee6ce946e475f8451ba4e1fd1407007 /webkit/api/public/WebView.h
parent71cd6a943b2b677adabbafdd12b2e024106e78f6 (diff)
downloadchromium_src-952cb7063b41fc2afaa9d1c265d38158b0e7d3e0.zip
chromium_src-952cb7063b41fc2afaa9d1c265d38158b0e7d3e0.tar.gz
chromium_src-952cb7063b41fc2afaa9d1c265d38158b0e7d3e0.tar.bz2
Move MediaPlayerAction to WebMediaPlayerAction. Switch to an enum and a
boolean to express the action. R=ajwong BUG=10033 TEST=none Review URL: http://codereview.chromium.org/251103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public/WebView.h')
-rw-r--r--webkit/api/public/WebView.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/api/public/WebView.h b/webkit/api/public/WebView.h
index bf7896d..4b1437f 100644
--- a/webkit/api/public/WebView.h
+++ b/webkit/api/public/WebView.h
@@ -41,6 +41,7 @@ namespace WebKit {
class WebSettings;
class WebString;
class WebViewClient;
+ struct WebMediaPlayerAction;
struct WebPoint;
class WebView : public WebWidget {
@@ -141,6 +142,13 @@ namespace WebKit {
virtual void zoomDefault() = 0;
+ // Media ---------------------------------------------------------------
+
+ // Performs the specified action on the node at the given location.
+ virtual void performMediaPlayerAction(
+ const WebMediaPlayerAction&, const WebPoint& location) = 0;
+
+
// Data exchange -------------------------------------------------------
// Copy to the clipboard the image located at a particular point in the