NotificationCenter.h | 50 static PassRefPtr<NotificationCenter> create(ScriptExecutionContext* context, NotificationPresenter* presenter) { return adoptRef(new NotificationCenter(context, presenter)); } 54 if (!presenter()) { 58 return Notification::create(KURL(ParsedURLString, URI), context(), ec, presenter()); 63 if (!presenter()) { 68 return Notification::create(contents, context(), ec, presenter()); 72 NotificationPresenter* presenter() const { return m_notificationPresenter; } function in class:WebCore::NotificationCenter
|