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 CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_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/scoped_ptr.h" |
12 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 13 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
13 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" | 14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" |
14 #include "content/browser/renderer_host/render_view_host_delegate.h" | 15 #include "content/browser/renderer_host/render_view_host_delegate.h" |
15 #include "content/common/notification_observer.h" | 16 #include "content/common/notification_observer.h" |
16 #include "content/common/notification_registrar.h" | 17 #include "content/common/notification_registrar.h" |
17 | 18 |
18 class Balloon; | 19 class Balloon; |
19 class Browser; | 20 class Browser; |
20 class Profile; | 21 class Profile; |
21 class SiteInstance; | 22 class SiteInstance; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // rendering a page from an extension. | 156 // rendering a page from an extension. |
156 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 157 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
157 | 158 |
158 // A flag to enable Web UI. | 159 // A flag to enable Web UI. |
159 bool enable_web_ui_; | 160 bool enable_web_ui_; |
160 | 161 |
161 NotificationRegistrar registrar_; | 162 NotificationRegistrar registrar_; |
162 }; | 163 }; |
163 | 164 |
164 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 165 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
OLD | NEW |