| 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_THEMES_THEME_HANDLER_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_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 "chrome/common/extensions/manifest_handler.h" |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 // Parses the "theme" manifest key. | 42 // Parses the "theme" manifest key. |
| 43 class ThemeHandler : public ManifestHandler { | 43 class ThemeHandler : public ManifestHandler { |
| 44 public: | 44 public: |
| 45 ThemeHandler(); | 45 ThemeHandler(); |
| 46 virtual ~ThemeHandler(); | 46 virtual ~ThemeHandler(); |
| 47 | 47 |
| 48 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; | 48 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 virtual const std::vector<std::string> Keys() const OVERRIDE; |
| 52 |
| 51 DISALLOW_COPY_AND_ASSIGN(ThemeHandler); | 53 DISALLOW_COPY_AND_ASSIGN(ThemeHandler); |
| 52 }; | 54 }; |
| 53 | 55 |
| 54 } // namespace extensions | 56 } // namespace extensions |
| 55 | 57 |
| 56 #endif // CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_ | 58 #endif // CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_ |
| OLD | NEW |