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_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ |
6 #define CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "chrome/common/extensions/manifest_handler.h" | 11 #include "chrome/common/extensions/manifest_handler.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 class Extension; | 14 class Extension; |
15 | 15 |
16 // Parses the "page_launcher" manifest key. | 16 // Parses the "page_launcher" manifest key. |
17 class PageLauncherHandler : public ManifestHandler { | 17 class PageLauncherHandler : public ManifestHandler { |
18 public: | 18 public: |
19 PageLauncherHandler(); | 19 PageLauncherHandler(); |
20 virtual ~PageLauncherHandler(); | 20 virtual ~PageLauncherHandler(); |
21 | 21 |
22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; | 22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; |
| 23 |
23 private: | 24 private: |
| 25 virtual const std::vector<std::string> Keys() const OVERRIDE; |
| 26 |
24 DISALLOW_COPY_AND_ASSIGN(PageLauncherHandler); | 27 DISALLOW_COPY_AND_ASSIGN(PageLauncherHandler); |
25 }; | 28 }; |
26 } // namespace extensions | 29 } // namespace extensions |
27 | 30 |
28 #endif // CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ | 31 #endif // CHROME_COMMON_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_HANDLER_H_ |
OLD | NEW |