#include "chrome/browser/extensions/context_menu_helpers.h"
#include <stddef.h>
#include "base/strings/string_number_conversions.h"
namespace extensions {
namespace context_menu_helpers {
const char kActionNotAllowedError[] = …;
const char kCannotFindItemError[] = …;
const char kCheckedError[] = …;
const char kDuplicateIDError[] = …;
const char kGeneratedIdKey[] = …;
const char kLauncherNotAllowedError[] = …;
const char kOnclickDisallowedError[] = …;
const char kParentsMustBeNormalError[] = …;
const char kTitleNeededError[] = …;
const char kTooManyMenuItems[] = …;
std::string GetIDString(const MenuItem::Id& id) { … }
MenuItem* GetParent(MenuItem::Id parent_id,
const MenuManager* menu_manager,
std::string* error) { … }
MenuItem::ContextList GetContexts(const std::vector<
extensions::api::context_menus::ContextType>& in_contexts) { … }
MenuItem::Type GetType(extensions::api::context_menus::ItemType type,
MenuItem::Type default_type) { … }
}
}