| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_NOTIFICATION_PROVIDER_H_ | 5 #ifndef CONTENT_RENDERER_NOTIFICATION_PROVIDER_H_ |
| 6 #define CHROME_RENDERER_NOTIFICATION_PROVIDER_H_ | 6 #define CONTENT_RENDERER_NOTIFICATION_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/desktop_notifications/active_notification_tracker.h" | 9 #include "chrome/common/desktop_notifications/active_notification_tracker.h" |
| 10 #include "chrome/renderer/render_view_observer.h" | 10 #include "chrome/renderer/render_view_observer.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotification.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotification.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen
ter.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen
ter.h" |
| 13 | 13 |
| 14 namespace WebKit { | 14 namespace WebKit { |
| 15 class WebNotificationPermissionCallback; | 15 class WebNotificationPermissionCallback; |
| 16 } | 16 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void OnPermissionRequestComplete(int id); | 48 void OnPermissionRequestComplete(int id); |
| 49 void OnNavigate(); | 49 void OnNavigate(); |
| 50 | 50 |
| 51 // A tracker object which manages the active notifications and the IDs | 51 // A tracker object which manages the active notifications and the IDs |
| 52 // that are used to refer to them over IPC. | 52 // that are used to refer to them over IPC. |
| 53 ActiveNotificationTracker manager_; | 53 ActiveNotificationTracker manager_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(NotificationProvider); | 55 DISALLOW_COPY_AND_ASSIGN(NotificationProvider); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 #endif // CHROME_RENDERER_NOTIFICATION_PROVIDER_H_ | 58 #endif // CONTENT_RENDERER_NOTIFICATION_PROVIDER_H_ |
| OLD | NEW |