Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 10
11 #include "base/perftimer.h" 11 #include "base/perftimer.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "chrome/browser/extensions/extension_function_dispatcher.h" 13 #include "chrome/browser/extensions/extension_function_dispatcher.h"
14 #include "chrome/browser/jsmessage_box_client.h" 14 #include "chrome/browser/jsmessage_box_client.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 #if defined(TOOLKIT_VIEWS) 17 #if defined(TOOLKIT_VIEWS)
18 #include "chrome/browser/views/extensions/extension_view.h" 18 #include "chrome/browser/views/extensions/extension_view.h"
19 #elif defined(OS_MACOSX) 19 #elif defined(OS_MACOSX)
20 #include "chrome/browser/cocoa/extension_view_mac.h" 20 #include "chrome/browser/cocoa/extension_view_mac.h"
21 #elif defined(TOOLKIT_GTK) 21 #elif defined(TOOLKIT_GTK)
22 #include "chrome/browser/gtk/extension_view_gtk.h" 22 #include "chrome/browser/gtk/extension_view_gtk.h"
23 #endif 23 #endif
24 #include "chrome/common/notification_registrar.h" 24 #include "chrome/common/notification_registrar.h"
25 25
26
27 class Browser; 26 class Browser;
28 class Extension; 27 class Extension;
29 class ExtensionProcessManager;
30 class RenderProcessHost; 28 class RenderProcessHost;
31 class RenderWidgetHost;
32 class RenderWidgetHostView; 29 class RenderWidgetHostView;
33 class TabContents; 30 class TabContents;
34 struct WebPreferences; 31 struct WebPreferences;
35 32
36 // This class is the browser component of an extension component's RenderView. 33 // This class is the browser component of an extension component's RenderView.
37 // It handles setting up the renderer process, if needed, with special 34 // It handles setting up the renderer process, if needed, with special
38 // privileges available to extensions. It may have a view to be shown in the 35 // privileges available to extensions. It may have a view to be shown in the
39 // in the browser UI, or it may be hidden. 36 // in the browser UI, or it may be hidden.
40 class ExtensionHost : public RenderViewHostDelegate, 37 class ExtensionHost : public RenderViewHostDelegate,
41 public RenderViewHostDelegate::View, 38 public RenderViewHostDelegate::View,
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // The relevant TabContents associated with this ExtensionHost, if any. 267 // The relevant TabContents associated with this ExtensionHost, if any.
271 TabContents* associated_tab_contents_; 268 TabContents* associated_tab_contents_;
272 269
273 // Used to measure how long it's been since the host was created. 270 // Used to measure how long it's been since the host was created.
274 PerfTimer since_created_; 271 PerfTimer since_created_;
275 272
276 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 273 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
277 }; 274 };
278 275
279 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 276 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698