Searched refs:GetCommandIdAt (Results 1 – 12 of 12) sorted by relevance
606 int command_id = entry.first->GetCommandIdAt(entry.second); in IsCommandEnabled()616 int command_id = entry.first->GetCommandIdAt(entry.second); in ExecuteCommand()630 int command_id = entry.first->GetCommandIdAt(entry.second); in GetAccelerator()661 if (model->GetCommandIdAt(index) == IDC_CUT) { in PopulateMenu()664 DCHECK_EQ(IDC_COPY, model->GetCommandIdAt(index + 1)); in PopulateMenu()665 DCHECK_EQ(IDC_PASTE, model->GetCommandIdAt(index + 2)); in PopulateMenu()670 } else if (model->GetCommandIdAt(index) == IDC_ZOOM_MINUS) { in PopulateMenu()672 DCHECK_EQ(IDC_ZOOM_PLUS, model->GetCommandIdAt(index + 1)); in PopulateMenu()673 DCHECK_EQ(IDC_FULLSCREEN, model->GetCommandIdAt(index + 2)); in PopulateMenu()
167 int InputMethodMenu::GetCommandIdAt(int index) const { in GetCommandIdAt() function in chromeos::InputMethodMenu530 (model_->GetCommandIdAt(index) == COMMAND_ID_INPUT_METHODS) && in IndexIsInInputMethodList()544 (model_->GetCommandIdAt(index) == COMMAND_ID_IME_PROPERTIES)) { in GetPropertyIndex()564 (model_->GetCommandIdAt(index) == COMMAND_ID_CUSTOMIZE_LANGUAGE)); in IndexPointsToConfigureImeMenuItem()
37 virtual int GetCommandIdAt(int index) const { return index; } in GetCommandIdAt() function
43 virtual int GetCommandIdAt(int index) const { return index; } in GetCommandIdAt() function
44 virtual int GetCommandIdAt(int index) const;
72 virtual int GetCommandIdAt(int index) const { return index; } in GetCommandIdAt() function
51 virtual int GetCommandIdAt(int index) const;
71 int BackForwardMenuModel::GetCommandIdAt(int index) const { in GetCommandIdAt() function in BackForwardMenuModel
479 int command_id = model->GetCommandIdAt(i); in BuildSubmenuFromModel()541 model->GetCommandIdAt(i)); in BuildButtonMenuItem()559 model->GetCommandIdAt(i)); in BuildButtonMenuItem()
338 int cmd = optionsMenuModel_->GetCommandIdAt(i);364 int cmd = originalLanguageMenuModel_->GetCommandIdAt(i);387 int cmd = targetLanguageMenuModel_->GetCommandIdAt(i);
82 int command_id = model->GetCommandIdAt(modelIndex);
78 if (model->GetCommandIdAt(i) == command_id) { in GetMenuModelAndItemIndex()