| Index: chrome/browser/ui/gtk/download/download_started_animation_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/download/download_started_animation_gtk.cc (revision 91968)
|
| +++ chrome/browser/ui/gtk/download/download_started_animation_gtk.cc (working copy)
|
| @@ -49,7 +49,7 @@
|
| virtual void AnimateToState(double state);
|
|
|
| // NotificationObserver
|
| - virtual void Observe(NotificationType type,
|
| + virtual void Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details);
|
|
|
| @@ -98,11 +98,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_));
|
|
|
| // TODO(estade): don't show up on the wrong virtual desktop.
|
| @@ -150,11 +150,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;
|
| @@ -180,7 +180,7 @@
|
| }
|
| }
|
|
|
| -void DownloadStartedAnimationGtk::Observe(NotificationType type,
|
| +void DownloadStartedAnimationGtk::Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| Close();
|
|
|