Chromium Code Reviews

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

Issue 6142013: Allow printing/saving a plugin through right click menu, even if it's in a fr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 70859)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -1378,6 +1378,14 @@
Send(new ViewMsg_MediaPlayerActionAt(routing_id(), location, action));
}
+void RenderViewHost::ContextMenuClosed() {
+ Send(new ViewMsg_ContextMenuClosed(routing_id()));
+}
+
+void RenderViewHost::PrintNodeUnderContextMenu() {
+ Send(new ViewMsg_PrintNodeUnderContextMenu(routing_id()));
+}
+
void RenderViewHost::OnMsgFormsSeen(const std::vector<FormData>& forms) {
RenderViewHostDelegate::AutoFill* autofill_delegate =
delegate_->GetAutoFillDelegate();

Powered by Google App Engine