OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_COMMON_EXTENSIONS_API_SPELLCHECK_SPELLCHECK_HANDLER_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_SPELLCHECK_SPELLCHECK_HANDLER_H_ |
6 #define CHROME_COMMON_EXTENSIONS_API_SPELLCHECK_SPELLCHECK_HANDLER_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_SPELLCHECK_SPELLCHECK_HANDLER_H_ |
7 | 7 |
8 #include "chrome/common/extensions/extension.h" | 8 #include "chrome/common/extensions/extension.h" |
9 #include "chrome/common/extensions/manifest_handler.h" | 9 #include "extensions/common/manifest_handler.h" |
10 | 10 |
11 namespace extensions { | 11 namespace extensions { |
12 | 12 |
13 // This structure holds the information parsed by the SpellcheckHandler to be | 13 // This structure holds the information parsed by the SpellcheckHandler to be |
14 // used in the SpellcheckAPI functions. It is stored on the extension. | 14 // used in the SpellcheckAPI functions. It is stored on the extension. |
15 struct SpellcheckDictionaryInfo : public extensions::Extension::ManifestData { | 15 struct SpellcheckDictionaryInfo : public extensions::Extension::ManifestData { |
16 SpellcheckDictionaryInfo(); | 16 SpellcheckDictionaryInfo(); |
17 virtual ~SpellcheckDictionaryInfo(); | 17 virtual ~SpellcheckDictionaryInfo(); |
18 | 18 |
19 std::string language; | 19 std::string language; |
(...skipping 12 matching lines...) Expand all Loading... |
32 | 32 |
33 private: | 33 private: |
34 virtual const std::vector<std::string> Keys() const OVERRIDE; | 34 virtual const std::vector<std::string> Keys() const OVERRIDE; |
35 | 35 |
36 DISALLOW_COPY_AND_ASSIGN(SpellcheckHandler); | 36 DISALLOW_COPY_AND_ASSIGN(SpellcheckHandler); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace extensions | 39 } // namespace extensions |
40 | 40 |
41 #endif // CHROME_COMMON_EXTENSIONS_API_SPELLCHECK_SPELLCHECK_HANDLER_H_ | 41 #endif // CHROME_COMMON_EXTENSIONS_API_SPELLCHECK_SPELLCHECK_HANDLER_H_ |
OLD | NEW |