| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" /
/ MessageCallback | 10 #include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" /
/ MessageCallback |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 virtual void Add(const Notification& notification, | 26 virtual void Add(const Notification& notification, |
| 27 Profile* profile) OVERRIDE; | 27 Profile* profile) OVERRIDE; |
| 28 virtual bool HasSpace() const OVERRIDE; | 28 virtual bool HasSpace() const OVERRIDE; |
| 29 | 29 |
| 30 // Overridden from message_center::MessageCenter::Delegate. | 30 // Overridden from message_center::MessageCenter::Delegate. |
| 31 virtual void NotificationRemoved(const std::string& notification_id) OVERRIDE; | 31 virtual void NotificationRemoved(const std::string& notification_id) OVERRIDE; |
| 32 virtual void DisableExtension(const std::string& notification_id) OVERRIDE; | 32 virtual void DisableExtension(const std::string& notification_id) OVERRIDE; |
| 33 virtual void DisableNotificationsFromSource( | 33 virtual void DisableNotificationsFromSource( |
| 34 const std::string& notification_id) OVERRIDE; | 34 const std::string& notification_id) OVERRIDE; |
| 35 virtual void ShowSettings(const std::string& notification_id) OVERRIDE; | 35 virtual void ShowSettings(const std::string& notification_id) OVERRIDE; |
| 36 virtual void ShowSettingsDialog(gfx::NativeView context) OVERRIDE; |
| 36 virtual void OnClicked(const std::string& notification_id) OVERRIDE; | 37 virtual void OnClicked(const std::string& notification_id) OVERRIDE; |
| 37 virtual void OnButtonClicked(const std::string& notification_id, | 38 virtual void OnButtonClicked(const std::string& notification_id, |
| 38 int button_index) OVERRIDE; | 39 int button_index) OVERRIDE; |
| 39 | 40 |
| 40 // Overridden from message_center::NotifierSettingsView::Delegate. | 41 // Overridden from message_center::NotifierSettingsView::Delegate. |
| 41 virtual void GetNotifierList( | 42 virtual void GetNotifierList( |
| 42 std::vector<message_center::NotifierSettingsView::Notifier>* notifiers) | 43 std::vector<message_center::NotifierSettingsView::Notifier>* notifiers) |
| 43 OVERRIDE; | 44 OVERRIDE; |
| 44 virtual void SetNotifierEnabled(const std::string& id, bool enabled) OVERRIDE; | 45 virtual void SetNotifierEnabled(const std::string& id, bool enabled) OVERRIDE; |
| 45 virtual void OnNotifierSettingsClosing( | 46 virtual void OnNotifierSettingsClosing( |
| (...skipping 29 matching lines...) Expand all Loading... |
| 75 | 76 |
| 76 private: | 77 private: |
| 77 // The view displaying notifier settings. NULL if the settings are not | 78 // The view displaying notifier settings. NULL if the settings are not |
| 78 // visible. | 79 // visible. |
| 79 message_center::NotifierSettingsView* settings_view_; | 80 message_center::NotifierSettingsView* settings_view_; |
| 80 | 81 |
| 81 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImplAsh); | 82 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImplAsh); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ | 85 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ |
| OLD | NEW |