Searched refs:menu_index (Results 1 – 2 of 2) sorted by relevance
/third_party/cef/libcef/browser/native/ |
D | native_menu_win.cc | 520 for (int menu_index = first_item_index_; in Rebuild() local 521 menu_index < first_item_index_ + model_->GetItemCount(); ++menu_index) { in Rebuild() 522 int model_index = menu_index - first_item_index_; in Rebuild() 524 AddSeparatorItemAt(menu_index, model_index); in Rebuild() 526 AddMenuItemAt(menu_index, model_index); in Rebuild() 535 int menu_index = model_index + first_item_index_; in UpdateStates() local 536 SetMenuItemState(menu_index, model_->IsEnabledAt(model_index), in UpdateStates() 540 SetMenuItemLabel(menu_index, model_index, in UpdateStates() 639 bool CefNativeMenuWin::IsSeparatorItemAt(int menu_index) const { in IsSeparatorItemAt() 643 GetMenuItemInfo(menu_, menu_index, MF_BYPOSITION, &mii); in IsSeparatorItemAt() [all …]
|
D | native_menu_win.h | 63 bool IsSeparatorItemAt(int menu_index) const; 66 void AddMenuItemAt(int menu_index, int model_index); 67 void AddSeparatorItemAt(int menu_index, int model_index); 70 void SetMenuItemState(int menu_index, 76 void SetMenuItemLabel(int menu_index,
|