Searched refs:notification (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/external/junit/src/org/junit/runner/notification/
H A Dpackage-info.java6 package org.junit.runner.notification
H A DStoppedByUserException.java1 package org.junit.runner.notification;
7 * @see org.junit.runner.notification.RunNotifier
/external/chromium_org/content/shell/renderer/test_runner/
H A Dnotification_presenter.cc30 WebNotification* notification = static_cast<WebNotification*>(context); local
31 notification->dispatchDisplayEvent();
33 delete notification;
47 const WebNotification& notification = iter->second; local
49 WebNotification event_target(notification);
57 const WebNotification& notification = active_notifications_.begin()->second; local
58 cancel(notification);
64 bool NotificationPresenter::show(const WebNotification& notification) { argument
65 if (!notification.replaceId().isEmpty()) {
66 std::string replaceId(notification
109 cancel(const WebNotification& notification) argument
121 objectDestroyed( const WebNotification& notification) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DNotificationPresenterImpl.cpp56 bool NotificationPresenterImpl::show(Notification* notification) argument
58 return m_presenter->show(notification);
61 void NotificationPresenterImpl::close(Notification* notification) argument
63 m_presenter->close(notification);
66 m_presenter->cancel(notification);
69 void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification) argument
71 m_presenter->objectDestroyed(notification);
/external/chromium_org/ash/system/chromeos/session/
H A Dtray_session_length_limit_unittest.cc14 #include "ui/message_center/notification.h"
82 message_center::Notification* notification = GetNotification(); local
83 EXPECT_TRUE(notification);
84 EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority());
85 base::string16 first_content = notification->message();
87 EXPECT_TRUE(notification->rich_notification_data().
92 notification = GetNotification();
93 EXPECT_TRUE(notification);
94 EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority());
96 EXPECT_NE(first_content, notification
125 message_center::Notification* notification; local
[all...]
/external/chromium_org/chrome/browser/notifications/
H A Dnotification.cc5 #include "chrome/browser/notifications/notification.h"
57 Notification::Notification(const Notification& notification) argument
58 : message_center::Notification(notification),
59 origin_url_(notification.origin_url()),
60 icon_url_(notification.icon_url()),
61 button_one_icon_url_(notification.button_one_icon_url()),
62 button_two_icon_url_(notification.button_two_icon_url()),
63 image_url_(notification.image_url()),
64 replace_id_(notification.replace_id()),
65 delegate_(notification
69 operator =(const Notification& notification) argument
[all...]
/external/chromium_org/content/renderer/
H A Dnotification_provider.cc33 bool NotificationProvider::show(const WebNotification& notification) { argument
35 int notification_id = manager_.RegisterNotification(notification);
39 params.icon_url = notification.iconURL();
40 params.title = notification.title();
41 params.body = notification.body();
42 params.direction = notification.direction();
43 params.replace_id = notification.replaceId();
48 void NotificationProvider::cancel(const WebNotification& notification) { argument
50 bool id_found = manager_.GetId(notification, id);
51 // Won't be found if the notification ha
56 objectDestroyed( const WebNotification& notification) argument
92 WebNotification notification; local
101 WebNotification notification; local
110 WebNotification notification; local
121 WebNotification notification; local
[all...]
H A Dactive_notification_tracker.cc20 const WebNotification& notification, int& id) {
21 ReverseTable::iterator iter = reverse_notification_table_.find(notification);
29 int id, WebNotification* notification) {
34 *notification = *lookup;
44 WebNotification* notification = new WebNotification(proxy); local
45 int id = notification_table_.Add(notification);
52 // We want to free the notification after removing it from the table.
53 scoped_ptr<WebNotification> notification(notification_table_.Lookup(id));
55 DCHECK(notification.get());
56 if (notification)
19 GetId( const WebNotification& notification, int& id) argument
28 GetNotification( int id, WebNotification* notification) argument
[all...]
H A Dactive_notification_tracker.h26 // Methods for tracking active notification objects.
27 int RegisterNotification(const blink::WebNotification& notification);
29 bool GetId(const blink::WebNotification& notification, int& id);
30 bool GetNotification(int id, blink::WebNotification* notification);
/external/chromium_org/jingle/notifier/listener/
H A Dnotification_defines_unittest.cc16 // Create a notification with binary data in the data field.
21 Notification notification; local
22 notification.data = kNonUtf8Data;
23 EXPECT_EQ("{ channel: \"\", data: \"\\u00FF\" }", notification.ToString());
H A Dpush_notifications_send_update_task_unittest.cc34 Notification notification; local
35 notification.channel = "test_channel";
36 notification.data = "test_data";
39 base::Base64Encode(notification.data, &base64_data);
43 notification, to_jid_bare_));
53 to_jid_bare_.Str().c_str(), notification.channel.c_str(),
H A Dfake_push_client_observer.cc24 const Notification& notification) {
25 last_incoming_notification_ = notification;
23 OnIncomingNotification( const Notification& notification) argument
H A Dnon_blocking_push_client_unittest.cc94 Notification notification; local
95 notification.channel = "channel";
96 notification.recipients.resize(10);
97 notification.recipients[0].to = "to";
98 notification.recipients[9].user_specific_data = "user_specific_data";
99 notification.data = "data";
100 return notification;
105 const Notification notification = MakeTestNotification(); local
107 push_client_->SendNotification(notification);
112 fake_push_client_->sent_notifications()[0].Equals(notification));
141 const Notification notification = MakeTestNotification(); local
[all...]
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_dialog_types_unittest.cc24 DialogNotification notification(DialogNotification::WALLET_ERROR, text);
25 EXPECT_TRUE(notification.link_range().is_empty());
28 notification = DialogNotification(DialogNotification::WALLET_ERROR, text);
30 EXPECT_EQ(base::string16::npos, notification.display_text().find(bar));
31 EXPECT_FALSE(notification.link_range().is_empty());
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/
H A DAPPRTCViewController.h32 - (void)windowWillClose:(NSNotification*)notification;
/external/chromium_org/chrome/browser/ui/cocoa/apps/
H A Dquit_with_apps_controller_mac_interactive_uitest.cc49 // Test that quitting while apps are open shows a notification instead.
53 const Notification* notification; local
59 notification = g_browser_process->notification_ui_manager()->FindById(
61 EXPECT_EQ(NULL, notification);
72 // On the first quit, show notification.
75 notification = g_browser_process->notification_ui_manager()->FindById(
77 ASSERT_TRUE(notification);
79 // If notification was dismissed by click, show again on next quit.
80 notification->delegate()->Click();
84 notification
[all...]
/external/chromium_org/ui/message_center/views/
H A Dnotification_view.h27 // View that displays all current types of notification (web, basic, image, and
28 // list). Future notification types may be handled by other classes, in which
39 // notification type. A notification is top level if it needs to be rendered
44 const Notification& notification,
58 const Notification& notification) OVERRIDE;
73 const Notification& notification);
87 void CreateOrUpdateViews(const Notification& notification);
88 void SetAccessibleName(const Notification& notification);
90 void CreateOrUpdateTitleView(const Notification& notification);
[all...]
/external/mockito/src/org/mockito/internal/runners/util/
H A DFrameworkUsageValidator.java8 import org.junit.runner.notification.Failure;
9 import org.junit.runner.notification.RunListener;
10 import org.junit.runner.notification.RunNotifier;
/external/chromium_org/third_party/ocmock/OCMock/
H A DOCMNotificationPoster.h10 NSNotification *notification; variable
/external/guava/guava/src/com/google/common/cache/
H A DRemovalListener.java22 * An object that can receive a notification when an entry is removed from a cache. The removal
23 * resulting in notification could have occured to an entry being manually removed or replaced, or
45 void onRemoval(RemovalNotification<K, V> notification); argument
/external/junit/src/org/junit/runner/
H A DRunner.java3 import org.junit.runner.notification.RunNotifier;
6 * A <code>Runner</code> runs tests and notifies a {@link org.junit.runner.notification.RunNotifier}
/external/chromium_org/chrome/browser/ui/panels/
H A Dtest_panel_notification_observer.cc13 int notification,
17 registrar_.Add(this, notification, source);
12 TestPanelNotificationObserver( int notification, const content::NotificationSource& source) argument
/external/chromium_org/third_party/skia/src/views/mac/
H A DSkEventNotifier.h10 - (void)receiveSkEvent:(NSNotification*)notification;
/external/skia/src/views/mac/
H A DSkEventNotifier.h10 - (void)receiveSkEvent:(NSNotification*)notification;
/external/chromium_org/ash/system/chromeos/supervised/
H A Dtray_supervised_user_unittest.cc12 #include "ui/message_center/notification.h"
72 message_center::Notification* notification = GetPopup(); local
73 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); local
75 notification->rich_notification_data().priority);
80 // the notification and should not cause crashes.
81 message_center::Notification* notification = GetPopup(); local
82 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); local
84 notification->rich_notification_data().priority);

Completed in 571 milliseconds

1234567891011>>