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 { |
11 class WebSecurityOrigin; | 11 class WebSecurityOrigin; |
| 12 class WebSerializedOrigin; |
12 } | 13 } |
13 | 14 |
14 namespace html_viewer { | 15 namespace html_viewer { |
15 | 16 |
16 // TODO(erg): This class is currently a stub; blink expects this object to | 17 // TODO(erg): This class is currently a stub; blink expects this object to |
17 // exist, and several websites will trigger notifications these days. | 18 // exist, and several websites will trigger notifications these days. |
18 class WebNotificationManagerImpl : public blink::WebNotificationManager { | 19 class WebNotificationManagerImpl : public blink::WebNotificationManager { |
19 public: | 20 public: |
20 WebNotificationManagerImpl(); | 21 WebNotificationManagerImpl(); |
21 virtual ~WebNotificationManagerImpl(); | 22 virtual ~WebNotificationManagerImpl(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 virtual blink::WebNotificationPermission checkPermission( | 56 virtual blink::WebNotificationPermission checkPermission( |
56 const blink::WebSerializedOrigin&); | 57 const blink::WebSerializedOrigin&); |
57 | 58 |
58 private: | 59 private: |
59 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); | 60 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace html_viewer | 63 } // namespace html_viewer |
63 | 64 |
64 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ | 65 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ |
OLD | NEW |