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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.cc

Issue 8983012: Get rid of content::NavigationController in cc file and use "using" instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 12 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/ui/web_applications/web_app_ui.cc
===================================================================
--- chrome/browser/ui/web_applications/web_app_ui.cc (revision 116288)
+++ chrome/browser/ui/web_applications/web_app_ui.cc (working copy)
@@ -28,6 +28,7 @@
#endif
using content::BrowserThread;
+using content::NavigationController;
namespace {
@@ -103,7 +104,7 @@
registrar_.Add(
this,
content::NOTIFICATION_TAB_CLOSING,
- content::Source<content::NavigationController>(
+ content::Source<NavigationController>(
&tab_contents_->web_contents()->GetController()));
}
@@ -117,7 +118,7 @@
const content::NotificationSource& source,
const content::NotificationDetails& details) {
if (type == content::NOTIFICATION_TAB_CLOSING &&
- content::Source<content::NavigationController>(source).ptr() ==
+ content::Source<NavigationController>(source).ptr() ==
&tab_contents_->web_contents()->GetController()) {
// Underlying tab is closing.
tab_contents_ = NULL;
« no previous file with comments | « chrome/browser/ui/views/tab_contents/tab_contents_container.cc ('k') | chrome/browser/ui/webui/cloud_print_signin_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698