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