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

Side by Side Diff: chrome/browser/notifications/desktop_notification_service.h

Issue 8539006: Cleanup: Remove unneeded forward declarations from various chrome/browser subdirectories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 9 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 | Annotate | Revision Log
OLDNEW
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 CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "chrome/browser/content_settings/content_settings_provider.h" 16 #include "chrome/browser/content_settings/content_settings_provider.h"
17 #include "chrome/browser/profiles/profile_keyed_service.h" 17 #include "chrome/browser/profiles/profile_keyed_service.h"
18 #include "chrome/common/content_settings.h" 18 #include "chrome/common/content_settings.h"
19 #include "content/public/browser/notification_observer.h" 19 #include "content/public/browser/notification_observer.h"
20 #include "content/public/browser/notification_registrar.h" 20 #include "content/public/browser/notification_registrar.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
24 24
25 class ContentSettingsPattern; 25 class ContentSettingsPattern;
26 class Extension;
27 class Notification; 26 class Notification;
28 class NotificationDelegate;
29 class NotificationUIManager; 27 class NotificationUIManager;
30 class PrefService;
31 class Profile; 28 class Profile;
32 class TabContents; 29 class TabContents;
33 30
34 namespace content { 31 namespace content {
35 struct ShowDesktopNotificationHostMsgParams; 32 struct ShowDesktopNotificationHostMsgParams;
36 } 33 }
37 34
38 // The DesktopNotificationService is an object, owned by the Profile, 35 // The DesktopNotificationService is an object, owned by the Profile,
39 // which provides the creation of desktop "toasts" to web pages and workers. 36 // which provides the creation of desktop "toasts" to web pages and workers.
40 class DesktopNotificationService : public content::NotificationObserver, 37 class DesktopNotificationService : public content::NotificationObserver,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Non-owned pointer to the notification manager which manages the 145 // Non-owned pointer to the notification manager which manages the
149 // UI for desktop toasts. 146 // UI for desktop toasts.
150 NotificationUIManager* ui_manager_; 147 NotificationUIManager* ui_manager_;
151 148
152 content::NotificationRegistrar notification_registrar_; 149 content::NotificationRegistrar notification_registrar_;
153 150
154 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService); 151 DISALLOW_COPY_AND_ASSIGN(DesktopNotificationService);
155 }; 152 };
156 153
157 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_ 154 #endif // CHROME_BROWSER_NOTIFICATIONS_DESKTOP_NOTIFICATION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.h ('k') | chrome/browser/notifications/notification_object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698