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 #ifndef COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ |
6 #define COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ |
7 | 7 |
8 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onManager.h" | 8 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onManager.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 22 matching lines...) Expand all Loading... |
33 blink::WebNotificationGetCallbacks*); | 33 blink::WebNotificationGetCallbacks*); |
34 virtual void close(blink::WebNotificationDelegate*); | 34 virtual void close(blink::WebNotificationDelegate*); |
35 virtual void closePersistent(const blink::WebSecurityOrigin&, | 35 virtual void closePersistent(const blink::WebSecurityOrigin&, |
36 int64_t persistentNotificationId); | 36 int64_t persistentNotificationId); |
37 virtual void closePersistent( | 37 virtual void closePersistent( |
38 const blink::WebSecurityOrigin&, | 38 const blink::WebSecurityOrigin&, |
39 const blink::WebString& persistentNotificationId); | 39 const blink::WebString& persistentNotificationId); |
40 virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*); | 40 virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*); |
41 virtual blink::WebNotificationPermission checkPermission( | 41 virtual blink::WebNotificationPermission checkPermission( |
42 const blink::WebSecurityOrigin&); | 42 const blink::WebSecurityOrigin&); |
| 43 virtual size_t maxActions(); |
43 | 44 |
44 private: | 45 private: |
45 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); | 46 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace html_viewer | 49 } // namespace html_viewer |
49 | 50 |
50 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ | 51 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ |
OLD | NEW |