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> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #if defined(TOOLKIT_VIEWS) | 21 #if defined(TOOLKIT_VIEWS) |
22 #include "chrome/browser/ui/views/extensions/extension_view.h" | 22 #include "chrome/browser/ui/views/extensions/extension_view.h" |
23 #elif defined(OS_MACOSX) | 23 #elif defined(OS_MACOSX) |
24 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" | 24 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" |
25 #elif defined(TOOLKIT_GTK) | 25 #elif defined(TOOLKIT_GTK) |
26 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" | 26 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" |
27 #endif | 27 #endif |
28 | 28 |
29 class Browser; | 29 class Browser; |
30 class Extension; | 30 class Extension; |
31 class FileSelectHelper; | |
32 class RenderProcessHost; | 31 class RenderProcessHost; |
33 class RenderWidgetHostView; | 32 class RenderWidgetHostView; |
34 class TabContents; | 33 class TabContents; |
35 struct ViewHostMsg_RunFileChooser_Params; | 34 struct ViewHostMsg_RunFileChooser_Params; |
36 struct WebPreferences; | 35 struct WebPreferences; |
37 | 36 |
38 // This class is the browser component of an extension component's RenderView. | 37 // This class is the browser component of an extension component's RenderView. |
39 // It handles setting up the renderer process, if needed, with special | 38 // It handles setting up the renderer process, if needed, with special |
40 // privileges available to extensions. It may have a view to be shown in the | 39 // privileges available to extensions. It may have a view to be shown in the |
41 // browser UI, or it may be hidden. | 40 // browser UI, or it may be hidden. |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 // The relevant TabContents associated with this ExtensionHost, if any. | 285 // The relevant TabContents associated with this ExtensionHost, if any. |
287 TabContents* associated_tab_contents_; | 286 TabContents* associated_tab_contents_; |
288 | 287 |
289 // Used to measure how long it's been since the host was created. | 288 // Used to measure how long it's been since the host was created. |
290 PerfTimer since_created_; | 289 PerfTimer since_created_; |
291 | 290 |
292 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 291 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
293 }; | 292 }; |
294 | 293 |
295 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |