#ifndef CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENUS_CONTEXT_MENUS_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENUS_CONTEXT_MENUS_API_H_
#include "chrome/browser/extensions/chrome_extension_function.h"
namespace extensions {
class ContextMenusCreateFunction : public ChromeSyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("contextMenus.create", CONTEXTMENUS_CREATE)
protected:
virtual ~ContextMenusCreateFunction() {}
virtual bool RunImpl() OVERRIDE;
};
class ContextMenusUpdateFunction : public ChromeSyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("contextMenus.update", CONTEXTMENUS_UPDATE)
protected:
virtual ~ContextMenusUpdateFunction() {}
virtual bool RunImpl() OVERRIDE;
};
class ContextMenusRemoveFunction : public ChromeSyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("contextMenus.remove", CONTEXTMENUS_REMOVE)
protected:
virtual ~ContextMenusRemoveFunction() {}
virtual bool RunImpl() OVERRIDE;
};
class ContextMenusRemoveAllFunction : public ChromeSyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("contextMenus.removeAll", CONTEXTMENUS_REMOVEALL)
protected:
virtual ~ContextMenusRemoveAllFunction() {}
virtual bool RunImpl() OVERRIDE;
};
}
#endif