/external/chromium_org/chrome/browser/profiles/ |
D | profile_list_desktop_unittest.cc | 107 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 111 EXPECT_EQ(1U, item2.menu_index); in TEST_F() 128 EXPECT_EQ(0u, item1.menu_index); in TEST_F() 133 EXPECT_EQ(1u, item2.menu_index); in TEST_F() 138 EXPECT_EQ(2u, item3.menu_index); in TEST_F() 143 EXPECT_EQ(3u, item4.menu_index); in TEST_F() 170 EXPECT_EQ(0u, item1.menu_index); in TEST_F() 175 EXPECT_EQ(1u, item2.menu_index); in TEST_F() 180 EXPECT_EQ(2u, item3.menu_index); in TEST_F() 185 EXPECT_EQ(3u, item4.menu_index); in TEST_F() [all …]
|
D | avatar_menu.cc | 84 AvatarMenu::Item::Item(size_t menu_index, in Item() argument 91 menu_index(menu_index), in Item()
|
D | avatar_menu.h | 48 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); 76 size_t menu_index; member
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_list_chromeos_unittest.cc | 129 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 149 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 153 EXPECT_EQ(1U, item3.menu_index); in TEST_F() 175 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 235 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 239 EXPECT_EQ(1U, item2.menu_index); in TEST_F() 250 EXPECT_EQ(0U, item1next.menu_index); in TEST_F() 254 EXPECT_EQ(1U, item2next.menu_index); in TEST_F() 279 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 283 EXPECT_EQ(1U, item2.menu_index); in TEST_F() [all …]
|
D | profile_list_chromeos.cc | 78 items_[i]->menu_index = i; in RebuildMenu() 84 size_t menu_index = 0; in MenuIndexFromProfileIndex() local 88 menu_index = i; in MenuIndexFromProfileIndex() 93 return menu_index; in MenuIndexFromProfileIndex()
|
/external/chromium_org/ui/views/controls/menu/ |
D | native_menu_win.h | 62 bool IsSeparatorItemAt(int menu_index) const; 65 void AddMenuItemAt(int menu_index, int model_index); 66 void AddSeparatorItemAt(int menu_index, int model_index); 69 void SetMenuItemState(int menu_index, 75 void SetMenuItemLabel(int menu_index,
|
D | native_menu_win.cc | 480 for (int menu_index = first_item_index_; in Rebuild() local 481 menu_index < first_item_index_ + model_->GetItemCount(); ++menu_index) { in Rebuild() 482 int model_index = menu_index - first_item_index_; in Rebuild() 484 AddSeparatorItemAt(menu_index, model_index); in Rebuild() 486 AddMenuItemAt(menu_index, model_index); in Rebuild() 495 int menu_index = model_index + first_item_index_; in UpdateStates() local 496 SetMenuItemState(menu_index, model_->IsEnabledAt(model_index), in UpdateStates() 500 SetMenuItemLabel(menu_index, model_index, in UpdateStates() 613 bool NativeMenuWin::IsSeparatorItemAt(int menu_index) const { in IsSeparatorItemAt() 617 GetMenuItemInfo(menu_, menu_index, MF_BYPOSITION, &mii); in IsSeparatorItemAt() [all …]
|
D | menu_model_adapter.cc | 58 int menu_index, in AddMenuItemFromModelAt() argument 104 menu_index, in AddMenuItemFromModelAt() 119 const int menu_index = menu->HasSubmenu() ? in AppendMenuItemFromModel() local 121 return AddMenuItemFromModelAt(model, model_index, menu, menu_index, item_id); in AppendMenuItemFromModel()
|
D | menu_model_adapter.h | 46 int menu_index,
|
/external/chromium_org/ui/app_list/ |
D | app_list_menu.cc | 37 int menu_index = menu_model_.GetIndexOfCommandId(SELECT_PROFILE + i); in InitMenu() 38 menu_model_.SetSublabel(menu_index, users_[i].email); in InitMenu() 42 menu_model_.SetIcon(menu_index, gfx::Image(*rb.GetImageSkiaNamed( in InitMenu()
|
/external/chromium_org/content/shell/browser/ |
D | shell_web_contents_view_delegate_win.cc | 40 int menu_index, in MakeContextMenuItem() argument 52 InsertMenuItem(menu, menu_index, TRUE, &mii); in MakeContextMenuItem()
|
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
D | profile_menu_controller.mm | 130 [item setTag:itemData.menu_index]; 168 return [menuItem tag] == static_cast<NSInteger>(itemData.menu_index); 232 size_t tag = menu_->GetItemAt(i).menu_index;
|
D | profile_chooser_controller.mm | 1696 AvatarMenu::Item guestItem(std::string::npos, /* menu_index, not used */
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | wrench_menu.h | 132 int menu_index,
|
D | wrench_menu.cc | 1094 int menu_index = parent->HasSubmenu() ? in PopulateMenu() local 1097 AddMenuItem(parent, menu_index, model, i, model->GetTypeAt(i)); in PopulateMenu() 1175 int menu_index, in AddMenuItem() argument 1197 model, model_index, parent, menu_index, command_id); in AddMenuItem()
|