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_EXTENSIONS_EXTENSION_HOST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_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/perftimer.h" | 12 #include "base/perftimer.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 14 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
15 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 15 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
16 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" | 16 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" |
17 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" | 17 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" |
18 #if defined(TOOLKIT_VIEWS) | 18 #if defined(TOOLKIT_VIEWS) |
19 #include "chrome/browser/ui/views/extensions/extension_view.h" | 19 #include "chrome/browser/ui/views/extensions/extension_view.h" |
20 #elif defined(OS_MACOSX) | 20 #elif defined(OS_MACOSX) |
21 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" | 21 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" |
22 #elif defined(TOOLKIT_GTK) | 22 #elif defined(TOOLKIT_GTK) |
23 #include "chrome/browser/gtk/extension_view_gtk.h" | 23 #include "chrome/browser/ui/gtk/extension_view_gtk.h" |
24 #endif | 24 #endif |
25 #include "chrome/common/notification_registrar.h" | 25 #include "chrome/common/notification_registrar.h" |
26 | 26 |
27 class Browser; | 27 class Browser; |
28 class Extension; | 28 class Extension; |
29 class FileSelectHelper; | 29 class FileSelectHelper; |
30 class RenderProcessHost; | 30 class RenderProcessHost; |
31 class RenderWidgetHostView; | 31 class RenderWidgetHostView; |
32 class TabContents; | 32 class TabContents; |
33 struct WebPreferences; | 33 struct WebPreferences; |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // Used to measure how long it's been since the host was created. | 277 // Used to measure how long it's been since the host was created. |
278 PerfTimer since_created_; | 278 PerfTimer since_created_; |
279 | 279 |
280 // FileSelectHelper, lazily created. | 280 // FileSelectHelper, lazily created. |
281 scoped_ptr<FileSelectHelper> file_select_helper_; | 281 scoped_ptr<FileSelectHelper> file_select_helper_; |
282 | 282 |
283 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 283 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
284 }; | 284 }; |
285 | 285 |
286 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 286 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |