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

Unified Diff: content/browser/tab_contents/navigation_controller.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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.cc
===================================================================
--- content/browser/tab_contents/navigation_controller.cc (revision 91968)
+++ content/browser/tab_contents/navigation_controller.cc (working copy)
@@ -42,7 +42,7 @@
details.from_front = from_front;
details.count = count;
NotificationService::current()->Notify(
- NotificationType::NAV_LIST_PRUNED,
+ content::NOTIFICATION_NAV_LIST_PRUNED,
Source<NavigationController>(nav_controller),
Details<content::PrunedDetails>(&details));
}
@@ -133,7 +133,7 @@
DiscardNonCommittedEntriesInternal();
NotificationService::current()->Notify(
- NotificationType::TAB_CLOSED,
+ content::NOTIFICATION_TAB_CLOSED,
Source<NavigationController>(this),
NotificationService::NoDetails());
}
@@ -183,7 +183,7 @@
// they really want to do this. If they do, the dialog will call us back
// with check_for_repost = false.
NotificationService::current()->Notify(
- NotificationType::REPOST_WARNING_SHOWN,
+ content::NOTIFICATION_REPOST_WARNING_SHOWN,
Source<NavigationController>(this),
NotificationService::NoDetails());
@@ -270,7 +270,7 @@
DiscardNonCommittedEntriesInternal();
pending_entry_ = entry;
NotificationService::current()->Notify(
- NotificationType::NAV_ENTRY_PENDING,
+ content::NOTIFICATION_NAV_ENTRY_PENDING,
Source<NavigationController>(this),
NotificationService::NoDetails());
NavigateToPendingEntry(NO_RELOAD);
@@ -1061,7 +1061,7 @@
tab_contents_->NotifyNavigationStateChanged(kInvalidateAll);
NotificationService::current()->Notify(
- NotificationType::NAV_ENTRY_COMMITTED,
+ content::NOTIFICATION_NAV_ENTRY_COMMITTED,
Source<NavigationController>(this),
notification_details);
}
@@ -1092,7 +1092,8 @@
content::EntryChangedDetails det;
det.changed_entry = entry;
det.index = index;
- NotificationService::current()->Notify(NotificationType::NAV_ENTRY_CHANGED,
+ NotificationService::current()->Notify(
+ content::NOTIFICATION_NAV_ENTRY_CHANGED,
Source<NavigationController>(this),
Details<content::EntryChangedDetails>(&det));
}
« no previous file with comments | « content/browser/tab_contents/interstitial_page.cc ('k') | content/browser/tab_contents/navigation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698