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

Unified Diff: chrome/browser/ui/webui/print_preview_handler.cc

Issue 8956059: Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « chrome/browser/ui/webui/cloud_print_signin_dialog.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview_handler.cc
===================================================================
--- chrome/browser/ui/webui/print_preview_handler.cc (revision 115900)
+++ chrome/browser/ui/webui/print_preview_handler.cc (working copy)
@@ -58,6 +58,7 @@
#endif
using content::BrowserThread;
+using content::NavigationEntry;
using content::OpenURLParams;
using content::Referrer;
using printing::Metafile;
@@ -314,7 +315,7 @@
settings->SetString(printing::kSettingHeaderFooterTitle,
initiator_tab->tab_contents()->GetTitle());
std::string url;
- content::NavigationEntry* entry =
+ NavigationEntry* entry =
initiator_tab->tab_contents()->GetController().GetActiveEntry();
if (entry)
url = entry->GetVirtualURL().spec();
« no previous file with comments | « chrome/browser/ui/webui/cloud_print_signin_dialog.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698