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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 const GPUInfo& gpu_info); | 320 const GPUInfo& gpu_info); |
| 321 void OnSetTraceEnabled(bool enable); |
| 322 void OnTraceDataCollected(const std::string& json_events); |
321 | 323 |
322 void OnSetPhishingModel(IPC::PlatformFileForTransit model_file); | 324 void OnSetPhishingModel(IPC::PlatformFileForTransit model_file); |
323 | 325 |
324 void OnGetAccessibilityTree(); | 326 void OnGetAccessibilityTree(); |
325 | 327 |
326 void OnSetSpeechInputEnabled(bool enabled); | 328 void OnSetSpeechInputEnabled(bool enabled); |
327 | 329 |
328 // Gather usage statistics from the in-memory cache and inform our host. | 330 // 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 | 331 // These functions should be call periodically so that the host can make |
330 // decisions about how to allocation resources using current information. | 332 // decisions about how to allocation resources using current information. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 // contexts. | 414 // contexts. |
413 std::map<std::string, bool> v8_extensions_; | 415 std::map<std::string, bool> v8_extensions_; |
414 | 416 |
415 // Contains all loaded extensions. | 417 // Contains all loaded extensions. |
416 ExtensionSet extensions_; | 418 ExtensionSet extensions_; |
417 | 419 |
418 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 420 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
419 }; | 421 }; |
420 | 422 |
421 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 423 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |