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

Side by Side Diff: chrome/browser/spellchecker.h

Issue 19024: Reverting 8722,8721. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_BROWSER_SPELLCHECKER_H__ 5 #ifndef CHROME_BROWSER_SPELLCHECKER_H__
6 #define CHROME_BROWSER_SPELLCHECKER_H__ 6 #define CHROME_BROWSER_SPELLCHECKER_H__
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #if defined(OS_WIN)
13 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profile.h"
14 #else
15 // TODO(port): remove scaffolding, use profile.h for both POSIX and WIN.
16 #include "chrome/common/temp_scaffolding_stubs.h"
17 #endif
18 #include "chrome/browser/spellcheck_worditerator.h" 13 #include "chrome/browser/spellcheck_worditerator.h"
19 #include "chrome/common/l10n_util.h" 14 #include "chrome/common/l10n_util.h"
20 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
21 #include "chrome/common/pref_member.h" 16 #include "chrome/common/pref_member.h"
22 17
23 #include "base/task.h" 18 #include "base/task.h"
24 #include "unicode/uscript.h" 19 #include "unicode/uscript.h"
25 20
26 class Hunspell; 21 class Hunspell;
27 class PrefService; 22 class PrefService;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // Used for generating callbacks to spellchecker, since spellchecker is a 168 // Used for generating callbacks to spellchecker, since spellchecker is a
174 // non-reference counted object. The callback is generated by generating tasks 169 // non-reference counted object. The callback is generated by generating tasks
175 // using NewRunableMethod on these objects. 170 // using NewRunableMethod on these objects.
176 ScopedRunnableMethodFactory<SpellChecker> dic_download_state_changer_factory_; 171 ScopedRunnableMethodFactory<SpellChecker> dic_download_state_changer_factory_;
177 172
178 DISALLOW_COPY_AND_ASSIGN(SpellChecker); 173 DISALLOW_COPY_AND_ASSIGN(SpellChecker);
179 }; 174 };
180 175
181 #endif // #ifndef CHROME_BROWSER_SPELLCHECKER_H__ 176 #endif // #ifndef CHROME_BROWSER_SPELLCHECKER_H__
182 177
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/spellchecker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698