OLD | NEW |
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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
14 #include "base/string16.h" | 13 #include "base/string16.h" |
15 #include "base/task.h" | |
16 #include "base/time.h" | 14 #include "base/time.h" |
17 #include "base/timer.h" | 15 #include "base/timer.h" |
18 #include "build/build_config.h" | 16 #include "build/build_config.h" |
19 #include "chrome/common/child_thread.h" | 17 #include "chrome/common/child_thread.h" |
20 #include "chrome/common/css_colors.h" | 18 #include "chrome/common/css_colors.h" |
21 #include "chrome/renderer/visitedlink_slave.h" | 19 #include "chrome/renderer/visitedlink_slave.h" |
22 #include "gfx/native_widget_types.h" | 20 #include "gfx/native_widget_types.h" |
23 #include "ipc/ipc_channel_handle.h" | |
24 #include "ipc/ipc_platform_file.h" | 21 #include "ipc/ipc_platform_file.h" |
25 | 22 |
26 class AppCacheDispatcher; | 23 class AppCacheDispatcher; |
27 class CookieMessageFilter; | 24 class CookieMessageFilter; |
28 class DBMessageFilter; | 25 class DBMessageFilter; |
29 class DevToolsAgentFilter; | 26 class DevToolsAgentFilter; |
30 class FilePath; | 27 class FilePath; |
31 class GpuChannelHost; | 28 class GpuChannelHost; |
32 class IndexedDBDispatcher; | 29 class IndexedDBDispatcher; |
33 class ListValue; | 30 class ListValue; |
34 class NullableString16; | 31 class NullableString16; |
35 class RendererHistogram; | 32 class RendererHistogram; |
36 class RendererHistogramSnapshots; | 33 class RendererHistogramSnapshots; |
37 class RendererNetPredictor; | 34 class RendererNetPredictor; |
38 class RendererWebKitClientImpl; | 35 class RendererWebKitClientImpl; |
39 class SpellCheck; | 36 class SpellCheck; |
40 class SkBitmap; | 37 class SkBitmap; |
41 class UserScriptSlave; | 38 class UserScriptSlave; |
42 class URLPattern; | 39 class URLPattern; |
43 class WebDatabaseObserverImpl; | 40 class WebDatabaseObserverImpl; |
44 | 41 |
45 struct ContentSettings; | 42 struct ContentSettings; |
46 struct RendererPreferences; | 43 struct RendererPreferences; |
47 struct ViewMsg_DOMStorageEvent_Params; | 44 struct ViewMsg_DOMStorageEvent_Params; |
48 struct ViewMsg_ExtensionExtentsUpdated_Params; | 45 struct ViewMsg_ExtensionExtentsUpdated_Params; |
49 struct ViewMsg_New_Params; | 46 struct ViewMsg_New_Params; |
50 struct WebPreferences; | 47 struct WebPreferences; |
51 | 48 |
| 49 namespace IPC { |
| 50 struct ChannelHandle; |
| 51 } |
| 52 |
52 namespace WebKit { | 53 namespace WebKit { |
53 class WebStorageEventDispatcher; | 54 class WebStorageEventDispatcher; |
54 } | 55 } |
55 | 56 |
56 // The RenderThreadBase is the minimal interface that a RenderView/Widget | 57 // The RenderThreadBase is the minimal interface that a RenderView/Widget |
57 // expects from a render thread. The interface basically abstracts a way to send | 58 // expects from a render thread. The interface basically abstracts a way to send |
58 // and receive messages. | 59 // and receive messages. |
59 // | 60 // |
60 // TODO(brettw): This has two different and opposing usage patterns which | 61 // TODO(brettw): This has two different and opposing usage patterns which |
61 // make it confusing. | 62 // make it confusing. |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 359 |
359 // A list of extension web extents, which tells us which URLs belong to an | 360 // A list of extension web extents, which tells us which URLs belong to an |
360 // installed app. | 361 // installed app. |
361 struct ExtensionInfo; | 362 struct ExtensionInfo; |
362 std::vector<ExtensionInfo> extension_extents_; | 363 std::vector<ExtensionInfo> extension_extents_; |
363 | 364 |
364 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 365 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
365 }; | 366 }; |
366 | 367 |
367 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 368 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |