Searched defs:notifications (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/chrome/browser/notifications/
H A Dnotification_conversion_helper.h8 #include "chrome/browser/notifications/notification.h"
13 namespace notifications { namespace in namespace:extensions::api
16 } // namespace notifications
29 // extensions::api::notifications::NotificationOptions.
32 extensions::api::notifications::NotificationOptions* options);
35 // extensions::api::notifications::NotificationBitmap type (RGBA).
38 extensions::api::notifications::NotificationBitmap* return_image_args);
40 // Converts an extensions::api::notifications::NotificationBitmap type object
45 extensions::api::notifications::NotificationBitmap* notification_bitmap,
50 // to extensions::api::notifications
[all...]
H A Dnotification_browsertest.cc22 #include "chrome/browser/notifications/desktop_notification_profile_util.h"
23 #include "chrome/browser/notifications/notification.h"
52 const char kExpectedIconUrl[] = "/notifications/no_such_file.png";
157 "/notifications/notification_tester.html");
371 "/notifications/notifications_request_function.html"));
399 message_center::NotificationList::Notifications notifications = local
402 (*notifications.rbegin())->title());
404 (*notifications.rbegin())->message());
418 message_center::NotificationList::Notifications notifications = local
421 (*notifications
597 message_center::NotificationList::Notifications notifications = local
770 message_center::NotificationList::Notifications notifications = local
829 message_center::NotificationList::Notifications notifications = local
[all...]
/external/chromium_org/ash/display/
H A Ddisplay_error_observer_chromeos.cc61 message_center::NotificationList::Notifications notifications = local
64 notifications.begin(); iter != notifications.end(); ++iter) {
H A Dresolution_notification_controller_unittest.cc109 const message_center::NotificationList::Notifications& notifications = local
112 notifications.begin(); iter != notifications.end(); ++iter) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowNotificationManager.java17 private Map<Integer, Notification> notifications = new HashMap<Integer, Notification>(); field in class:ShadowNotificationManager
31 notifications.put(id, notification);
44 if (notifications.containsKey(id)) {
45 notifications.remove(id);
47 notifications.remove(tagId);
53 notifications.clear();
58 return notifications.size();
62 return notifications.get(id);
67 return notifications.get(id);
71 return new ArrayList<Notification>(notifications
[all...]
/external/chromium_org/ash/system/chromeos/session/
H A Dtray_session_length_limit_unittest.cc45 const message_center::NotificationList::Notifications& notifications = local
48 notifications.begin(); iter != notifications.end(); ++iter) {
77 // No notifications when no session limit.
/external/chromium_org/chrome/browser/extensions/api/notifications/
H A Dnotifications_apitest.cc9 #include "chrome/browser/extensions/api/notifications/notifications_api.h"
12 #include "chrome/browser/notifications/notification.h"
13 #include "chrome/browser/notifications/notification_ui_manager.h"
75 // A sequential list of user gesture notifications from the test extension(s).
102 ASSERT_TRUE(RunExtensionTest("notifications/api/basic_usage")) << message_;
106 ASSERT_TRUE(RunExtensionTest("notifications/api/events")) << message_;
110 ASSERT_TRUE(RunExtensionTest("notifications/api/csp")) << message_;
115 LoadExtensionAndWait("notifications/api/by_user");
147 ASSERT_TRUE(RunExtensionTest("notifications/api/partial_update")) << message_;
155 const message_center::NotificationList::Notifications& notifications local
260 const message_center::NotificationList::Notifications& notifications = local
[all...]
/external/chromium_org/ui/message_center/
H A Dmessage_center_tray_unittest.cc290 // The first item is to disable notifications from the notifier id. It also
291 // removes all notifications from the same notifier, i.e. id1 and id3.
293 NotificationList::Notifications notifications = local
295 EXPECT_EQ(1u, notifications.size());
296 EXPECT_EQ(id2, (*notifications.begin())->id());
302 // disabling notifications.
H A Dmessage_center_impl_unittest.cc182 const NotificationList::Notifications& notifications,
185 notifications.begin(); iter != notifications.end(); ++iter) {
378 // Block all notifications. All popups are gone and message center should be
439 // Unblock notifications, the id1 should appear as a popup.
519 // TotalNotificationBlocker suppresses showing notifications even from the list.
551 NotificationList::Notifications notifications = local
553 EXPECT_FALSE(NotificationsContain(notifications, "id1"));
554 EXPECT_TRUE(NotificationsContain(notifications, "id2"));
577 notifications
181 NotificationsContain( const NotificationList::Notifications& notifications, const std::string& id) argument
769 const NotificationList::Notifications& notifications = local
[all...]
H A Dnotification_list.cc128 Notifications notifications; local
132 notifications.insert(*iter);
134 return notifications;
194 // Collect notifications that should be shown as popups. Start from oldest.
305 Notifications notifications = GetVisibleNotifications(blockers); local
307 for (Notifications::const_iterator iter = notifications.begin();
308 iter != notifications.end(); ++iter) {
H A Dnotification_list_unittest.cc112 bool IsInNotifications(const NotificationList::Notifications& notifications, argument
115 notifications.begin(); iter != notifications.end(); ++iter) {
200 const NotificationList::Notifications notifications = local
202 EXPECT_EQ(replaced, (*notifications.begin())->id());
203 EXPECT_EQ(UTF8ToUTF16("newtitle"), (*notifications.begin())->title());
204 EXPECT_EQ(UTF8ToUTF16("newbody"), (*notifications.begin())->message());
362 NotificationList::Notifications notifications = local
365 notifications.begin(); iter != notifications
434 const NotificationList::Notifications notifications = local
599 const NotificationList::Notifications notifications = local
632 NotificationList::Notifications notifications = local
[all...]
/external/chromium_org/chrome/browser/ui/views/message_center/
H A Dmessage_center_widget_delegate.cc161 const NotificationList::Notifications& notifications = local
163 SetNotifications(notifications);
/external/chromium_org/components/storage_monitor/
H A Dstorage_monitor.cc25 explicit ReceiverImpl(StorageMonitor* notifications) argument
26 : notifications_(notifications) {}
H A Dportable_device_watcher_win.cc454 // returns the device notifications handle else returns NULL.
552 StorageMonitor::Receiver* notifications) {
553 storage_notifications_ = notifications;
551 SetNotifications( StorageMonitor::Receiver* notifications) argument
H A Dvolume_mount_watcher_win.cc500 StorageMonitor::Receiver* notifications) {
501 notifications_ = notifications;
499 SetNotifications( StorageMonitor::Receiver* notifications) argument
/external/chromium_org/ui/message_center/views/
H A Dmessage_center_bubble.cc120 const NotificationList::Notifications& notifications = local
122 message_center_view_->SetNotifications(notifications);
H A Dmessage_center_view_unittest.cc143 NotificationList::Notifications notifications; local
144 notifications.insert(&notification);
150 message_center_view_->SetNotifications(notifications);
/external/chromium_org/ash/system/chromeos/
H A Dtray_display_unittest.cc164 const message_center::NotificationList::Notifications notifications = local
167 notifications.begin(); iter != notifications.end(); ++iter) {
/external/chromium_org/chrome/browser/background/
H A Dbackground_contents_service_unittest.cc34 #include "chrome/browser/notifications/message_center_notification_manager.h"
35 #include "chrome/browser/notifications/notification.h"
384 message_center::NotificationList::Notifications notifications = local
386 ASSERT_EQ(1u, notifications.size());
/external/chromium_org/testing/gtest/test/
H A Dgtest_output_test_.cc488 static void ThreadRoutine(SpawnThreadNotifications* notifications) { argument
490 notifications->spawn_thread_started.Notify();
493 notifications->spawn_thread_ok_to_terminate.WaitForNotification();
/external/gtest/test/
H A Dgtest_output_test_.cc483 static void ThreadRoutine(SpawnThreadNotifications* notifications) { argument
485 notifications->spawn_thread_started.Notify();
488 notifications->spawn_thread_ok_to_terminate.WaitForNotification();
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_settings_provider.cc808 // Collect all notifications but send them only after we have swapped the
810 std::vector<std::string> notifications; local
817 notifications.push_back(iter->first);
824 notifications.push_back(iter->first);
829 for (size_t i = 0; i < notifications.size(); ++i)
830 NotifyObservers(notifications[i]);
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_provider_backend.cc228 HistoryNotifications notifications; local
233 &notifications))
237 BroadcastNotifications(&notifications);
243 HistoryNotifications notifications; local
247 AndroidURLID id = InsertHistoryAndBookmark(values, true, &notifications);
252 BroadcastNotifications(&notifications);
260 HistoryNotifications notifications; local
265 &notifications))
269 BroadcastNotifications(&notifications);
277 HistoryNotifications notifications; local
289 UpdateHistoryAndBookmarks( const HistoryAndBookmarkRow& row, const std::string& selection, const std::vector<base::string16>& selection_args, int* updated_count, HistoryNotifications* notifications) argument
372 InsertHistoryAndBookmark( const HistoryAndBookmarkRow& values, bool ensure_initialized_and_updated, HistoryNotifications* notifications) argument
423 DeleteHistoryAndBookmarks( const std::string& selection, const std::vector<base::string16>& selection_args, int * deleted_count, HistoryNotifications* notifications) argument
448 DeleteHistory( const std::string& selection, const std::vector<base::string16>& selection_args, int* deleted_count, HistoryNotifications* notifications) argument
955 SimulateUpdateURL( const HistoryAndBookmarkRow& row, const TableIDRows& ids, HistoryNotifications* notifications) argument
1124 DeleteHistoryInternal( const TableIDRows& urls, bool delete_bookmarks, HistoryNotifications* notifications) argument
1163 BroadcastNotifications( HistoryNotifications* notifications) argument
[all...]
/external/chromium_org/chrome/browser/
H A Dpepper_flash_settings_manager.cc167 const std::vector<std::pair<uint32, RequestType> >& notifications);
664 std::vector<std::pair<uint32, RequestType> > notifications; local
667 notifications.push_back(std::make_pair(iter->id, iter->type));
670 notifications.insert(notifications.end(), pending_responses_.begin(),
676 base::Bind(&Core::NotifyError, this, notifications));
747 const std::vector<std::pair<uint32, RequestType> >& notifications) {
752 notifications.begin(); iter != notifications.end(); ++iter) {
746 NotifyError( const std::vector<std::pair<uint32, RequestType> >& notifications) argument
/external/chromium_org/third_party/closure_compiler/externs/
H A Dchrome_extensions.js2828 chrome.contentSettings.notifications;
5848 * @see http://developer.chrome.com/extensions/notifications.html
5851 chrome.notifications = {};
5859 * @see http://developer.chrome.com/extensions/notifications.html#type-NotificationOptions
5861 chrome.notifications.NotificationButton;
5869 * @see http://developer.chrome.com/extensions/notifications.html#type-NotificationOptions
5871 chrome.notifications.NotificationItem;
5883 * buttons: (!Array.<!chrome.notifications.NotificationButton>|undefined),
5885 * items: (!Array.<!chrome.notifications.NotificationItem>|undefined),
5889 * @see http://developer.chrome.com/extensions/notifications
[all...]

Completed in 3529 milliseconds

12