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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

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
Index: chrome/browser/renderer_host/render_view_host.cc
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index c788560ea3a3f63f9130347ce8375adf0a6aec7b..ca6d5f3f5697fdd8042d6d9f68293b0a2c8f137e 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -1248,6 +1248,13 @@ void RenderViewHost::OnMsgShowModalHTMLDialog(
delegate_->ShowModalHTMLDialog(url, width, height, json_arguments, reply_msg);
}
+void RenderViewHost::MediaPlayerActionAt(int x,
+ int y,
+ const MediaPlayerAction& action) {
+ // TODO(ajwong): Which thread should run this? Does it matter?
+ Send(new ViewMsg_MediaPlayerActionAt(routing_id(), x, y, action));
+}
+
void RenderViewHost::OnMsgPasswordFormsSeen(
const std::vector<webkit_glue::PasswordForm>& forms) {
delegate_->PasswordFormsSeen(forms);
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/tab_contents/render_view_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698