Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: chrome/renderer/notification_provider.h

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/notification_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_RENDERER_NOTIFICATION_PROVIDER_H_
6 #define CHROME_RENDERER_NOTIFICATION_PROVIDER_H_ 6 #define CHROME_RENDERER_NOTIFICATION_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "chrome/common/desktop_notifications/active_notification_tracker.h" 10 #include "chrome/common/desktop_notifications/active_notification_tracker.h"
11 #include "ipc/ipc_channel.h" 11 #include "ipc/ipc_channel.h"
12 #include "webkit/api/public/WebNotification.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebNotification.h"
13 #include "webkit/api/public/WebNotificationPresenter.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebNotificationPresenter.h"
14 14
15 class RenderView; 15 class RenderView;
16 namespace WebKit { 16 namespace WebKit {
17 class WebNotificationPermissionCallback; 17 class WebNotificationPermissionCallback;
18 } 18 }
19 19
20 // NotificationProvider class is owned by the RenderView. Only 20 // NotificationProvider class is owned by the RenderView. Only
21 // to be used on the UI thread. 21 // to be used on the UI thread.
22 class NotificationProvider : public WebKit::WebNotificationPresenter { 22 class NotificationProvider : public WebKit::WebNotificationPresenter {
23 public: 23 public:
(...skipping 30 matching lines...) Expand all
54 RenderView* view_; 54 RenderView* view_;
55 55
56 // A tracker object which manages the active notifications and the IDs 56 // A tracker object which manages the active notifications and the IDs
57 // that are used to refer to them over IPC. 57 // that are used to refer to them over IPC.
58 ActiveNotificationTracker manager_; 58 ActiveNotificationTracker manager_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(NotificationProvider); 60 DISALLOW_COPY_AND_ASSIGN(NotificationProvider);
61 }; 61 };
62 62
63 #endif // CHROME_RENDERER_NOTIFICATION_PROVIDER_H_ 63 #endif // CHROME_RENDERER_NOTIFICATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/notification_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698