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

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

Issue 20072: Finish taking out render_messages.h include from other headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 9207)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -986,15 +986,14 @@
delegate_->DidDownloadImage(this, id, image_url, errored, image);
}
-void RenderViewHost::OnMsgContextMenu(
- const ViewHostMsg_ContextMenu_Params& params) {
+void RenderViewHost::OnMsgContextMenu(const ContextMenuParams& params) {
RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
if (!view)
return;
// Validate the URLs in |params|. If the renderer can't request the URLs
// directly, don't show them in the context menu.
- ViewHostMsg_ContextMenu_Params validated_params(params);
+ ContextMenuParams validated_params(params);
const int renderer_id = process()->host_id();
RendererSecurityPolicy* policy = RendererSecurityPolicy::GetInstance();

Powered by Google App Engine
This is Rietveld 408576698