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