OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RENDERER_RENDER_THREAD_H_ | 5 #ifndef CHROME_RENDERER_RENDER_THREAD_H_ |
6 #define CHROME_RENDERER_RENDER_THREAD_H_ | 6 #define CHROME_RENDERER_RENDER_THREAD_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gfx/native_widget_types.h" | 11 #include "base/gfx/native_widget_types.h" |
12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
13 #include "base/task.h" | 13 #include "base/task.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "chrome/browser/renderer_preferences.h" | |
16 #include "chrome/common/child_thread.h" | 15 #include "chrome/common/child_thread.h" |
17 #include "chrome/renderer/renderer_histogram_snapshots.h" | 16 #include "chrome/renderer/renderer_histogram_snapshots.h" |
18 | 17 |
19 class AppCacheDispatcher; | 18 class AppCacheDispatcher; |
20 class DevToolsAgentFilter; | 19 class DevToolsAgentFilter; |
21 class FilePath; | 20 class FilePath; |
22 class NotificationService; | 21 class NotificationService; |
23 class RenderDnsMaster; | 22 class RenderDnsMaster; |
24 class RendererHistogram; | 23 class RendererHistogram; |
25 class RendererWebKitClientImpl; | 24 class RendererWebKitClientImpl; |
26 class SkBitmap; | 25 class SkBitmap; |
27 class UserScriptSlave; | 26 class UserScriptSlave; |
28 class VisitedLinkSlave; | 27 class VisitedLinkSlave; |
29 struct ModalDialogEvent; | 28 struct ModalDialogEvent; |
| 29 struct RendererPreferences; |
30 struct WebPreferences; | 30 struct WebPreferences; |
31 | 31 |
32 // The RenderThreadBase is the minimal interface that a RenderView/Widget | 32 // The RenderThreadBase is the minimal interface that a RenderView/Widget |
33 // expects from a render thread. The interface basically abstracts a way to send | 33 // expects from a render thread. The interface basically abstracts a way to send |
34 // and receive messages. | 34 // and receive messages. |
35 class RenderThreadBase { | 35 class RenderThreadBase { |
36 public: | 36 public: |
37 virtual ~RenderThreadBase() {} | 37 virtual ~RenderThreadBase() {} |
38 | 38 |
39 virtual bool Send(IPC::Message* msg) = 0; | 39 virtual bool Send(IPC::Message* msg) = 0; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 suicide_on_channel_error_filter_; | 173 suicide_on_channel_error_filter_; |
174 #endif | 174 #endif |
175 | 175 |
176 // If true, then a GetPlugins call is allowed to rescan the disk. | 176 // If true, then a GetPlugins call is allowed to rescan the disk. |
177 bool plugin_refresh_allowed_; | 177 bool plugin_refresh_allowed_; |
178 | 178 |
179 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 179 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
180 }; | 180 }; |
181 | 181 |
182 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 182 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |