/external/chromium/chrome/browser/notifications/ |
notification.cc | 5 #include "chrome/browser/notifications/notification.h" 7 Notification::Notification(const GURL& origin_url, 19 Notification::Notification(const Notification& notification) 20 : origin_url_(notification.origin_url()), 21 content_url_(notification.content_url()), 22 display_source_(notification.display_source()) [all...] |
notification.h | 17 // Representation of an notification to be shown to the user. All 20 class Notification { 22 Notification(const GURL& origin_url, 27 Notification(const Notification& notification); 28 ~Notification(); 29 Notification& operator=(const Notification& notification); [all...] |
/external/chromium_org/chrome/browser/notifications/ |
notification.cc | 5 #include "chrome/browser/notifications/notification.h" 12 Notification::Notification(const GURL& origin_url, 17 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE, 32 Notification::Notification(const GURL& origin_url, 40 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE, 59 Notification::Notification( 70 : message_center::Notification(type [all...] |
desktop_notification_service_win.cc | 9 #include "chrome/browser/notifications/notification.h" 32 const Notification& notification) { 38 if (!notification.is_html()) { 39 display_metro_notification(notification.origin_url().spec().c_str(), 40 notification.content_url().spec().c_str(), 41 notification.title().c_str(), 42 notification.message().c_str(), 43 notification.display_source().c_str(), 44 notification.notification_id().c_str() [all...] |
notification_ui_manager_mac.h | 20 class Notification; 26 // send text-only (non-HTML) notifications to Notification Center on 10.8. This 35 virtual void Add(const Notification& notification, 44 // Returns the corresponding C++ object for the Cocoa notification object, 46 const Notification* FindNotificationWithCocoaNotification( 47 id<CrUserNotification> notification) const; 50 // A ControllerNotification links the Cocoa (view) notification to the C++ 51 // (model) notification. This assumes ownership (i.e. does not retain a_view) 56 Notification* a_model) [all...] |
/external/junit/src/org/junit/runner/notification/ |
package-info.java | 6 package org.junit.runner.notification
|
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 17 package android.service.notification; 19 import android.app.Notification; 25 * Class encapsulating a Notification. Sent by the NotificationManagerService to clients including 26 * the status bar and any {@link android.service.notification.NotificationListenerService}s. 36 private final Notification notification; field in class:StatusBarNotification 44 Notification notification, UserHandle user) { 45 this(pkg, null, id, tag, uid, initialPid, score, notification, user); 50 int initialPid, int score, Notification notification, UserHandle user) [all...] |
/external/chromium/chrome/browser/chromeos/notifications/ |
balloon_collection_impl.h | 28 // A balloon collection represents a set of notification balloons being 29 // shown in the chromeos notification panel. Unlike other platforms, 30 // chromeos shows the all notifications in the notification panel, and 48 // Resize notification from webkit. 62 virtual void Add(const Notification& notification, 81 // there is no notification that matches NotificationDelegate::id(), 84 bool AddWebUIMessageCallback(const Notification& notification, 88 // Adds new system notification [all...] |
balloon_collection_impl.cc | 13 #include "chrome/browser/notifications/notification.h" 40 void BalloonCollectionImpl::Add(const Notification& notification, 42 Balloon* new_balloon = MakeBalloon(notification, profile); 53 const Notification& notification, 56 Balloon* balloon = FindBalloon(notification); 67 const Notification& notification, 72 Balloon* new_balloon = new Balloon(notification, profile, this) [all...] |
/external/chromium_org/ui/message_center/cocoa/ |
notification_controller.h | 17 class Notification; 22 // The base view controller class for notifications. A notification at minimum 24 // the content for both a popup bubble and a view in the notification tray. 29 const message_center::Notification* notification_; 31 // A copy of the notification ID. 40 // The large icon associated with the notification, on the left side. 55 // Container for optional items at the bottom of the notification. 59 // Creates a new controller for a given notification. 60 - (id)initWithNotification:(const message_center::Notification*)notification [all...] |
popup_collection_unittest.mm | 18 #include "ui/message_center/notification.h" 45 scoped_ptr<message_center::Notification> notification; 46 notification.reset(new message_center::Notification( 50 ASCIIToUTF16("This is the first notification to" 57 center_->AddNotification(notification.Pass()); 59 notification.reset(new message_center::Notification( 63 ASCIIToUTF16("This is the second notification.") [all...] |
/external/chromium_org/content/renderer/ |
active_notification_tracker.cc | 22 const WebNotification& notification, int& id) { 23 ReverseTable::iterator iter = reverse_notification_table_.find(notification); 31 int id, WebNotification* notification) { 36 *notification = *lookup; 46 WebNotification* notification = new WebNotification(proxy); local 47 int id = notification_table_.Add(notification); 54 // We want to free the notification after removing it from the table. 55 scoped_ptr<WebNotification> notification(notification_table_.Lookup(id)); 57 DCHECK(notification.get()); 58 if (notification) [all...] |
notification_provider.cc | 38 bool NotificationProvider::show(const WebNotification& notification) { 39 int notification_id = manager_.RegisterNotification(notification); 40 if (notification.isHTML()) 41 return ShowHTML(notification, notification_id); 43 return ShowText(notification, notification_id); 46 void NotificationProvider::cancel(const WebNotification& notification) { 48 bool id_found = manager_.GetId(notification, id); 49 // Won't be found if the notification has already been closed by the user. 55 const WebNotification& notification) { 57 bool id_found = manager_.GetId(notification, id) 134 WebNotification notification; local 143 WebNotification notification; local 152 WebNotification notification; local 163 WebNotification notification; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowNotificationManager.java | 3 import android.app.Notification; 17 private Map<Integer, Notification> notifications = new HashMap<Integer, Notification>(); 21 public void notify(int id, Notification notification) 23 notify(null, id, notification); 27 public void notify(String tag, int id, Notification notification) { 31 notifications.put(id, notification); 61 public Notification getNotification(int id) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
NotificationTest.java | 4 import android.app.Notification; 19 Notification notification = new Notification(); local 20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent); 21 assertThat(pendingIntent, is(notification.contentIntent));
|
/developers/samples/android/ui/notifications/BasicNotifications/BasicNotificationsSample/src/main/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/development/samples/browseable/BasicNotifications/res/values/ |
strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 21 appear in the notification bar. Drag the notification bar open to see the full 22 notification. Depending on which version of Android you\'re running, the full 23 notification will display an icon and two or three lines of text. 24 \n\nTap the notification to execute the notification\'s \"action,\" which is an intent 25 that we associate with the notification when it\'s created. This sample notification\' [all...] |
/external/chromium_org/jingle/notifier/listener/ |
fake_push_client_observer.cc | 24 const Notification& notification) { 25 last_incoming_notification_ = notification; 33 const Notification&
|
fake_push_client_observer.h | 24 const Notification& notification) OVERRIDE; 27 const Notification& last_incoming_notification() const; 31 Notification last_incoming_notification_;
|
/external/chromium_org/third_party/WebKit/Source/modules/notifications/ |
Notification.cpp | 36 #include "modules/notifications/Notification.h" 57 Notification::Notification() 64 Notification::Notification(const String& title, const String& body, const String& iconURI, ScriptExecutionContext* context, ExceptionState& es, PassRefPtr<NotificationCenter> provider) 86 Notification::Notification(ScriptExecutionContext* context, const String& title) 90 , m_taskTimer(adoptPtr(new Timer<Notification>(this, &Notification::taskTimerFired))) 100 Notification::~Notification( [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
NotificationPresenter.cpp | 51 WebString identifierForNotification(const WebNotification& notification) 53 if (notification.isHTML()) 54 return notification.url().spec().utf16(); 55 return notification.title(); 60 WebNotification* notification = static_cast<WebNotification*>(context); local 61 notification->dispatchDisplayEvent(); 62 delete notification; 87 const WebNotification& notification = m_activeNotifications.find(id)->second; local 88 WebNotification eventTarget(notification); 94 bool NotificationPresenter::show(const WebNotification& notification) [all...] |
/external/chromium_org/ui/message_center/ |
notification.cc | 5 #include "ui/message_center/notification.h" 44 Notification::Notification(NotificationType type, 67 Notification::Notification(const Notification& other) 82 Notification& Notification::operator=(const Notification& other) { 100 Notification::~Notification() { [all...] |
/developers/samples/android/ui/notifications/CustomNotifications/CustomNotificationsSample/src/main/res/values/ |
strings.xml | 19 <string name="expanded">I\'m the expanded notification.\nCollapse me!</string> 20 <string name="collapsed">I\'m the collapsed notification.\nCreated at: %s</string> 21 <string name="show_notification">Show Notification</string> 22 <string name="custom_notification">I\'m a custom notification.</string> 24 <string name="intro_text">This sample demonstrates how a notification is created using the 26 with a custom content view. The layout of the notification is defined as a 29 the <i>big content view</i>, which is used when the notification is expanded. 30 \n\n<b>Use the button below to create the notification. 32 the notification to see the different layouts.</b> 35 notification [all...] |
/development/samples/browseable/CustomNotifications/res/values/ |
strings.xml | 19 <string name="expanded">I\'m the expanded notification.\nCollapse me!</string> 20 <string name="collapsed">I\'m the collapsed notification.\nCreated at: %s</string> 21 <string name="show_notification">Show Notification</string> 22 <string name="custom_notification">I\'m a custom notification.</string> 24 <string name="intro_text">This sample demonstrates how a notification is created using the 26 with a custom content view. The layout of the notification is defined as a 29 the <i>big content view</i>, which is used when the notification is expanded. 30 \n\n<b>Use the button below to create the notification. 32 the notification to see the different layouts.</b> 35 notification [all...] |
/external/chromium/chrome/common/extensions/docs/static/ |
notifications.html | 14 <img src="images/notification-windows.png" 17 <img src="images/notification-mac.png" 20 <img src="images/notification-linux.png" 25 You create the notification window 34 You can request the notification permission 59 You can communicate between a notification 66 // Inside a notification... 70 chrome.extension.getViews({type:"notification"}).forEach(function(win) { 98 The desktop notification API for extensions 102 you first create either a simple text notification [all...] |