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 "extensions/common/extension.h" | 8 #include "extensions/common/extension.h" |
9 #include "extensions/common/manifest_handler.h" | 9 #include "extensions/common/manifest_handler.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 std::string path; | 21 std::string path; |
22 std::string format; | 22 std::string format; |
23 }; | 23 }; |
24 | 24 |
25 // Parses the "spellcheck" manifest key. | 25 // Parses the "spellcheck" manifest key. |
26 class SpellcheckHandler : public ManifestHandler { | 26 class SpellcheckHandler : public ManifestHandler { |
27 public: | 27 public: |
28 SpellcheckHandler(); | 28 SpellcheckHandler(); |
29 virtual ~SpellcheckHandler(); | 29 virtual ~SpellcheckHandler(); |
30 | 30 |
31 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; | 31 virtual bool Parse(Extension* extension, base::string16* error) override; |
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 |