| 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 254 |
| 255 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file, | 255 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file, |
| 256 const std::vector<std::string>& custom_words, | 256 const std::vector<std::string>& custom_words, |
| 257 const std::string& language, | 257 const std::string& language, |
| 258 bool auto_spell_correct); | 258 bool auto_spell_correct); |
| 259 void OnSpellCheckWordAdded(const std::string& word); | 259 void OnSpellCheckWordAdded(const std::string& word); |
| 260 void OnSpellCheckEnableAutoSpellCorrect(bool enable); | 260 void OnSpellCheckEnableAutoSpellCorrect(bool enable); |
| 261 | 261 |
| 262 void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle); | 262 void OnGpuChannelEstablished(const IPC::ChannelHandle& channel_handle); |
| 263 | 263 |
| 264 void OnGetAccessibilityTree(); | |
| 265 | |
| 266 // Gather usage statistics from the in-memory cache and inform our host. | 264 // Gather usage statistics from the in-memory cache and inform our host. |
| 267 // These functions should be call periodically so that the host can make | 265 // These functions should be call periodically so that the host can make |
| 268 // decisions about how to allocation resources using current information. | 266 // decisions about how to allocation resources using current information. |
| 269 void InformHostOfCacheStats(); | 267 void InformHostOfCacheStats(); |
| 270 | 268 |
| 271 // We initialize WebKit as late as possible. | 269 // We initialize WebKit as late as possible. |
| 272 void EnsureWebKitInitialized(); | 270 void EnsureWebKitInitialized(); |
| 273 | 271 |
| 274 // A task we invoke periodically to assist with idle cleanup. | 272 // A task we invoke periodically to assist with idle cleanup. |
| 275 void IdleHandler(); | 273 void IdleHandler(); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 scoped_refptr<GpuChannelHost> gpu_channel_; | 333 scoped_refptr<GpuChannelHost> gpu_channel_; |
| 336 | 334 |
| 337 // A list of extension web extents, which tells us which URLs belong to an | 335 // A list of extension web extents, which tells us which URLs belong to an |
| 338 // installed app. | 336 // installed app. |
| 339 std::vector<ExtensionInfo> extension_extents_; | 337 std::vector<ExtensionInfo> extension_extents_; |
| 340 | 338 |
| 341 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 339 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
| 342 }; | 340 }; |
| 343 | 341 |
| 344 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 342 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |