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