/external/chromium_org/chrome/browser/notifications/ |
D | message_center_stats_collector.cc | 57 const std::string& notification_id) { in OnNotificationAdded() argument 58 stats_[notification_id] = NotificationStats(notification_id); in OnNotificationAdded() 60 StatsCollection::iterator iter = stats_.find(notification_id); in OnNotificationAdded() 63 stats_[notification_id].CollectAction(NOTIFICATION_ACTION_ADD); in OnNotificationAdded() 67 const std::string& notification_id, bool by_user) { in OnNotificationRemoved() argument 68 StatsCollection::iterator iter = stats_.find(notification_id); in OnNotificationRemoved() 76 stats_.erase(notification_id); in OnNotificationRemoved() 80 const std::string& notification_id) { in OnNotificationUpdated() argument 81 StatsCollection::iterator iter = stats_.find(notification_id); in OnNotificationUpdated() 90 const std::string& notification_id) { in OnNotificationClicked() argument [all …]
|
D | message_center_stats_collector.h | 66 virtual void OnNotificationAdded(const std::string& notification_id) OVERRIDE; 67 virtual void OnNotificationRemoved(const std::string& notification_id, 70 const std::string& notification_id) OVERRIDE; 72 const std::string& notification_id) OVERRIDE; 73 virtual void OnNotificationButtonClicked(const std::string& notification_id, 76 const std::string& notification_id) OVERRIDE;
|
D | desktop_notifications_unittest.cc | 53 new LoggingNotificationProxy(notification.notification_id())); in Add() 147 params.notification_id = 0; in StandardTestNotification() 159 params.notification_id = 1; in TEST_F() 168 params2.notification_id = 2; in TEST_F() 185 params.notification_id = 1; in TEST_F() 206 int notification_id = 1; in TEST_F() local 210 params.notification_id = notification_id; in TEST_F() 222 notification_id); in TEST_F() 241 params.notification_id = id; in TEST_F() 263 params.notification_id = 0; in TEST_F() [all …]
|
D | balloon_collection_base.cc | 42 if ((*iter)->notification().notification_id() == id) { in FindById() 55 if ((*iter)->notification().notification_id() == id) in CloseById() 105 const std::string& notification_id) { in FindBalloonById() argument 108 if ((*iter)->notification().notification_id() == notification_id) { in FindBalloonById() 116 return FindBalloonById(notification.notification_id()); in FindBalloon()
|
D | message_center_notification_manager.cc | 126 old_notification->notification().notification_id(); in Update() 135 profile_notifications_[notification.notification_id()] = new_notification; in Update() 229 const std::string& notification_id, in OnNotificationRemoved() argument 232 profile_notifications_.find(notification_id); in OnNotificationRemoved() 250 const std::string& notification_id) { in OnNotificationUpdated() argument 298 notification.notification_id())); in StartDownloads() 307 notification.notification_id())); in StartDownloads() 316 notification.notification_id(), in StartDownloads() 324 notification.notification_id(), in StartDownloads() 454 std::string id = notification.notification_id(); in AddProfileNotification() [all …]
|
D | desktop_notification_service_win.cc | 16 int process_id, int route_id, int notification_id) { in CancelDesktopNotification() argument 18 new NotificationObjectProxy(process_id, route_id, notification_id, in CancelDesktopNotification() 44 notification.notification_id().c_str(), in ShowNotification()
|
D | notification_ui_manager_mac.mm | 70 // The key in NSUserNotification.userInfo that stores the C++ notification_id. 71 NSString* const kNotificationIDKey = @"notification_id"; 161 notification.notification_id()) 166 notification.notification_id(), 188 notification_ids.insert(model->notification_id()); 194 bool NotificationUIManagerMac::CancelById(const std::string& notification_id) { 195 NotificationMap::iterator it = notification_map_.find(notification_id); 197 return BalloonNotificationUIManager::CancelById(notification_id); 260 std::string notification_id = base::SysNSStringToUTF8( 263 NotificationMap::const_iterator it = notification_map_.find(notification_id); [all …]
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | desktop_notifications.cc | 164 const std::string& notification_id, in NotificationMessage() argument 171 const base::string16 replace_id = UTF8ToUTF16(notification_id); in NotificationMessage() 175 new Delegate(host->AsWeakPtr(), notification_id), profile); in NotificationMessage() 303 std::string notification_id = GetNotificationId(type, path); in ShowNotificationWithMessage() local 304 hidden_notifications_.erase(notification_id); in ShowNotificationWithMessage() 305 ShowNotificationById(type, notification_id, message); in ShowNotificationWithMessage() 312 std::string notification_id = GetNotificationId(type, path); in ShowNotificationDelayed() local 313 hidden_notifications_.erase(notification_id); in ShowNotificationDelayed() 317 type, notification_id, GetMessage(type)), in ShowNotificationDelayed() 323 std::string notification_id = GetNotificationId(type, path); in HideNotification() local [all …]
|
D | desktop_notifications.h | 92 const std::string& notification_id, 94 void HideNotificationById(const std::string& notification_id); 95 void RemoveNotificationById(const std::string& notification_id);
|
/external/chromium_org/ui/message_center/ |
D | message_center_observer.h | 23 virtual void OnNotificationAdded(const std::string& notification_id) {} in OnNotificationAdded() argument 27 virtual void OnNotificationRemoved(const std::string& notification_id, in OnNotificationRemoved() argument 32 virtual void OnNotificationUpdated(const std::string& notification_id) {} in OnNotificationUpdated() argument 36 virtual void OnNotificationClicked(const std::string& notification_id) {} in OnNotificationClicked() argument 40 virtual void OnNotificationButtonClicked(const std::string& notification_id, in OnNotificationButtonClicked() argument 45 virtual void OnNotificationDisplayed(const std::string& notification_id) {} in OnNotificationDisplayed() argument
|
D | message_center_tray.h | 66 virtual void OnNotificationAdded(const std::string& notification_id) OVERRIDE; 67 virtual void OnNotificationRemoved(const std::string& notification_id, 70 const std::string& notification_id) OVERRIDE; 72 const std::string& notification_id) OVERRIDE; 74 const std::string& notification_id, 77 const std::string& notification_id) OVERRIDE;
|
D | message_center_tray.cc | 120 const std::string& notification_id) { in OnNotificationAdded() argument 125 const std::string& notification_id, in OnNotificationRemoved() argument 131 const std::string& notification_id) { in OnNotificationUpdated() argument 136 const std::string& notification_id) { in OnNotificationClicked() argument 142 const std::string& notification_id, in OnNotificationButtonClicked() argument 149 const std::string& notification_id) { in OnNotificationDisplayed() argument
|
/external/chromium_org/ui/message_center/views/ |
D | message_center_controller.h | 20 virtual void ClickOnNotification(const std::string& notification_id) = 0; 21 virtual void RemoveNotification(const std::string& notification_id, 26 virtual bool HasClickedListener(const std::string& notification_id) = 0; 27 virtual void ClickOnNotificationButton(const std::string& notification_id, 29 virtual void ExpandNotification(const std::string& notification_id) = 0;
|
D | message_popup_collection.h | 74 virtual void ClickOnNotification(const std::string& notification_id) OVERRIDE; 75 virtual void RemoveNotification(const std::string& notification_id, 80 virtual bool HasClickedListener(const std::string& notification_id) OVERRIDE; 81 virtual void ClickOnNotificationButton(const std::string& notification_id, 83 virtual void ExpandNotification(const std::string& notification_id) OVERRIDE; 165 virtual void OnNotificationAdded(const std::string& notification_id) OVERRIDE; 166 virtual void OnNotificationRemoved(const std::string& notification_id, 169 const std::string& notification_id) OVERRIDE; 171 ToastContentsView* FindToast(const std::string& notification_id) const;
|
D | message_center_view_unittest.cc | 98 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, 107 virtual void ExpandNotification(const std::string& notification_id) OVERRIDE; 182 const std::string& notification_id) { in ClickOnNotification() argument 188 const std::string& notification_id, in RemoveNotification() argument 206 const std::string& notification_id) { in HasClickedListener() argument 211 const std::string& notification_id, in ClickOnNotificationButton() argument 218 const std::string& notification_id) { in ExpandNotification() argument
|
D | message_popup_collection.cc | 109 const std::string& notification_id) { in ClickOnNotification() argument 110 message_center_->ClickOnNotification(notification_id); in ClickOnNotification() 114 const std::string& notification_id, in RemoveNotification() argument 116 message_center_->RemoveNotification(notification_id, by_user); in RemoveNotification() 129 const std::string& notification_id) { in HasClickedListener() argument 130 return message_center_->HasClickedListener(notification_id); in HasClickedListener() 134 const std::string& notification_id, in ClickOnNotificationButton() argument 136 message_center_->ClickOnNotificationButton(notification_id, button_index); in ClickOnNotificationButton() 140 const std::string& notification_id) { in ExpandNotification() argument 141 message_center_->ExpandNotification(notification_id); in ExpandNotification() [all …]
|
D | toast_contents_view.cc | 49 const std::string& notification_id, in ToastContentsView() argument 52 id_(notification_id), in ToastContentsView() 291 const std::string& notification_id) { in ClickOnNotification() argument 293 collection_->ClickOnNotification(notification_id); in ClickOnNotification() 297 const std::string& notification_id, in RemoveNotification() argument 300 collection_->RemoveNotification(notification_id, by_user); in RemoveNotification() 315 const std::string& notification_id) { in HasClickedListener() argument 318 return collection_->HasClickedListener(notification_id); in HasClickedListener() 322 const std::string& notification_id, in ClickOnNotificationButton() argument 325 collection_->ClickOnNotificationButton(notification_id, button_index); in ClickOnNotificationButton() [all …]
|
D | toast_contents_view.h | 44 ToastContentsView(const std::string& notification_id, 79 virtual void ClickOnNotification(const std::string& notification_id) OVERRIDE; 80 virtual void RemoveNotification(const std::string& notification_id, 85 virtual bool HasClickedListener(const std::string& notification_id) OVERRIDE; 86 virtual void ClickOnNotificationButton(const std::string& notification_id, 88 virtual void ExpandNotification(const std::string& notification_id) OVERRIDE;
|
D | message_view.h | 28 virtual void ClickOnNotification(const std::string& notification_id) = 0; 29 virtual void RemoveNotification(const std::string& notification_id, 49 const std::string& notification_id, 82 std::string notification_id() { return notification_id_; } in notification_id() function
|
D | message_center_view.h | 82 virtual void ClickOnNotification(const std::string& notification_id) OVERRIDE; 83 virtual void RemoveNotification(const std::string& notification_id, 88 virtual bool HasClickedListener(const std::string& notification_id) OVERRIDE; 89 virtual void ClickOnNotificationButton(const std::string& notification_id, 91 virtual void ExpandNotification(const std::string& notification_id) OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/api/notifications/ |
D | notifications_apitest.cc | 49 std::string notification_id; in IN_PROC_BROWSER_TEST_F() local 72 ASSERT_TRUE(result->GetAsString(¬ification_id)); in IN_PROC_BROWSER_TEST_F() 73 ASSERT_TRUE(notification_id.length() > 0); in IN_PROC_BROWSER_TEST_F() 87 "[\"" + notification_id + in IN_PROC_BROWSER_TEST_F() 169 "[\"" + notification_id + "\"]", in IN_PROC_BROWSER_TEST_F() 203 std::string notification_id; in IN_PROC_BROWSER_TEST_F() local 205 ASSERT_TRUE(result->GetAsString(¬ification_id)); in IN_PROC_BROWSER_TEST_F() 206 ASSERT_TRUE(notification_id.length() > 0); in IN_PROC_BROWSER_TEST_F() 242 std::string notification_id; in IN_PROC_BROWSER_TEST_F() local 244 ASSERT_TRUE(result->GetAsString(¬ification_id)); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | notifications_api.cc | 503 std::string notification_id; in RunNotificationsApi() local 504 if (!params_->notification_id.empty()) { in RunNotificationsApi() 506 notification_id = params_->notification_id; in RunNotificationsApi() 510 notification_id = base::GenerateGUID(); in RunNotificationsApi() 511 if (notification_id.empty()) in RunNotificationsApi() 512 notification_id = base::RandBytesAsString(16); in RunNotificationsApi() 515 SetResult(new base::StringValue(notification_id)); in RunNotificationsApi() 518 if (!CreateNotification(notification_id, ¶ms_->options)) in RunNotificationsApi() 540 CreateScopedIdentifier(extension_->id(), params_->notification_id)); in RunNotificationsApi() 555 params_->notification_id, ¶ms_->options, ¬ification); in RunNotificationsApi() [all …]
|
/external/chromium/chrome/browser/notifications/ |
D | desktop_notifications_unittest.cc | 34 new LoggingNotificationProxy(notification.notification_id())); in Add() 104 params.notification_id = 0; in StandardTestNotification() 116 params.notification_id = 1; in TEST_F() 127 params2.notification_id = 2; in TEST_F() 141 params.notification_id = 1; in TEST_F() 162 int notification_id = 1; in TEST_F() local 165 params.notification_id = notification_id; in TEST_F() 177 notification_id); in TEST_F() 195 params.notification_id = id; in TEST_F() 218 params.notification_id = 0; in TEST_F() [all …]
|
D | balloon_collection_base.cc | 41 if ((*iter)->notification().notification_id() == id) in CloseById() 79 if ((*iter)->notification().notification_id() == in FindBalloon() 80 notification.notification_id()) { in FindBalloon()
|
/external/chromium/chrome/browser/chromeos/notifications/ |
D | desktop_notifications_unittest.cc | 43 new LoggingNotificationProxy(notification.notification_id())); in Add() 99 params.notification_id = 0; in StandardTestNotification() 111 params.notification_id = 1; in TEST_F() 122 params2.notification_id = 2; in TEST_F() 136 params.notification_id = 1; in TEST_F() 162 int notification_id = 1; in TEST_F() local 165 params.notification_id = notification_id; in TEST_F() 177 notification_id); in TEST_F() 196 params.notification_id = id; in TEST_F() 259 params.notification_id = 1; in TEST_F()
|