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

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

Issue 16281006: Use a direct include of strings headers in chrome/renderer/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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) 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_LANGUAGE_H_ 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_
6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_ 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/platform_file.h" 13 #include "base/platform_file.h"
14 #include "base/string16.h" 14 #include "base/strings/string16.h"
15 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" 15 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h"
16 16
17 class SpellingEngine; 17 class SpellingEngine;
18 18
19 class SpellcheckLanguage { 19 class SpellcheckLanguage {
20 public: 20 public:
21 SpellcheckLanguage(); 21 SpellcheckLanguage();
22 ~SpellcheckLanguage(); 22 ~SpellcheckLanguage();
23 23
24 void Init(base::PlatformFile file, const std::string& language); 24 void Init(base::PlatformFile file, const std::string& language);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 SpellcheckWordIterator contraction_iterator_; 67 SpellcheckWordIterator contraction_iterator_;
68 68
69 // Pointer to a platform-specific spelling engine, if it is in use. This 69 // Pointer to a platform-specific spelling engine, if it is in use. This
70 // should only be set if hunspell is not used. (I.e. on OSX, for now) 70 // should only be set if hunspell is not used. (I.e. on OSX, for now)
71 scoped_ptr<SpellingEngine> platform_spelling_engine_; 71 scoped_ptr<SpellingEngine> platform_spelling_engine_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(SpellcheckLanguage); 73 DISALLOW_COPY_AND_ASSIGN(SpellcheckLanguage);
74 }; 74 };
75 75
76 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_ 76 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck.h ('k') | chrome/renderer/spellchecker/spellcheck_provider_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698