Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1040)

Unified Diff: webkit/glue/webview.h

Issue 155954: Implement sending actions back to the render for media element context menus. (Closed)
Patch Set: remove uneeded bits. Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/glue_util.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview.h
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h
index 81d0094ff144f78847c4d1949b6ca22459ab0d3e..9250f36cef96a9780cb7eacfded87f590bc0b17f 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;
+
private:
DISALLOW_COPY_AND_ASSIGN(WebView);
};
« no previous file with comments | « webkit/glue/glue_util.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698