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

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

Issue 9383005: Add method skeleton for showing website settings. Add commandline flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo in comment. Created 8 years, 10 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 | « no previous file | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index d827865e0da2b054ab3f7f70355c10ebb327f13f..d61400dd972d8a865c763a73b9df3cc29317221f 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -1682,7 +1682,8 @@ void RenderViewContextMenu::ExecuteCommand(int id, int event_flags) {
NavigationController* controller = &source_web_contents_->GetController();
NavigationEntry* nav_entry = controller->GetActiveEntry();
Browser* browser = Browser::GetBrowserForController(controller, NULL);
- browser->ShowPageInfo(nav_entry->GetURL(), nav_entry->GetSSL(), true);
+ browser->ShowPageInfo(source_web_contents_, nav_entry->GetURL(),
+ nav_entry->GetSSL(), true);
break;
}
@@ -1724,7 +1725,8 @@ void RenderViewContextMenu::ExecuteCommand(int id, int event_flags) {
case IDC_CONTENT_CONTEXT_VIEWFRAMEINFO: {
Browser* browser = Browser::GetBrowserForController(
&source_web_contents_->GetController(), NULL);
- browser->ShowPageInfo(params_.frame_url, params_.security_info, false);
+ browser->ShowPageInfo(source_web_contents_, params_.frame_url,
+ params_.security_info, false);
break;
}
« no previous file with comments | « no previous file | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698