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

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

Issue 19028: Roll forward 8722,8721 (Closed)
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
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)
12 #include "chrome/browser/profile.h" 13 #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
13 #include "chrome/browser/spellcheck_worditerator.h" 18 #include "chrome/browser/spellcheck_worditerator.h"
14 #include "chrome/common/l10n_util.h" 19 #include "chrome/common/l10n_util.h"
15 #include "chrome/common/pref_names.h" 20 #include "chrome/common/pref_names.h"
16 #include "chrome/common/pref_member.h" 21 #include "chrome/common/pref_member.h"
17 22
18 #include "base/task.h" 23 #include "base/task.h"
19 #include "unicode/uscript.h" 24 #include "unicode/uscript.h"
20 25
21 class Hunspell; 26 class Hunspell;
22 class PrefService; 27 class PrefService;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Used for generating callbacks to spellchecker, since spellchecker is a 173 // Used for generating callbacks to spellchecker, since spellchecker is a
169 // non-reference counted object. The callback is generated by generating tasks 174 // non-reference counted object. The callback is generated by generating tasks
170 // using NewRunableMethod on these objects. 175 // using NewRunableMethod on these objects.
171 ScopedRunnableMethodFactory<SpellChecker> dic_download_state_changer_factory_; 176 ScopedRunnableMethodFactory<SpellChecker> dic_download_state_changer_factory_;
172 177
173 DISALLOW_COPY_AND_ASSIGN(SpellChecker); 178 DISALLOW_COPY_AND_ASSIGN(SpellChecker);
174 }; 179 };
175 180
176 #endif // #ifndef CHROME_BROWSER_SPELLCHECKER_H__ 181 #endif // #ifndef CHROME_BROWSER_SPELLCHECKER_H__
177 182
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