OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/html_viewer/web_notification_manager_impl.h" | 5 #include "components/html_viewer/web_notification_manager_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace html_viewer { | 9 namespace html_viewer { |
10 | 10 |
11 WebNotificationManagerImpl::WebNotificationManagerImpl() {} | 11 WebNotificationManagerImpl::WebNotificationManagerImpl() {} |
12 | 12 |
13 WebNotificationManagerImpl::~WebNotificationManagerImpl() {} | 13 WebNotificationManagerImpl::~WebNotificationManagerImpl() {} |
14 | 14 |
15 void WebNotificationManagerImpl::show(const blink::WebSerializedOrigin&, | 15 void WebNotificationManagerImpl::show(const blink::WebSecurityOrigin&, |
16 const blink::WebNotificationData&, | 16 const blink::WebNotificationData&, |
17 blink::WebNotificationDelegate*) { | 17 blink::WebNotificationDelegate*) { |
18 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
19 } | 19 } |
20 | 20 |
21 void WebNotificationManagerImpl::showPersistent( | 21 void WebNotificationManagerImpl::showPersistent( |
22 const blink::WebSerializedOrigin&, | 22 const blink::WebSecurityOrigin&, |
23 const blink::WebNotificationData&, | 23 const blink::WebNotificationData&, |
24 blink::WebServiceWorkerRegistration*, | 24 blink::WebServiceWorkerRegistration*, |
25 blink::WebNotificationShowCallbacks*) { | 25 blink::WebNotificationShowCallbacks*) { |
26 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
27 } | 27 } |
28 | 28 |
29 void WebNotificationManagerImpl::getNotifications( | 29 void WebNotificationManagerImpl::getNotifications( |
30 const blink::WebString& filterTag, | 30 const blink::WebString& filterTag, |
31 blink::WebServiceWorkerRegistration*, | 31 blink::WebServiceWorkerRegistration*, |
32 blink::WebNotificationGetCallbacks*) { | 32 blink::WebNotificationGetCallbacks*) { |
33 NOTIMPLEMENTED(); | 33 NOTIMPLEMENTED(); |
34 } | 34 } |
35 | 35 |
36 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate*) { | 36 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate*) { |
37 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
38 } | 38 } |
39 | 39 |
40 void WebNotificationManagerImpl::closePersistent( | 40 void WebNotificationManagerImpl::closePersistent( |
41 const blink::WebSerializedOrigin&, | 41 const blink::WebSecurityOrigin&, |
42 int64_t persistentNotificationId) { | 42 int64_t persistentNotificationId) { |
43 NOTIMPLEMENTED(); | 43 NOTIMPLEMENTED(); |
44 } | 44 } |
45 | 45 |
46 void WebNotificationManagerImpl::closePersistent( | 46 void WebNotificationManagerImpl::closePersistent( |
47 const blink::WebSerializedOrigin&, | 47 const blink::WebSecurityOrigin&, |
48 const blink::WebString& persistentNotificationId) { | 48 const blink::WebString& persistentNotificationId) { |
49 NOTIMPLEMENTED(); | 49 NOTIMPLEMENTED(); |
50 } | 50 } |
51 | 51 |
52 void WebNotificationManagerImpl::notifyDelegateDestroyed( | 52 void WebNotificationManagerImpl::notifyDelegateDestroyed( |
53 blink::WebNotificationDelegate*) { | 53 blink::WebNotificationDelegate*) { |
54 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
55 } | 55 } |
56 | 56 |
57 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( | 57 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( |
58 const blink::WebSerializedOrigin&) { | 58 const blink::WebSecurityOrigin&) { |
59 NOTIMPLEMENTED(); | 59 NOTIMPLEMENTED(); |
60 return blink::WebNotificationPermission(); | 60 return blink::WebNotificationPermission(); |
61 } | 61 } |
62 | 62 |
63 } // namespace html_viewer | 63 } // namespace html_viewer |
OLD | NEW |