| 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::WebSecurityOrigin&, | 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::show(const blink::WebSerializedOrigin&, | |
| 22 const blink::WebNotificationData&, | |
| 23 blink::WebNotificationDelegate*) { | |
| 24 NOTIMPLEMENTED(); | |
| 25 } | |
| 26 | |
| 27 void WebNotificationManagerImpl::showPersistent( | 21 void WebNotificationManagerImpl::showPersistent( |
| 28 const blink::WebSecurityOrigin&, | 22 const blink::WebSecurityOrigin&, |
| 29 const blink::WebNotificationData&, | 23 const blink::WebNotificationData&, |
| 30 blink::WebServiceWorkerRegistration*, | 24 blink::WebServiceWorkerRegistration*, |
| 31 blink::WebNotificationShowCallbacks*) { | 25 blink::WebNotificationShowCallbacks*) { |
| 32 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
| 33 } | 27 } |
| 34 | 28 |
| 35 void WebNotificationManagerImpl::showPersistent( | |
| 36 const blink::WebSerializedOrigin&, | |
| 37 const blink::WebNotificationData&, | |
| 38 blink::WebServiceWorkerRegistration*, | |
| 39 blink::WebNotificationShowCallbacks*) { | |
| 40 NOTIMPLEMENTED(); | |
| 41 } | |
| 42 | |
| 43 void WebNotificationManagerImpl::getNotifications( | 29 void WebNotificationManagerImpl::getNotifications( |
| 44 const blink::WebString& filterTag, | 30 const blink::WebString& filterTag, |
| 45 blink::WebServiceWorkerRegistration*, | 31 blink::WebServiceWorkerRegistration*, |
| 46 blink::WebNotificationGetCallbacks*) { | 32 blink::WebNotificationGetCallbacks*) { |
| 47 NOTIMPLEMENTED(); | 33 NOTIMPLEMENTED(); |
| 48 } | 34 } |
| 49 | 35 |
| 50 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate*) { | 36 void WebNotificationManagerImpl::close(blink::WebNotificationDelegate*) { |
| 51 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
| 52 } | 38 } |
| 53 | 39 |
| 54 void WebNotificationManagerImpl::closePersistent( | 40 void WebNotificationManagerImpl::closePersistent( |
| 55 const blink::WebSecurityOrigin&, | 41 const blink::WebSecurityOrigin&, |
| 56 int64_t persistentNotificationId) { | 42 int64_t persistentNotificationId) { |
| 57 NOTIMPLEMENTED(); | 43 NOTIMPLEMENTED(); |
| 58 } | 44 } |
| 59 | 45 |
| 60 void WebNotificationManagerImpl::closePersistent( | 46 void WebNotificationManagerImpl::closePersistent( |
| 61 const blink::WebSerializedOrigin&, | |
| 62 int64_t persistentNotificationId) { | |
| 63 NOTIMPLEMENTED(); | |
| 64 } | |
| 65 | |
| 66 void WebNotificationManagerImpl::closePersistent( | |
| 67 const blink::WebSecurityOrigin&, | 47 const blink::WebSecurityOrigin&, |
| 68 const blink::WebString& persistentNotificationId) { | 48 const blink::WebString& persistentNotificationId) { |
| 69 NOTIMPLEMENTED(); | 49 NOTIMPLEMENTED(); |
| 70 } | 50 } |
| 71 | 51 |
| 72 void WebNotificationManagerImpl::closePersistent( | |
| 73 const blink::WebSerializedOrigin&, | |
| 74 const blink::WebString& persistentNotificationId) { | |
| 75 NOTIMPLEMENTED(); | |
| 76 } | |
| 77 | |
| 78 void WebNotificationManagerImpl::notifyDelegateDestroyed( | 52 void WebNotificationManagerImpl::notifyDelegateDestroyed( |
| 79 blink::WebNotificationDelegate*) { | 53 blink::WebNotificationDelegate*) { |
| 80 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
| 81 } | 55 } |
| 82 | 56 |
| 83 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( | 57 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( |
| 84 const blink::WebSecurityOrigin&) { | 58 const blink::WebSecurityOrigin&) { |
| 85 NOTIMPLEMENTED(); | 59 NOTIMPLEMENTED(); |
| 86 return blink::WebNotificationPermission(); | 60 return blink::WebNotificationPermission(); |
| 87 } | 61 } |
| 88 | 62 |
| 89 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( | |
| 90 const blink::WebSerializedOrigin&) { | |
| 91 NOTIMPLEMENTED(); | |
| 92 return blink::WebNotificationPermission(); | |
| 93 } | |
| 94 | |
| 95 } // namespace html_viewer | 63 } // namespace html_viewer |
| OLD | NEW |