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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 251103: Move MediaPlayerAction to WebMediaPlayerAction. Switch to an enum and a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
Index: chrome/browser/tab_contents/render_view_context_menu.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 28235)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -12,8 +12,15 @@
class Profile;
class TabContents;
-struct MediaPlayerAction;
+namespace gfx {
+class Point;
+}
+
+namespace WebKit {
+struct WebMediaPlayerAction;
+}
+
class RenderViewContextMenu {
public:
RenderViewContextMenu(
@@ -97,7 +104,8 @@
// Writes the specified text/url to the system clipboard
void WriteURLToClipboard(const GURL& url);
- void MediaPlayerActionAt(int x, int y, const MediaPlayerAction& action);
+ void MediaPlayerActionAt(const gfx::Point& location,
+ const WebKit::WebMediaPlayerAction& action);
bool IsDevCommandEnabled(int id) const;
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698