OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 15 matching lines...) Expand all Loading... |
26 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" | 26 #include "chrome/browser/ui/cocoa/extensions/extension_view_mac.h" |
27 #elif defined(TOOLKIT_GTK) | 27 #elif defined(TOOLKIT_GTK) |
28 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" | 28 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" |
29 #elif defined(OS_ANDROID) | 29 #elif defined(OS_ANDROID) |
30 #include "chrome/browser/ui/android/extensions/extension_view_android.h" | 30 #include "chrome/browser/ui/android/extensions/extension_view_android.h" |
31 #endif | 31 #endif |
32 | 32 |
33 class Browser; | 33 class Browser; |
34 class Extension; | 34 class Extension; |
35 class PrefsTabHelper; | 35 class PrefsTabHelper; |
36 struct WebPreferences; | |
37 | 36 |
38 namespace content { | 37 namespace content { |
39 class RenderProcessHost; | 38 class RenderProcessHost; |
40 class RenderWidgetHostView; | 39 class RenderWidgetHostView; |
41 class SiteInstance; | 40 class SiteInstance; |
42 } | 41 } |
43 | 42 |
44 // This class is the browser component of an extension component's RenderView. | 43 // This class is the browser component of an extension component's RenderView. |
45 // It handles setting up the renderer process, if needed, with special | 44 // It handles setting up the renderer process, if needed, with special |
46 // privileges available to extensions. It may have a view to be shown in the | 45 // privileges available to extensions. It may have a view to be shown in the |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 PerfTimer since_created_; | 265 PerfTimer since_created_; |
267 | 266 |
268 // A unique ID associated with each call to ShouldClose. This allows us | 267 // A unique ID associated with each call to ShouldClose. This allows us |
269 // to differentiate which ShouldClose message the renderer is responding to. | 268 // to differentiate which ShouldClose message the renderer is responding to. |
270 int close_sequence_id_; | 269 int close_sequence_id_; |
271 | 270 |
272 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 271 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
273 }; | 272 }; |
274 | 273 |
275 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 274 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |