Searched refs:customItems (Results 1 – 4 of 4) sorted by relevance
50 for (size_t i = 0; i < data.customItems.size(); ++i) in Build()51 params.custom_items.push_back(MenuItemBuilder::Build(data.customItems[i])); in Build()
169 WebVector<WebMenuItemInfo> customItems; member
134 void PopulateCustomItems(const WebVector<WebMenuItemInfo>& customItems, in PopulateCustomItems() argument136 for (size_t i = 0; i < customItems.size(); ++i) { in PopulateCustomItems()137 if (customItems[i].type == blink::WebMenuItemInfo::Separator) { in PopulateCustomItems()139 } else if (customItems[i].type == blink::WebMenuItemInfo::SubMenu) { in PopulateCustomItems()140 strings->push_back(prefix + customItems[i].label.utf8() + in PopulateCustomItems()142 PopulateCustomItems(customItems[i].subMenuItems, prefix + in PopulateCustomItems()145 strings->push_back(prefix + customItems[i].label.utf8()); in PopulateCustomItems()196 PopulateCustomItems(context_menu->customItems, "", &strings); in MakeMenuItemStringsFor()
444 populateSubMenuItems(defaultMenu->items(), data->customItems); in populateCustomMenuItems()