Lines Matching refs:Item
576 const ContextMenuModel::Item& item = menu_model->items[i];
580 switch (item.type) {
585 item_info.wID = item.item_id;
586 item_info.dwTypeData = const_cast<LPWSTR>(item.label.c_str());
591 item_info.wID = item.item_id;
592 item_info.dwTypeData = const_cast<LPWSTR>(item.label.c_str());
601 item_info.wID = item.item_id;
602 item_info.dwTypeData = const_cast<LPWSTR>(item.label.c_str());
603 item_info.hSubMenu = BuildContextMenuImpl(item.submenu, depth + 1);
606 NOTREACHED() << "Unsupported MenuModel::ItemType " << item.type;
612 (item.checked ? MFS_CHECKED : MFS_UNCHECKED) |
613 (item.enabled ? MFS_ENABLED : (MFS_DISABLED | MFS_GRAYED));