Lines Matching refs:rMenuItem

174         const AddonMenuItem& rMenuItem = rAddonSubMenu[i];  in CreateSubMenu()  local
176 if ( IsCorrectContext( rMenuItem.aContext, rModuleIdentifier )) in CreateSubMenu()
178 if ( rMenuItem.aURL.equalsAsciiL( SEPARATOR_STRING, SEPARATOR_STRING_LEN )) in CreateSubMenu()
184 pSubMenu->InsertItem( nItemId, rMenuItem.aTitle, 0, MENU_APPEND ); in CreateSubMenu()
185 pSubMenu->SetItemCommand( nItemId, rMenuItem.aURL ); in CreateSubMenu()
186 if ( !rMenuItem.aSubMenu.empty() ) in CreateSubMenu()
192 CreateSubMenu( pPopupMenu, nItemId, rModuleIdentifier, rMenuItem.aSubMenu ); in CreateSubMenu()
215 const AddonMenuItem& rMenuItem = rAddonMenuItems[i]; in MergeMenuItems() local
217 if ( IsCorrectContext( rMenuItem.aContext, rModuleIdentifier )) in MergeMenuItems()
219 if ( rMenuItem.aURL.equalsAsciiL( SEPARATOR_STRING, SEPARATOR_STRING_LEN )) in MergeMenuItems()
225 pMenu->InsertItem( nItemId, rMenuItem.aTitle, 0, nPos+nModIndex+nIndex ); in MergeMenuItems()
226 pMenu->SetItemCommand( nItemId, rMenuItem.aURL ); in MergeMenuItems()
227 if ( !rMenuItem.aSubMenu.empty() ) in MergeMenuItems()
233 CreateSubMenu( pSubMenu, nItemId, rModuleIdentifier, rMenuItem.aSubMenu ); in MergeMenuItems()
341 const AddonMenuItem& rMenuItem = rAddonMenuItems[i]; in ProcessFallbackOperation() local
342 if ( IsCorrectContext( rMenuItem.aContext, rModuleIdentifier )) in ProcessFallbackOperation()
344 if ( rMenuItem.aURL.equalsAsciiL( SEPARATOR_STRING, SEPARATOR_STRING_LEN )) in ProcessFallbackOperation()
348 pCurrMenu->InsertItem( rItemId, rMenuItem.aTitle, 0, MENU_APPEND ); in ProcessFallbackOperation()
349 pCurrMenu->SetItemCommand( rItemId, rMenuItem.aURL ); in ProcessFallbackOperation()