Home | History | Annotate | Download | only in notifications

Lines Matching defs:NotificationCenter

36 #include "modules/notifications/NotificationCenter.h"
45 PassRefPtr<NotificationCenter> NotificationCenter::create(ScriptExecutionContext* context, NotificationClient* client)
47 RefPtr<NotificationCenter> notificationCenter(adoptRef(new NotificationCenter(context, client)));
48 notificationCenter->suspendIfNeeded();
49 return notificationCenter.release();
52 NotificationCenter::NotificationCenter(ScriptExecutionContext* context, NotificationClient* client)
60 int NotificationCenter::checkPermission()
80 void NotificationCenter::requestPermission(PassRefPtr<VoidCallback> callback)
100 void NotificationCenter::stop()
109 void NotificationCenter::requestTimedOut(NotificationCenter::NotificationRequestCallback* request)
114 PassRefPtr<NotificationCenter::NotificationRequestCallback> NotificationCenter::NotificationRequestCallback::createAndStartTimer(NotificationCenter* center, PassRefPtr<VoidCallback> callback)
116 RefPtr<NotificationCenter::NotificationRequestCallback> requestCallback = adoptRef(new NotificationCenter::NotificationRequestCallback(center, callback));
121 NotificationCenter::NotificationRequestCallback::NotificationRequestCallback(NotificationCenter* center, PassRefPtr<VoidCallback> callback)
123 , m_timer(this, &NotificationCenter::NotificationRequestCallback::timerFired)
128 void NotificationCenter::NotificationRequestCallback::startTimer()
133 void NotificationCenter::NotificationRequestCallback::timerFired(Timer<NotificationCenter::NotificationRequestCallback>*)