Home
last modified time | relevance | path

Searched refs:Notification (Results 1 – 25 of 259) sorted by relevance

1234567891011

/external/chromium_org/third_party/WebKit/Source/modules/notifications/
DNotification.cpp43 PassRefPtr<Notification> Notification::create(ExecutionContext* context, const String& title, const… in create()
46 RefPtr<Notification> notification(adoptRef(new Notification(context, title, client))); in create()
67 Notification::Notification(ExecutionContext* context, const String& title, NotificationClient* clie… in Notification() function in WebCore::Notification
69 , m_asyncRunner(adoptPtr(new AsyncMethodRunner<Notification>(this, &Notification::showSoon))) in Notification()
76 Notification::~Notification() in ~Notification()
80 const String& Notification::permission(ExecutionContext* context) in permission()
86 void Notification::requestPermission(ExecutionContext* context, PassOwnPtr<NotificationPermissionCa… in requestPermission()
92 const AtomicString& Notification::interfaceName() const in interfaceName()
94 return EventTargetNames::Notification; in interfaceName()
97 void Notification::stop() in stop()
[all …]
DNotification.h48 class Notification : public RefCounted<Notification>, public NotificationBase {
49 REFCOUNTED_EVENT_TARGET(Notification);
52 …static PassRefPtr<Notification> create(ExecutionContext*, const String& title, const Dictionary& o…
54 virtual ~Notification();
67 Notification(ExecutionContext*, const String& title, NotificationClient*);
71 OwnPtr<AsyncMethodRunner<Notification> > m_asyncRunner;
/external/chromium_org/chrome/browser/notifications/
Dnotification.cc12 Notification::Notification(const GURL& origin_url, in Notification() function in Notification
17 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE, in Notification()
32 Notification::Notification(const GURL& origin_url, in Notification() function in Notification
40 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE, in Notification()
59 Notification::Notification( in Notification() function in Notification
71 : message_center::Notification(type, in Notification()
96 Notification::Notification(const GURL& origin_url, in Notification() function in Notification
104 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE, in Notification()
118 Notification::Notification(const Notification& notification) in Notification() function in Notification
119 : message_center::Notification(notification), in Notification()
[all …]
Dnotification.h25 class Notification : public message_center::Notification {
28 Notification(const GURL& origin_url,
36 Notification(const GURL& origin_url,
47 Notification(const GURL& origin_url,
56 Notification(
69 Notification(const Notification& notification);
70 virtual ~Notification();
71 Notification& operator=(const Notification& notification);
Dmessage_center_notification_manager.h29 class Notification; variable
51 virtual void Add(const Notification& notification,
53 virtual bool Update(const Notification& notification,
55 virtual const Notification* FindById(
107 void StartDownloads(const Notification& notification);
108 void StartDownloadWithImage(const Notification& notification,
112 void StartDownloadByKey(const Notification& notification,
158 const Notification& notification,
168 const Notification& notification() const { return notification_; } in notification()
177 Notification notification_;
Dballoon_notification_ui_manager.h22 class Notification; variable
43 virtual void Add(const Notification& notification,
45 virtual bool Update(const Notification& notification,
47 virtual const Notification* FindById(
71 std::vector<const Notification*>* notifications);
74 bool ShowNotification(const Notification& notification, Profile* profile);
75 bool UpdateNotification(const Notification& notification, Profile* profile);
Dnotification_ui_manager_mac.h20 class Notification; variable
35 virtual void Add(const Notification& notification,
46 const Notification* FindNotificationWithCocoaNotification(
56 Notification* a_model);
61 Notification* model;
Dnotification_ui_manager.h15 class Notification; variable
29 virtual void Add(const Notification& notification, Profile* profile) = 0;
33 virtual bool Update(const Notification& notification, Profile* profile) = 0;
37 virtual const Notification* FindById(
/external/chromium_org/ui/message_center/
Dnotification.cc51 Notification::Notification(NotificationType type, in Notification() function in message_center::Notification
74 Notification::Notification(const Notification& other) in Notification() function in message_center::Notification
89 Notification& Notification::operator=(const Notification& other) { in operator =()
107 Notification::~Notification() {} in ~Notification()
109 bool Notification::IsRead() const { in IsRead()
113 void Notification::CopyState(Notification* base) { in CopyState()
122 void Notification::SetButtonIcon(size_t index, const gfx::Image& icon) { in SetButtonIcon()
128 void Notification::SetSystemPriority() { in SetSystemPriority()
134 scoped_ptr<Notification> Notification::CreateSystemNotification( in CreateSystemNotification()
141 scoped_ptr<Notification> notification( in CreateSystemNotification()
[all …]
Dnotification_list.h36 bool operator()(Notification* n1, Notification* n2);
40 bool operator()(Notification* n1, Notification* n2);
48 typedef std::set<Notification*, ComparePriorityTimestampSerial> Notifications;
52 typedef std::set<Notification*, CompareTimestampSerial> PopupNotifications;
63 void AddNotification(scoped_ptr<Notification> notification);
66 scoped_ptr<Notification> new_notification);
148 void PushNotification(scoped_ptr<Notification> notification);
Dmessage_center_impl_unittest.cc47 Notification* CreateSimpleNotification(const std::string& id) { in CreateSimpleNotification()
51 Notification* CreateNotification(const std::string& id, in CreateNotification()
56 return new Notification(type, in CreateNotification()
326 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
336 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
382 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
397 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
426 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
436 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
455 message_center()->AddNotification(scoped_ptr<Notification>(new Notification( in TEST_F()
[all …]
Dnotification_list_unittest.cc37 scoped_ptr<Notification> notification( in AddNotification()
49 scoped_ptr<Notification> MakeNotification( in MakeNotification()
53 scoped_ptr<Notification> notification(new Notification( in MakeNotification()
66 scoped_ptr<Notification> MakeNotification(std::string* id_out) { in MakeNotification()
85 Notification* GetNotification(const std::string& id) { in GetNotification()
186 scoped_ptr<Notification> notification( in TEST_F()
187 new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, in TEST_F()
210 scoped_ptr<Notification> notification( in TEST_F()
211 new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, in TEST_F()
221 notification.reset(new Notification(message_center::NOTIFICATION_TYPE_SIMPLE, in TEST_F()
[all …]
Dnotification.h55 class MESSAGE_CENTER_EXPORT Notification {
57 Notification(NotificationType type,
67 Notification(const Notification& other);
68 Notification& operator=(const Notification& other);
69 virtual ~Notification();
73 void CopyState(Notification* base);
195 static scoped_ptr<Notification> CreateSystemNotification(
/external/chromium/chrome/browser/notifications/
Dnotification.cc7 Notification::Notification(const GURL& origin_url, in Notification() function in Notification
19 Notification::Notification(const Notification& notification) in Notification() function in Notification
27 Notification::~Notification() {} in ~Notification()
29 Notification& Notification::operator=(const Notification& notification) { in operator =()
Dnotification.h20 class Notification {
22 Notification(const GURL& origin_url,
27 Notification(const Notification& notification);
28 ~Notification();
29 Notification& operator=(const Notification& notification);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowNotificationManager.java3 import android.app.Notification;
17 private Map<Integer, Notification> notifications = new HashMap<Integer, Notification>();
21 public void notify(int id, Notification notification) in notify()
27 public void notify(String tag, int id, Notification notification) { in notify()
61 public Notification getNotification(int id) { in getNotification()
65 public Notification getNotification(String tag) { in getNotification()
70 public List<Notification> getAllNotifications() { in getAllNotifications()
71 return new ArrayList<Notification>(notifications.values()); in getAllNotifications()
/external/chromium_org/jingle/notifier/listener/
Dnotification_defines.cc57 Notification::Notification() {} in Notification() function in notifier::Notification
58 Notification::~Notification() {} in ~Notification()
60 bool Notification::Equals(const Notification& other) const { in Equals()
67 std::string Notification::ToString() const { in ToString()
Dnotification_defines.h48 struct Notification { struct
49 Notification();
50 ~Notification();
59 bool Equals(const Notification& other) const; argument
/external/chromium/chrome/browser/chromeos/notifications/
Dballoon_collection_impl.h62 virtual void Add(const Notification& notification,
84 bool AddWebUIMessageCallback(const Notification& notification,
92 void AddSystemNotification(const Notification& notification,
100 bool UpdateNotification(const Notification& notification);
105 bool UpdateAndShowNotification(const Notification& notification);
119 virtual Balloon* MakeBalloon(const Notification& notification,
131 Balloon* FindBalloon(const Notification& notification) { in FindBalloon()
/external/chromium_org/ash/system/chromeos/managed/
Dtray_locally_managed_user_unittest.cc27 message_center::Notification* GetPopup();
33 message_center::Notification* TrayLocallyManagedUserTest::GetPopup() { in GetPopup()
73 message_center::Notification* notification = GetPopup(); in TEST_F()
74 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); in TEST_F()
82 message_center::Notification* notification = GetPopup(); in TEST_F()
83 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification); in TEST_F()
/external/chromium_org/ui/message_center/cocoa/
Dnotification_controller.h17 class Notification; variable
29 const message_center::Notification* notification_;
63 - (id)initWithNotification:(const message_center::Notification*)notification
68 - (NSRect)updateNotification:(const message_center::Notification*)notification;
74 - (const message_center::Notification*)notification;
Dnotification_controller_unittest.mm111 scoped_ptr<message_center::Notification> notification(
112 new message_center::Notification(
138 scoped_ptr<message_center::Notification> notification(
139 new message_center::Notification(
162 scoped_ptr<message_center::Notification> notification(
163 new message_center::Notification(
188 scoped_ptr<message_center::Notification> notification(
189 new message_center::Notification(
225 scoped_ptr<message_center::Notification> notification(
226 new message_center::Notification(
[all …]
/external/chromium_org/chrome/browser/devtools/
Ddevtools_protocol.h69 class Notification : public Message {
71 virtual ~Notification();
77 Notification(const std::string& method,
80 DISALLOW_COPY_AND_ASSIGN(Notification);
84 static Notification* ParseNotification(const std::string& json);
Ddevtools_protocol.cc49 DevToolsProtocol::Notification::~Notification() { in ~Notification()
52 DevToolsProtocol::Notification::Notification(const std::string& method, in Notification() function in DevToolsProtocol::Notification
66 DevToolsProtocol::Notification* DevToolsProtocol::ParseNotification( in ParseNotification()
81 return new Notification(method, params); in ParseNotification()
/external/chromium_org/content/browser/devtools/
Ddevtools_protocol.cc141 DevToolsProtocol::Notification::Notification(const std::string& method, in Notification() function in content::DevToolsProtocol::Notification
146 DevToolsProtocol::Notification::~Notification() { in ~Notification()
149 std::string DevToolsProtocol::Notification::Serialize() { in Serialize()
188 scoped_refptr<DevToolsProtocol::Notification> notification = in SendNotification()
189 new DevToolsProtocol::Notification(method, params); in SendNotification()
248 scoped_refptr<DevToolsProtocol::Notification>
261 return new Notification(method, params ? params->DeepCopy() : NULL); in ParseNotification()
265 scoped_refptr<DevToolsProtocol::Notification>
269 return new Notification(method, params); in CreateNotification()

1234567891011