#ifndef CONTENT_PUBLIC_COMMON_MENU_ITEM_H_
#define CONTENT_PUBLIC_COMMON_MENU_ITEM_H_
#include <vector>
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebMenuItemInfo.h"
namespace content {
struct CONTENT_EXPORT MenuItem {
enum Type {
OPTION = blink::WebMenuItemInfo::Option,
CHECKABLE_OPTION = blink::WebMenuItemInfo::CheckableOption,
GROUP = blink::WebMenuItemInfo::Group,
SEPARATOR = blink::WebMenuItemInfo::Separator,
SUBMENU
};
MenuItem();
MenuItem(const MenuItem& item);
~MenuItem();
base::string16 label;
base::string16 tool_tip;
Type type;
unsigned action;
bool rtl;
bool has_directional_override;
bool enabled;
bool checked;
std::vector<MenuItem> submenu;
};
}
#endif