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

Unified Diff: chrome/browser/sessions/restore_tab_helper.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
« no previous file with comments | « chrome/browser/service/service_process_control.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/restore_tab_helper.cc
===================================================================
--- chrome/browser/sessions/restore_tab_helper.cc (revision 91968)
+++ chrome/browser/sessions/restore_tab_helper.cc (working copy)
@@ -7,8 +7,8 @@
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/common/extensions/extension_messages.h"
#include "content/browser/renderer_host/render_view_host.h"
+#include "content/common/content_notification_types.h"
#include "content/common/notification_service.h"
-#include "content/common/notification_type.h"
RestoreTabHelper::RestoreTabHelper(TabContentsWrapper* tab)
: TabContentsObserver(tab->tab_contents()),
@@ -21,7 +21,7 @@
void RestoreTabHelper::SetWindowID(const SessionID& id) {
window_id_ = id;
NotificationService::current()->Notify(
- NotificationType::TAB_PARENTED,
+ content::NOTIFICATION_TAB_PARENTED,
Source<TabContentsWrapper>(tab_),
NotificationService::NoDetails());
« no previous file with comments | « chrome/browser/service/service_process_control.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698