OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SYNTHESIZE_BROWSER_ACTION_HAN
DLER_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SYNTHESIZE_BROWSER_ACTION_HAN
DLER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "extensions/common/manifest_handler.h" |
| 11 |
| 12 namespace extensions { |
| 13 |
| 14 // Parses the "commands" manifest key. |
| 15 class SynthesizeBrowserActionHandler : public ManifestHandler { |
| 16 public: |
| 17 SynthesizeBrowserActionHandler(); |
| 18 virtual ~SynthesizeBrowserActionHandler(); |
| 19 |
| 20 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; |
| 21 virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE; |
| 22 |
| 23 private: |
| 24 virtual const std::vector<std::string> Keys() const OVERRIDE; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(SynthesizeBrowserActionHandler); |
| 27 }; |
| 28 |
| 29 } // namespace extensions |
| 30 |
| 31 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SYNTHESIZE_BROWSER_ACTION_
HANDLER_H_ |
OLD | NEW |