Searched defs:notification_id (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/chrome/browser/notifications/
H A Dgoogle_now_notification_stats_collector.cc32 const std::string& notification_id,
35 IsNotificationIdForGoogleNow(notification_id)) {
52 const std::string& notification_id) {
55 g_browser_process->notification_ui_manager()->FindById(notification_id);
31 OnNotificationDisplayed( const std::string& notification_id, const message_center::DisplaySource source) argument
51 IsNotificationIdForGoogleNow( const std::string& notification_id) argument
H A Dnotification_ui_manager_android.cc32 const std::string& notification_id) const {
37 const std::string& notification_id) {
36 CancelById( const std::string& notification_id) argument
H A Dmessage_center_stats_collector.cc57 const std::string& notification_id) {
58 stats_[notification_id] = NotificationStats(notification_id);
60 StatsCollection::iterator iter = stats_.find(notification_id);
63 stats_[notification_id].CollectAction(NOTIFICATION_ACTION_ADD);
67 const std::string& notification_id, bool by_user) {
68 StatsCollection::iterator iter = stats_.find(notification_id);
76 stats_.erase(notification_id);
80 const std::string& notification_id) {
81 StatsCollection::iterator iter = stats_.find(notification_id);
56 OnNotificationAdded( const std::string& notification_id) argument
66 OnNotificationRemoved( const std::string& notification_id, bool by_user) argument
79 OnNotificationUpdated( const std::string& notification_id) argument
89 OnNotificationClicked( const std::string& notification_id) argument
99 OnNotificationButtonClicked( const std::string& notification_id, int button_index) argument
110 OnNotificationDisplayed( const std::string& notification_id, const message_center::DisplaySource source) argument
[all...]
H A Dnotification_test_util.cc57 bool StubNotificationUIManager::CancelById(const std::string& notification_id) { argument
58 dismissed_id_ = notification_id;
H A Dextension_welcome_notification_unittest.cc233 void ShowNotification(std::string notification_id, argument
245 base::UTF8ToUTF16(notification_id),
H A Dmessage_center_notification_manager.cc243 const std::string& notification_id,
246 profile_notifications_.find(notification_id);
264 const std::string& notification_id) {
242 OnNotificationRemoved( const std::string& notification_id, bool by_user) argument
263 OnNotificationUpdated( const std::string& notification_id) argument
H A Dmessage_center_settings_controller.cc411 const std::string* notification_id) {
409 OnNotifierAdvancedSettingsRequested( const NotifierId& notifier_id, const std::string* notification_id) argument
H A Dnotification_browsertest.cc89 const std::string& notification_id) OVERRIDE {
93 virtual void OnNotificationRemoved(const std::string& notification_id,
99 const std::string& notification_id) OVERRIDE {
142 bool CancelNotification(const char* notification_id, Browser* browser);
262 const char* notification_id,
266 notification_id);
261 CancelNotification( const char* notification_id, Browser* browser) argument
/external/chromium_org/chrome/browser/notifications/sync_notifier/
H A Dchrome_notifier_delegate.cc19 const std::string& notification_id,
21 : notification_id_(notification_id), chrome_notifier_(notifier) {}
18 ChromeNotifierDelegate( const std::string& notification_id, ChromeNotifierService* notifier) argument
H A Dwelcome_delegate.cc31 WelcomeDelegate::WelcomeDelegate(const std::string& notification_id, argument
35 : notification_id_(notification_id),
/external/chromium_org/ui/message_center/
H A Dmessage_center_observer.h21 // Called when the notification associated with |notification_id| is added
23 virtual void OnNotificationAdded(const std::string& notification_id) {} argument
25 // Called when the notification associated with |notification_id| is removed
27 virtual void OnNotificationRemoved(const std::string& notification_id, argument
31 // |notification_id| is updated.
32 virtual void OnNotificationUpdated(const std::string& notification_id) {} argument
35 // |notification_id|.
36 virtual void OnNotificationClicked(const std::string& notification_id) {} argument
39 // of the notification associated with |notification_id|.
40 virtual void OnNotificationButtonClicked(const std::string& notification_id, argument
45 OnNotificationDisplayed( const std::string& notification_id, const DisplaySource source) argument
[all...]
H A Dfake_notifier_settings_provider.cc91 const std::string* notification_id) {
89 OnNotifierAdvancedSettingsRequested( const NotifierId& notifier_id, const std::string* notification_id) argument
H A Dnotification.cc131 const std::string& notification_id,
140 notification_id,
130 CreateSystemNotification( const std::string& notification_id, const base::string16& title, const base::string16& message, const gfx::Image& icon, const std::string& system_component_id, const base::Closure& click_callback) argument
H A Dfake_message_center.cc81 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id, argument
85 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id, argument
90 const std::string& notification_id,
89 SetNotificationButtonIcon( const std::string& notification_id, int button_index, const gfx::Image& image) argument
H A Dmessage_center_tray.cc207 const std::string& notification_id) {
212 const std::string& notification_id,
218 const std::string& notification_id) {
223 const std::string& notification_id) {
229 const std::string& notification_id,
236 const std::string& notification_id,
206 OnNotificationAdded( const std::string& notification_id) argument
211 OnNotificationRemoved( const std::string& notification_id, bool by_user) argument
217 OnNotificationUpdated( const std::string& notification_id) argument
222 OnNotificationClicked( const std::string& notification_id) argument
228 OnNotificationButtonClicked( const std::string& notification_id, int button_index) argument
235 OnNotificationDisplayed( const std::string& notification_id, const DisplaySource source) argument
H A Dnotification_list.cc135 bool NotificationList::SetNotificationIcon(const std::string& notification_id, argument
137 Notifications::iterator iter = GetNotification(notification_id);
144 bool NotificationList::SetNotificationImage(const std::string& notification_id, argument
146 Notifications::iterator iter = GetNotification(notification_id);
154 const std::string& notification_id, int button_index,
156 Notifications::iterator iter = GetNotification(notification_id);
153 SetNotificationButtonIcon( const std::string& notification_id, int button_index, const gfx::Image& image) argument
/external/chromium_org/content/renderer/
H A Dnotification_provider.cc38 int notification_id = manager_.RegisterNotification(notification); local
48 routing_id(), notification_id, params));
/external/chromium_org/ui/message_center/views/
H A Dmessage_view.cc39 const std::string& notification_id,
44 notification_id_(notification_id),
38 MessageView(MessageViewController* controller, const std::string& notification_id, const NotifierId& notifier_id, const gfx::ImageSkia& small_image, const base::string16& display_source) argument
H A Dmessage_view.h33 virtual void ClickOnNotification(const std::string& notification_id) = 0;
34 virtual void RemoveNotification(const std::string& notification_id,
50 const std::string& notification_id,
90 std::string notification_id() { return notification_id_; } function in class:message_center::MessageView
H A Dnotification_view_unittest.cc40 virtual void ClickOnNotification(const std::string& notification_id) OVERRIDE;
41 virtual void RemoveNotification(const std::string& notification_id,
46 virtual bool HasClickedListener(const std::string& notification_id) OVERRIDE;
47 virtual void ClickOnNotificationButton(const std::string& notification_id,
149 const std::string& notification_id) {
155 const std::string& notification_id,
170 const std::string& notification_id) {
175 const std::string& notification_id,
148 ClickOnNotification( const std::string& notification_id) argument
154 RemoveNotification( const std::string& notification_id, bool by_user) argument
169 HasClickedListener( const std::string& notification_id) argument
174 ClickOnNotificationButton( const std::string& notification_id, int button_index) argument
H A Dmessage_center_view_unittest.cc98 virtual void ClickOnNotification(const std::string& notification_id) OVERRIDE;
99 virtual void RemoveNotification(const std::string& notification_id,
104 virtual bool HasClickedListener(const std::string& notification_id) OVERRIDE;
105 virtual void ClickOnNotificationButton(const std::string& notification_id,
178 const std::string& notification_id) {
184 const std::string& notification_id,
199 const std::string& notification_id) {
204 const std::string& notification_id,
177 ClickOnNotification( const std::string& notification_id) argument
183 RemoveNotification( const std::string& notification_id, bool by_user) argument
198 HasClickedListener( const std::string& notification_id) argument
203 ClickOnNotificationButton( const std::string& notification_id, int button_index) argument
H A Dtoast_contents_view.cc51 const std::string& notification_id,
54 id_(notification_id),
297 const std::string& notification_id) {
299 collection_->ClickOnNotification(notification_id);
303 const std::string& notification_id,
306 collection_->RemoveNotification(notification_id, by_user);
319 const std::string& notification_id) {
322 return collection_->HasClickedListener(notification_id);
326 const std::string& notification_id,
329 collection_->ClickOnNotificationButton(notification_id, button_inde
50 ToastContentsView( const std::string& notification_id, base::WeakPtr<MessagePopupCollection> collection) argument
296 ClickOnNotification( const std::string& notification_id) argument
302 RemoveNotification( const std::string& notification_id, bool by_user) argument
318 HasClickedListener( const std::string& notification_id) argument
325 ClickOnNotificationButton( const std::string& notification_id, int button_index) argument
[all...]
/external/chromium_org/ash/system/chromeos/network/
H A Dnetwork_state_notifier.cc67 void ShowErrorNotification(const std::string& notification_id, argument
79 notification_id,
/external/chromium_org/chrome/browser/background/
H A Dbackground_contents_service_unittest.cc143 const std::string& notification_id) OVERRIDE {
144 if (notification_id == target_id_)
149 const std::string& notification_id) OVERRIDE {
150 if (notification_id == target_id_)
199 std::string notification_id = local
202 NotificationWaiter waiter(notification_id);
208 notification_id);
/external/chromium_org/win8/metro_driver/
H A Dtoast_notification_handler.cc104 const char* notification_id,
112 id(notification_id),
98 DesktopNotification( const char* notification_origin, const char* notification_icon, const wchar_t* notification_title, const wchar_t* notification_body, const wchar_t* notification_display_source, const char* notification_id, base::win::MetroNotificationClickedHandler handler, const wchar_t* handler_context) argument

Completed in 351 milliseconds

12