HomeSort by relevance Sort by last modified time
    Searched refs:GetCommandIdAt (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/chrome/browser/background/
background_mode_manager_unittest.cc 501 EXPECT_FALSE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(0)));
505 EXPECT_TRUE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(1)));
509 EXPECT_TRUE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(2)));
513 EXPECT_TRUE(submenu->IsCommandIdEnabled(submenu->GetCommandIdAt(3)));
649 context_menu->IsCommandIdEnabled(context_menu->GetCommandIdAt(3)));
650 EXPECT_TRUE(context_menu->GetCommandIdAt(3) == 4);
654 context_menu->IsCommandIdEnabled(context_menu->GetCommandIdAt(4)));
655 EXPECT_TRUE(context_menu->GetCommandIdAt(4) == 8);
665 profile1_submenu->GetCommandIdAt(0)));
666 EXPECT_TRUE(profile1_submenu->GetCommandIdAt(0) == 0)
    [all...]
  /external/chromium_org/ui/base/models/
simple_menu_model.cc 298 int SimpleMenuModel::GetCommandIdAt(int index) const {
304 return delegate_->GetLabelForCommandId(GetCommandIdAt(index));
310 return delegate_->GetSublabelForCommandId(GetCommandIdAt(index));
316 return delegate_->GetMinorTextForCommandId(GetCommandIdAt(index));
322 return delegate_->IsItemForCommandIdDynamic(GetCommandIdAt(index));
329 return delegate_->GetAcceleratorForCommandId(GetCommandIdAt(index),
340 delegate_->IsCommandIdChecked(GetCommandIdAt(index)) : false;
349 return delegate_->GetIconForCommandId(GetCommandIdAt(index), icon);
364 int command_id = GetCommandIdAt(index);
371 int command_id = GetCommandIdAt(index)
    [all...]
button_menu_item_model.cc 81 int ButtonMenuItemModel::GetCommandIdAt(int index) const {
87 return delegate_->IsItemForCommandIdDynamic(GetCommandIdAt(index));
93 return delegate_->GetLabelForCommandId(GetCommandIdAt(index));
menu_model.cc 27 if ((*model)->GetCommandIdAt(candidate_index) == command_id) {
button_menu_item_model.h 66 int GetCommandIdAt(int index) const;
menu_model.h 55 virtual int GetCommandIdAt(int index) const = 0;
simple_menu_model.h 148 virtual int GetCommandIdAt(int index) const OVERRIDE;
  /external/chromium/chrome/browser/chromeos/status/
clock_menu_button.h 43 virtual int GetCommandIdAt(int index) const { return index; }
power_menu_button.h 37 virtual int GetCommandIdAt(int index) const { return index; }
input_method_menu.cc 167 int InputMethodMenu::GetCommandIdAt(int index) const {
530 (model_->GetCommandIdAt(index) == COMMAND_ID_INPUT_METHODS) &&
544 (model_->GetCommandIdAt(index) == COMMAND_ID_IME_PROPERTIES)) {
564 (model_->GetCommandIdAt(index) == COMMAND_ID_CUSTOMIZE_LANGUAGE));
input_method_menu.h 44 virtual int GetCommandIdAt(int index) const;
network_menu.h 72 virtual int GetCommandIdAt(int index) const { return index; }
  /external/chromium/chrome/browser/ui/toolbar/
back_forward_menu_model.h 51 virtual int GetCommandIdAt(int index) const;
back_forward_menu_model.cc 71 int BackForwardMenuModel::GetCommandIdAt(int index) const {
  /external/chromium/chrome/browser/ui/views/
wrench_menu.cc 606 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_org/chrome/browser/ui/toolbar/
back_forward_menu_model.h 62 virtual int GetCommandIdAt(int index) const OVERRIDE;
recent_tabs_sub_menu_model.cc 317 int command_id = GetCommandIdAt(index);
327 int command_id = GetCommandIdAt(item_index);
340 int command_id = GetCommandIdAt(index);
back_forward_menu_model.cc 89 int BackForwardMenuModel::GetCommandIdAt(int index) const {
  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_context_menu.cc 56 menu_model, i, menu_, menu_model->GetCommandIdAt(i));
  /external/chromium_org/chrome/browser/ui/views/
menu_model_adapter_test.cc 33 // 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/ui/views/toolbar/
wrench_menu.cc 870 int command_id = model_->GetCommandIdAt(index);
    [all...]
  /external/chromium_org/chrome/browser/chromeos/status/
network_menu.cc 120 // GetCommandIdAt() must be implemented by subclasses.
182 virtual int GetCommandIdAt(int index) const OVERRIDE;
200 virtual int GetCommandIdAt(int index) const OVERRIDE;
591 int MainMenuModel::GetCommandIdAt(int index) const {
653 int MoreMenuModel::GetCommandIdAt(int index) const {
  /external/chromium_org/chrome/browser/ui/gtk/tab_contents/
render_view_context_menu_gtk.cc 54 if (model->GetCommandIdAt(i) == command_id) {
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
network_dropdown.cc 86 id = model->GetCommandIdAt(i);
  /external/chromium_org/ui/views/controls/menu/
menu_model_adapter_unittest.cc 50 virtual int GetCommandIdAt(int index) const OVERRIDE {

Completed in 210 milliseconds

1 2