1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/html_viewer/web_notification_manager_impl.h"
7 #include "base/logging.h"
9 namespace html_viewer
{
11 WebNotificationManagerImpl::WebNotificationManagerImpl() {}
13 WebNotificationManagerImpl::~WebNotificationManagerImpl() {}
15 void WebNotificationManagerImpl::show(const blink::WebSecurityOrigin
&,
16 const blink::WebNotificationData
&,
17 blink::WebNotificationDelegate
*) {
21 void WebNotificationManagerImpl::showPersistent(
22 const blink::WebSecurityOrigin
&,
23 const blink::WebNotificationData
&,
24 blink::WebServiceWorkerRegistration
*,
25 blink::WebNotificationShowCallbacks
*) {
29 void WebNotificationManagerImpl::getNotifications(
30 const blink::WebString
& filterTag
,
31 blink::WebServiceWorkerRegistration
*,
32 blink::WebNotificationGetCallbacks
*) {
36 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate
*) {
40 void WebNotificationManagerImpl::closePersistent(
41 const blink::WebSecurityOrigin
&,
42 int64_t persistentNotificationId
) {
46 void WebNotificationManagerImpl::closePersistent(
47 const blink::WebSecurityOrigin
&,
48 const blink::WebString
& persistentNotificationId
) {
52 void WebNotificationManagerImpl::notifyDelegateDestroyed(
53 blink::WebNotificationDelegate
*) {
57 blink::WebNotificationPermission
WebNotificationManagerImpl::checkPermission(
58 const blink::WebSecurityOrigin
&) {
60 return blink::WebNotificationPermission();
63 size_t WebNotificationManagerImpl::maxActions() {
68 } // namespace html_viewer