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 <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "gfx/native_widget_types.h" | 21 #include "gfx/native_widget_types.h" |
22 #include "ipc/ipc_channel_proxy.h" | 22 #include "ipc/ipc_channel_proxy.h" |
23 #include "ipc/ipc_platform_file.h" | 23 #include "ipc/ipc_platform_file.h" |
24 | 24 |
25 class AppCacheDispatcher; | 25 class AppCacheDispatcher; |
26 class CookieMessageFilter; | 26 class CookieMessageFilter; |
27 class DBMessageFilter; | 27 class DBMessageFilter; |
28 class DevToolsAgentFilter; | 28 class DevToolsAgentFilter; |
29 class FilePath; | 29 class FilePath; |
30 class GpuChannelHost; | 30 class GpuChannelHost; |
| 31 class GpuFeatureFlags; |
31 class IndexedDBDispatcher; | 32 class IndexedDBDispatcher; |
32 class ListValue; | 33 class ListValue; |
33 class NullableString16; | 34 class NullableString16; |
34 class RendererHistogram; | 35 class RendererHistogram; |
35 class RendererHistogramSnapshots; | 36 class RendererHistogramSnapshots; |
36 class RendererNetPredictor; | 37 class RendererNetPredictor; |
37 class RendererWebKitClientImpl; | 38 class RendererWebKitClientImpl; |
38 class SpellCheck; | 39 class SpellCheck; |
39 class SkBitmap; | 40 class SkBitmap; |
40 class UserScriptSlave; | 41 class UserScriptSlave; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 void OnPurgePluginListCache(bool reload_pages); | 305 void OnPurgePluginListCache(bool reload_pages); |
305 | 306 |
306 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file, | 307 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file, |
307 const std::vector<std::string>& custom_words, | 308 const std::vector<std::string>& custom_words, |
308 const std::string& language, | 309 const std::string& language, |
309 bool auto_spell_correct); | 310 bool auto_spell_correct); |
310 void OnSpellCheckWordAdded(const std::string& word); | 311 void OnSpellCheckWordAdded(const std::string& word); |
311 void OnSpellCheckEnableAutoSpellCorrect(bool enable); | 312 void OnSpellCheckEnableAutoSpellCorrect(bool enable); |
312 | 313 |
313 void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle, | 314 void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle, |
314 const GPUInfo& gpu_info); | 315 const GPUInfo& gpu_info, |
| 316 const GpuFeatureFlags& gpu_feature_flags); |
315 | 317 |
316 void OnSetPhishingModel(IPC::PlatformFileForTransit model_file); | 318 void OnSetPhishingModel(IPC::PlatformFileForTransit model_file); |
317 | 319 |
318 void OnGetAccessibilityTree(); | 320 void OnGetAccessibilityTree(); |
319 | 321 |
320 void OnSetSpeechInputEnabled(bool enabled); | 322 void OnSetSpeechInputEnabled(bool enabled); |
321 | 323 |
322 // Gather usage statistics from the in-memory cache and inform our host. | 324 // Gather usage statistics from the in-memory cache and inform our host. |
323 // These functions should be call periodically so that the host can make | 325 // These functions should be call periodically so that the host can make |
324 // decisions about how to allocation resources using current information. | 326 // decisions about how to allocation resources using current information. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 | 410 |
409 // Map of registered v8 extensions. The key is the extension name. The value | 411 // Map of registered v8 extensions. The key is the extension name. The value |
410 // is true if the extension should be restricted to extension-related | 412 // is true if the extension should be restricted to extension-related |
411 // contexts. | 413 // contexts. |
412 std::map<std::string, bool> v8_extensions_; | 414 std::map<std::string, bool> v8_extensions_; |
413 | 415 |
414 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 416 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
415 }; | 417 }; |
416 | 418 |
417 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 419 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |