| 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 MOJO_SERVICES_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ |
| 6 #define MOJO_SERVICES_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 html_viewer { | 10 namespace html_viewer { |
| 11 | 11 |
| 12 // TODO(erg): This class is currently a stub; blink expects this object to | 12 // TODO(erg): This class is currently a stub; blink expects this object to |
| 13 // exist, and several websites will trigger notifications these days. | 13 // exist, and several websites will trigger notifications these days. |
| 14 class WebNotificationManagerImpl : public blink::WebNotificationManager { | 14 class WebNotificationManagerImpl : public blink::WebNotificationManager { |
| 15 public: | 15 public: |
| 16 WebNotificationManagerImpl(); | 16 WebNotificationManagerImpl(); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*); | 36 virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*); |
| 37 virtual blink::WebNotificationPermission checkPermission( | 37 virtual blink::WebNotificationPermission checkPermission( |
| 38 const blink::WebSerializedOrigin&); | 38 const blink::WebSerializedOrigin&); |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); | 41 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace html_viewer | 44 } // namespace html_viewer |
| 45 | 45 |
| 46 #endif // MOJO_SERVICES_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ | 46 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ |
| OLD | NEW |