OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #include "components/html_viewer/web_notification_manager_impl.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 namespace html_viewer { | |
10 | |
11 WebNotificationManagerImpl::WebNotificationManagerImpl() {} | |
12 | |
13 WebNotificationManagerImpl::~WebNotificationManagerImpl() {} | |
14 | |
15 void WebNotificationManagerImpl::show( | |
16 const blink::WebSecurityOrigin& origin, | |
17 const blink::WebNotificationData& notification_data, | |
18 blink::WebNotificationDelegate* delegate) { | |
19 NOTIMPLEMENTED(); | |
20 } | |
21 | |
22 void WebNotificationManagerImpl::showPersistent( | |
23 const blink::WebSecurityOrigin& origin, | |
24 const blink::WebNotificationData& notification_data, | |
25 blink::WebServiceWorkerRegistration* service_worker_registration, | |
26 blink::WebNotificationShowCallbacks* callbacks) { | |
27 NOTIMPLEMENTED(); | |
28 } | |
29 | |
30 void WebNotificationManagerImpl::getNotifications( | |
31 const blink::WebString& filter_tag, | |
32 blink::WebServiceWorkerRegistration* service_worker_registration, | |
33 blink::WebNotificationGetCallbacks* callbacks) { | |
34 NOTIMPLEMENTED(); | |
35 } | |
36 | |
37 void WebNotificationManagerImpl::close( | |
38 blink::WebNotificationDelegate* delegate) { | |
39 NOTIMPLEMENTED(); | |
40 } | |
41 | |
42 void WebNotificationManagerImpl::closePersistent( | |
43 const blink::WebSecurityOrigin& origin, | |
44 int64_t persistent_notification_id) { | |
45 NOTIMPLEMENTED(); | |
46 } | |
47 | |
48 void WebNotificationManagerImpl::notifyDelegateDestroyed( | |
49 blink::WebNotificationDelegate* delegate) { | |
50 NOTIMPLEMENTED(); | |
51 } | |
52 | |
53 blink::WebNotificationPermission WebNotificationManagerImpl::checkPermission( | |
54 const blink::WebSecurityOrigin& origin) { | |
55 NOTIMPLEMENTED(); | |
56 return blink::WebNotificationPermissionDenied; | |
57 } | |
58 | |
59 size_t WebNotificationManagerImpl::maxActions() { | |
60 NOTIMPLEMENTED(); | |
61 return 0; | |
62 } | |
63 | |
64 } // namespace html_viewer | |
OLD | NEW |