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

Side by Side Diff: chrome/renderer/spellchecker/spellcheck.h

Issue 12321062: base: Move MemoryMappedFile out of file_util.h and into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame again Created 7 years, 9 months 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/renderer/spellchecker/hunspell_engine.cc ('k') | chrome_frame/test/navigation_test.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SPELLCHECKER_SPELLCHECK_H_ 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_
6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/platform_file.h" 14 #include "base/platform_file.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "chrome/renderer/spellchecker/custom_dictionary_engine.h" 16 #include "chrome/renderer/spellchecker/custom_dictionary_engine.h"
17 #include "chrome/renderer/spellchecker/spellcheck_language.h" 17 #include "chrome/renderer/spellchecker/spellcheck_language.h"
18 #include "content/public/renderer/render_process_observer.h" 18 #include "content/public/renderer/render_process_observer.h"
19 #include "ipc/ipc_platform_file.h" 19 #include "ipc/ipc_platform_file.h"
20 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 20 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
21 21
22 struct SpellCheckResult; 22 struct SpellCheckResult;
23 23
24 namespace file_util {
25 class MemoryMappedFile;
26 }
27
28 namespace WebKit { 24 namespace WebKit {
29 class WebTextCheckingCompletion; 25 class WebTextCheckingCompletion;
30 struct WebTextCheckingResult; 26 struct WebTextCheckingResult;
31 } 27 }
32 28
33 // TODO(morrita): Needs reorg with SpellCheckProvider. 29 // TODO(morrita): Needs reorg with SpellCheckProvider.
34 // See http://crbug.com/73699. 30 // See http://crbug.com/73699.
35 // Shared spellchecking logic/data for a RenderProcess. All RenderViews use 31 // Shared spellchecking logic/data for a RenderProcess. All RenderViews use
36 // this object to perform spellchecking tasks. 32 // this object to perform spellchecking tasks.
37 class SpellCheck : public content::RenderProcessObserver, 33 class SpellCheck : public content::RenderProcessObserver,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // Remember state for auto spell correct. 154 // Remember state for auto spell correct.
159 bool auto_spell_correct_turned_on_; 155 bool auto_spell_correct_turned_on_;
160 156
161 // Remember state for spellchecking. 157 // Remember state for spellchecking.
162 bool spellcheck_enabled_; 158 bool spellcheck_enabled_;
163 159
164 DISALLOW_COPY_AND_ASSIGN(SpellCheck); 160 DISALLOW_COPY_AND_ASSIGN(SpellCheck);
165 }; 161 };
166 162
167 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ 163 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/hunspell_engine.cc ('k') | chrome_frame/test/navigation_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698