| Index: chrome/common/extensions/api/extension_action/page_action_handler.h
|
| diff --git a/chrome/common/extensions/api/extension_action/page_action_handler.h b/chrome/common/extensions/api/extension_action/page_action_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7887d60b4ad93861f7e47376e03985c0b735d8cd
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/api/extension_action/page_action_handler.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_PAGE_ACTION_HANDLER_H_
|
| +#define CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_PAGE_ACTION_HANDLER_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "chrome/common/extensions/api/extension_action/action_info.h"
|
| +#include "chrome/common/extensions/extension.h"
|
| +#include "chrome/common/extensions/manifest_handler.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +// Parses the "page_action" manifest key.
|
| +class PageActionHandler : public ManifestMultiKeyHandler {
|
| + public:
|
| + PageActionHandler();
|
| + virtual ~PageActionHandler();
|
| +
|
| + virtual bool Parse(const base::DictionaryValue* value,
|
| + Extension* extension,
|
| + string16* error) OVERRIDE;
|
| +
|
| + virtual const ManifestMultiKeyHandler::KeySet key_set() OVERRIDE;
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_PAGE_ACTION_HANDLER_H_
|
|
|