/external/chromium_org/ui/views/controls/menu/ |
native_menu_win.h | 49 // 1. menu_index - the index of an item within the actual Windows 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,
|
native_menu_win.cc | 478 for (int menu_index = first_item_index_; 479 menu_index < first_item_index_ + model_->GetItemCount(); ++menu_index) { 480 int model_index = menu_index - first_item_index_; 482 AddSeparatorItemAt(menu_index, model_index); 484 AddMenuItemAt(menu_index, model_index); 493 int menu_index = model_index + first_item_index_; local 494 SetMenuItemState(menu_index, model_->IsEnabledAt(model_index), 498 SetMenuItemLabel(menu_index, model_index, 611 bool NativeMenuWin::IsSeparatorItemAt(int menu_index) const [all...] |
menu_model_adapter.h | 42 // a child to |menu| at the specified |menu_index|. 46 int menu_index,
|
menu_model_adapter.cc | 58 int menu_index, 104 menu_index, 119 const int menu_index = menu->HasSubmenu() ? local 121 return AddMenuItemFromModelAt(model, model_index, menu, menu_index, item_id);
|
/external/chromium_org/ui/app_list/ |
app_list_menu.cc | 37 int menu_index = menu_model_.GetIndexOfCommandId(SELECT_PROFILE + i); 38 menu_model_.SetSublabel(menu_index, users_[i].email); 42 menu_model_.SetIcon(menu_index, gfx::Image(*rb.GetImageSkiaNamed(
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
profile_list_chromeos.cc | 76 items_[i]->menu_index = i; 82 size_t menu_index = 0; local 86 menu_index = i; 91 return menu_index;
|
profile_list_chromeos_unittest.cc | 142 EXPECT_EQ(0U, item1.menu_index); 162 EXPECT_EQ(0U, item1.menu_index); 166 EXPECT_EQ(1U, item3.menu_index); 188 EXPECT_EQ(0U, item1.menu_index); 252 EXPECT_EQ(0U, item1.menu_index); 256 EXPECT_EQ(1U, item2.menu_index); 267 EXPECT_EQ(0U, item1next.menu_index); 271 EXPECT_EQ(1U, item2next.menu_index); 296 EXPECT_EQ(0U, item1.menu_index); 300 EXPECT_EQ(1U, item2.menu_index); [all...] |
/external/chromium_org/chrome/browser/profiles/ |
avatar_menu.h | 38 Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); 66 size_t menu_index; member in struct:AvatarMenu::Item
|
profile_list_desktop_unittest.cc | 101 EXPECT_EQ(0U, item1.menu_index); 105 EXPECT_EQ(1U, item2.menu_index); 145 EXPECT_EQ(0U, item1.menu_index); 149 EXPECT_EQ(1U, item2.menu_index); 157 EXPECT_EQ(0U, item1next.menu_index); 161 EXPECT_EQ(1U, item2next.menu_index); 196 EXPECT_EQ(0U, item1.menu_index); 200 EXPECT_EQ(1U, item2.menu_index); 204 EXPECT_EQ(2U, item3.menu_index);
|
avatar_menu.cc | 70 AvatarMenu::Item::Item(size_t menu_index, 77 menu_index(menu_index),
|
/external/chromium_org/content/shell/browser/ |
shell_web_contents_view_delegate_win.cc | 40 int menu_index, 52 InsertMenuItem(menu, menu_index, TRUE, &mii);
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
wrench_menu.h | 123 // Adds a new menu item to |parent| at |menu_index| to represent the item in 125 // - |menu_index|: position in |parent| to add the new item. 133 int menu_index,
|
wrench_menu.cc | 1229 int menu_index = parent->HasSubmenu() ? local [all...] |