Searched refs:GetCommandIdAt (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/ui/base/models/
H A Dbutton_menu_item_model.cc81 int ButtonMenuItemModel::GetCommandIdAt(int index) const { function in class:ui::ButtonMenuItemModel
87 return delegate_->IsItemForCommandIdDynamic(GetCommandIdAt(index));
93 return delegate_->GetLabelForCommandId(GetCommandIdAt(index));
H A Dsimple_menu_model.cc272 int SimpleMenuModel::GetCommandIdAt(int index) const { function in class:ui::SimpleMenuModel
278 return delegate_->GetLabelForCommandId(GetCommandIdAt(index));
284 return delegate_->GetSublabelForCommandId(GetCommandIdAt(index));
290 return delegate_->IsItemForCommandIdDynamic(GetCommandIdAt(index));
297 return delegate_->GetAcceleratorForCommandId(GetCommandIdAt(index),
308 delegate_->IsCommandIdChecked(GetCommandIdAt(index)) : false;
317 return delegate_->GetIconForCommandId(GetCommandIdAt(index), icon);
332 int command_id = GetCommandIdAt(index);
339 int command_id = GetCommandIdAt(index);
347 delegate_->CommandIdHighlighted(GetCommandIdAt(inde
[all...]
H A Dmenu_model.cc27 if ((*model)->GetCommandIdAt(candidate_index) == command_id) {
H A Dbutton_menu_item_model.h66 int GetCommandIdAt(int index) const;
H A Dmenu_model.h55 virtual int GetCommandIdAt(int index) const = 0;
H A Dsimple_menu_model.h140 virtual int GetCommandIdAt(int index) const OVERRIDE;
/external/chromium/chrome/browser/ui/views/
H A Dwrench_menu.cc606 int command_id = entry.first->GetCommandIdAt(entry.second);
616 int command_id = entry.first->GetCommandIdAt(entry.second);
630 int command_id = entry.first->GetCommandIdAt(entry.second);
661 if (model->GetCommandIdAt(index) == IDC_CUT) {
664 DCHECK_EQ(IDC_COPY, model->GetCommandIdAt(index + 1));
665 DCHECK_EQ(IDC_PASTE, model->GetCommandIdAt(index + 2));
670 } else if (model->GetCommandIdAt(index) == IDC_ZOOM_MINUS) {
672 DCHECK_EQ(IDC_ZOOM_PLUS, model->GetCommandIdAt(index + 1));
673 DCHECK_EQ(IDC_FULLSCREEN, model->GetCommandIdAt(index + 2));
/external/chromium/chrome/browser/chromeos/status/
H A Dclock_menu_button.h43 virtual int GetCommandIdAt(int index) const { return index; } function in class:chromeos::ClockMenuButton
H A Dpower_menu_button.h37 virtual int GetCommandIdAt(int index) const { return index; } function in class:chromeos::PowerMenuButton
H A Dinput_method_menu.cc167 int InputMethodMenu::GetCommandIdAt(int index) const { function in class:chromeos::InputMethodMenu
530 (model_->GetCommandIdAt(index) == COMMAND_ID_INPUT_METHODS) &&
544 (model_->GetCommandIdAt(index) == COMMAND_ID_IME_PROPERTIES)) {
564 (model_->GetCommandIdAt(index) == COMMAND_ID_CUSTOMIZE_LANGUAGE));
H A Dinput_method_menu.h44 virtual int GetCommandIdAt(int index) const;
H A Dnetwork_menu.h72 virtual int GetCommandIdAt(int index) const { return index; } function in class:chromeos::NetworkMenuModel
/external/chromium/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.h51 virtual int GetCommandIdAt(int index) const;
H A Dback_forward_menu_model.cc71 int BackForwardMenuModel::GetCommandIdAt(int index) const { function in class:BackForwardMenuModel
/external/chromium_org/chrome/browser/ui/gtk/tab_contents/
H A Drender_view_context_menu_gtk.cc53 if (model->GetCommandIdAt(i) == command_id) {
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.h62 virtual int GetCommandIdAt(int index) const OVERRIDE;
H A Drecent_tabs_sub_menu_model.cc284 int command_id = GetCommandIdAt(index);
294 int command_id = GetCommandIdAt(item_index);
307 int command_id = GetCommandIdAt(index);
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu.cc55 menu_model, i, menu_model->GetCommandIdAt(i));
/external/chromium_org/chrome/browser/ui/views/
H A Dwrench_menu.cc993 int command_id = entry.first->GetCommandIdAt(entry.second);
1009 int command_id = entry.first->GetCommandIdAt(entry.second);
1031 int command_id = entry.first->GetCommandIdAt(entry.second);
1093 (model->GetCommandIdAt(i) == IDC_CUT ||
1094 model->GetCommandIdAt(i) == IDC_ZOOM_MINUS))
1102 model->GetCommandIdAt(i) == IDC_RECENT_TABS_MENU;
1112 switch (model->GetCommandIdAt(i)) {
1116 DCHECK_EQ(IDC_COPY, model->GetCommandIdAt(i + 1));
1117 DCHECK_EQ(IDC_PASTE, model->GetCommandIdAt(i + 2));
1126 DCHECK_EQ(IDC_ZOOM_PLUS, model->GetCommandIdAt(
[all...]
H A Dmenu_model_adapter_test.cc33 // virtual int GetCommandIdAt(int index) const = 0;
127 virtual int GetCommandIdAt(int index) const OVERRIDE {
171 virtual int GetCommandIdAt(int index) const OVERRIDE {
/external/chromium_org/chrome/browser/chromeos/status/
H A Dnetwork_menu.cc119 // GetCommandIdAt() must be implemented by subclasses.
188 virtual int GetCommandIdAt(int index) const OVERRIDE;
206 virtual int GetCommandIdAt(int index) const OVERRIDE;
596 int MainMenuModel::GetCommandIdAt(int index) const { function in class:chromeos::MainMenuModel
658 int MoreMenuModel::GetCommandIdAt(int index) const { function in class:chromeos::MoreMenuModel
/external/chromium_org/ui/app_list/views/
H A Dapp_list_menu_views.cc103 int id = model->GetCommandIdAt(index);
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dnetwork_dropdown.cc86 id = model->GetCommandIdAt(i);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_model_adapter.cc57 model->GetCommandIdAt(index));
H A Dmenu_model_adapter_unittest.cc50 virtual int GetCommandIdAt(int index) const OVERRIDE {

Completed in 324 milliseconds

12