Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: chrome/renderer/render_thread.h

Issue 372075: Use renderer spellchecker for windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: inline Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "app/gfx/native_widget_types.h" 11 #include "app/gfx/native_widget_types.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "chrome/common/child_thread.h" 16 #include "chrome/common/child_thread.h"
17 #include "chrome/common/css_colors.h" 17 #include "chrome/common/css_colors.h"
18 #include "chrome/common/dom_storage_type.h" 18 #include "chrome/common/dom_storage_type.h"
19 #include "chrome/renderer/renderer_histogram_snapshots.h" 19 #include "chrome/renderer/renderer_histogram_snapshots.h"
20 #include "chrome/renderer/visitedlink_slave.h" 20 #include "chrome/renderer/visitedlink_slave.h"
21 #include "ipc/ipc_platform_file.h"
21 22
22 class AppCacheDispatcher; 23 class AppCacheDispatcher;
23 class DBMessageFilter; 24 class DBMessageFilter;
24 class DevToolsAgentFilter; 25 class DevToolsAgentFilter;
25 class FilePath; 26 class FilePath;
26 class ListValue; 27 class ListValue;
27 class NullableString16; 28 class NullableString16;
28 class RenderDnsMaster; 29 class RenderDnsMaster;
29 class RendererHistogram; 30 class RendererHistogram;
30 class RendererWebDatabaseObserver; 31 class RendererWebDatabaseObserver;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Send tcmalloc info to browser. 194 // Send tcmalloc info to browser.
194 void OnGetRendererTcmalloc(); 195 void OnGetRendererTcmalloc();
195 void OnGetV8HeapStats(); 196 void OnGetV8HeapStats();
196 197
197 void OnExtensionMessageInvoke(const std::string& function_name, 198 void OnExtensionMessageInvoke(const std::string& function_name,
198 const ListValue& args); 199 const ListValue& args);
199 void OnPurgeMemory(); 200 void OnPurgeMemory();
200 void OnPurgePluginListCache(bool reload_pages); 201 void OnPurgePluginListCache(bool reload_pages);
201 202
202 #if defined(SPELLCHECKER_IN_RENDERER) 203 #if defined(SPELLCHECKER_IN_RENDERER)
203 void OnInitSpellChecker(const base::FileDescriptor& bdict_fd, 204 void OnInitSpellChecker(IPC::PlatformFileForTransit bdict_file,
204 const std::vector<std::string>& custom_words, 205 const std::vector<std::string>& custom_words,
205 const std::string& language, 206 const std::string& language,
206 bool auto_spell_correct); 207 bool auto_spell_correct);
207 void OnSpellCheckWordAdded(const std::string& word); 208 void OnSpellCheckWordAdded(const std::string& word);
208 void OnSpellCheckEnableAutoSpellCorrect(bool enable); 209 void OnSpellCheckEnableAutoSpellCorrect(bool enable);
209 #endif 210 #endif
210 211
211 // Gather usage statistics from the in-memory cache and inform our host. 212 // Gather usage statistics from the in-memory cache and inform our host.
212 // These functions should be call periodically so that the host can make 213 // These functions should be call periodically so that the host can make
213 // decisions about how to allocation resources using current information. 214 // decisions about how to allocation resources using current information.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // The count of hidden RenderWidgets running through this thread. 256 // The count of hidden RenderWidgets running through this thread.
256 int hidden_widget_count_; 257 int hidden_widget_count_;
257 258
258 // The current value of the idle notification timer delay. 259 // The current value of the idle notification timer delay.
259 double idle_notification_delay_in_s_; 260 double idle_notification_delay_in_s_;
260 261
261 DISALLOW_COPY_AND_ASSIGN(RenderThread); 262 DISALLOW_COPY_AND_ASSIGN(RenderThread);
262 }; 263 };
263 264
264 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 265 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698