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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 void OnPurgePluginListCache(bool reload_pages); | 310 void OnPurgePluginListCache(bool reload_pages); |
311 | 311 |
312 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file, | 312 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file, |
313 const std::vector<std::string>& custom_words, | 313 const std::vector<std::string>& custom_words, |
314 const std::string& language, | 314 const std::string& language, |
315 bool auto_spell_correct); | 315 bool auto_spell_correct); |
316 void OnSpellCheckWordAdded(const std::string& word); | 316 void OnSpellCheckWordAdded(const std::string& word); |
317 void OnSpellCheckEnableAutoSpellCorrect(bool enable); | 317 void OnSpellCheckEnableAutoSpellCorrect(bool enable); |
318 | 318 |
319 void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle, | 319 void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle, |
| 320 base::ProcessHandle gpu_renderer_process, |
320 const GPUInfo& gpu_info); | 321 const GPUInfo& gpu_info); |
321 | 322 |
322 void OnSetPhishingModel(IPC::PlatformFileForTransit model_file); | 323 void OnSetPhishingModel(IPC::PlatformFileForTransit model_file); |
323 | 324 |
324 void OnGetAccessibilityTree(); | 325 void OnGetAccessibilityTree(); |
325 | 326 |
326 void OnSetSpeechInputEnabled(bool enabled); | 327 void OnSetSpeechInputEnabled(bool enabled); |
327 | 328 |
328 // Gather usage statistics from the in-memory cache and inform our host. | 329 // Gather usage statistics from the in-memory cache and inform our host. |
329 // These functions should be call periodically so that the host can make | 330 // These functions should be call periodically so that the host can make |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 // contexts. | 413 // contexts. |
413 std::map<std::string, bool> v8_extensions_; | 414 std::map<std::string, bool> v8_extensions_; |
414 | 415 |
415 // Contains all loaded extensions. | 416 // Contains all loaded extensions. |
416 ExtensionSet extensions_; | 417 ExtensionSet extensions_; |
417 | 418 |
418 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 419 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
419 }; | 420 }; |
420 | 421 |
421 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 422 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |