Index: chrome/browser/chromeos/notifications/notification_panel.cc |
=================================================================== |
--- chrome/browser/chromeos/notifications/notification_panel.cc (revision 91880) |
+++ chrome/browser/chromeos/notifications/notification_panel.cc (working copy) |
@@ -466,7 +466,7 @@ |
panel_controller_->Init(false /* don't focus when opened */, |
gfx::Rect(0, 0, kBalloonMinWidth, 1), 0, |
WM_IPC_PANEL_USER_RESIZE_VERTICALLY); |
- registrar_.Add(this, NotificationType::PANEL_STATE_CHANGED, |
+ registrar_.Add(this, chrome::PANEL_STATE_CHANGED, |
Source<PanelController>(panel_controller_.get())); |
} |
panel_widget_->Show(); |
@@ -616,10 +616,10 @@ |
//////////////////////////////////////////////////////////////////////////////// |
// NotificationObserver overrides. |
-void NotificationPanel::Observe(NotificationType type, |
+void NotificationPanel::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- DCHECK(type == NotificationType::PANEL_STATE_CHANGED); |
+ DCHECK(type == chrome::PANEL_STATE_CHANGED); |
PanelController::State* state = |
reinterpret_cast<PanelController::State*>(details.map_key()); |
switch (*state) { |
@@ -687,7 +687,7 @@ |
void NotificationPanel::UnregisterNotification() { |
if (panel_controller_.get()) |
- registrar_.Remove(this, NotificationType::PANEL_STATE_CHANGED, |
+ registrar_.Remove(this, chrome::PANEL_STATE_CHANGED, |
Source<PanelController>(panel_controller_.get())); |
} |