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

Unified Diff: chrome/browser/ui/views/download/download_started_animation_win.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: chrome/browser/ui/views/download/download_started_animation_win.cc
===================================================================
--- chrome/browser/ui/views/download/download_started_animation_win.cc (revision 91968)
+++ chrome/browser/ui/views/download/download_started_animation_win.cc (working copy)
@@ -50,7 +50,7 @@
virtual void AnimateToState(double state);
// NotificationObserver
- virtual void Observe(NotificationType type,
+ virtual void Observe(int type,
const NotificationSource& source,
const NotificationDetails& details);
@@ -92,11 +92,11 @@
registrar_.Add(
this,
- NotificationType::TAB_CONTENTS_HIDDEN,
+ content::NOTIFICATION_TAB_CONTENTS_HIDDEN,
Source<TabContents>(tab_contents_));
registrar_.Add(
this,
- NotificationType::TAB_CONTENTS_DESTROYED,
+ content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
Source<TabContents>(tab_contents_));
SetImage(kDownloadImage);
@@ -139,11 +139,11 @@
registrar_.Remove(
this,
- NotificationType::TAB_CONTENTS_HIDDEN,
+ content::NOTIFICATION_TAB_CONTENTS_HIDDEN,
Source<TabContents>(tab_contents_));
registrar_.Remove(
this,
- NotificationType::TAB_CONTENTS_DESTROYED,
+ content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
Source<TabContents>(tab_contents_));
tab_contents_ = NULL;
popup_->Close();
@@ -166,7 +166,7 @@
}
}
-void DownloadStartedAnimationWin::Observe(NotificationType type,
+void DownloadStartedAnimationWin::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
Close();
« no previous file with comments | « chrome/browser/ui/views/dom_view_browsertest.cc ('k') | chrome/browser/ui/views/extensions/extension_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698