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

Unified Diff: content/browser/tab_contents/navigation_controller_impl.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: content/browser/tab_contents/navigation_controller_impl.cc
===================================================================
--- content/browser/tab_contents/navigation_controller_impl.cc (revision 116288)
+++ content/browser/tab_contents/navigation_controller_impl.cc (working copy)
@@ -33,6 +33,7 @@
using content::BrowserContext;
using content::GlobalRequestID;
+using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
using content::UserMetricsAction;
@@ -53,7 +54,7 @@
details.count = count;
content::NotificationService::current()->Notify(
content::NOTIFICATION_NAV_LIST_PRUNED,
- content::Source<content::NavigationController>(nav_controller),
+ content::Source<NavigationController>(nav_controller),
content::Details<content::PrunedDetails>(&details));
}
@@ -188,7 +189,7 @@
content::NotificationService::current()->Notify(
content::NOTIFICATION_TAB_CLOSED,
- content::Source<content::NavigationController>(this),
+ content::Source<NavigationController>(this),
content::NotificationService::NoDetails());
}
@@ -254,7 +255,7 @@
// with check_for_repost = false.
content::NotificationService::current()->Notify(
content::NOTIFICATION_REPOST_WARNING_SHOWN,
- content::Source<content::NavigationController>(this),
+ content::Source<NavigationController>(this),
content::NotificationService::NoDetails());
pending_reload_ = reload_type;
@@ -315,7 +316,7 @@
pending_entry_ = entry;
content::NotificationService::current()->Notify(
content::NOTIFICATION_NAV_ENTRY_PENDING,
- content::Source<content::NavigationController>(this),
+ content::Source<NavigationController>(this),
content::Details<NavigationEntry>(entry));
NavigateToPendingEntry(NO_RELOAD);
}
@@ -973,7 +974,7 @@
}
void NavigationControllerImpl::CopyStateFrom(
- const content::NavigationController& temp) {
+ const NavigationController& temp) {
const NavigationControllerImpl& source =
static_cast<const NavigationControllerImpl&>(temp);
// Verify that we look new.
@@ -991,7 +992,7 @@
}
void NavigationControllerImpl::CopyStateFromAndPrune(
- content::NavigationController* temp) {
+ NavigationController* temp) {
NavigationControllerImpl* source =
static_cast<NavigationControllerImpl*>(temp);
// The SiteInstance and page_id of the last committed entry needs to be
@@ -1249,7 +1250,7 @@
content::NotificationService::current()->Notify(
content::NOTIFICATION_NAV_ENTRY_COMMITTED,
- content::Source<content::NavigationController>(this),
+ content::Source<NavigationController>(this),
notification_details);
}
@@ -1283,7 +1284,7 @@
det.index = index;
content::NotificationService::current()->Notify(
content::NOTIFICATION_NAV_ENTRY_CHANGED,
- content::Source<content::NavigationController>(this),
+ content::Source<NavigationController>(this),
content::Details<content::EntryChangedDetails>(&det));
}
« no previous file with comments | « content/browser/tab_contents/interstitial_page.cc ('k') | content/browser/tab_contents/navigation_controller_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698