Home
last modified time | relevance | path

Searched refs:GetLabelAt (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/toolbar/
Dback_forward_menu_model_unittest.cc133 EXPECT_EQ(ASCIIToUTF16("C2"), back_model->GetLabelAt(0)); in TEST_F()
134 EXPECT_EQ(ASCIIToUTF16("A1"), back_model->GetLabelAt(6)); in TEST_F()
136 back_model->GetLabelAt(8)); in TEST_F()
149 EXPECT_EQ(ASCIIToUTF16("A2"), forward_model->GetLabelAt(0)); in TEST_F()
150 EXPECT_EQ(ASCIIToUTF16("C3"), forward_model->GetLabelAt(6)); in TEST_F()
152 forward_model->GetLabelAt(8)); in TEST_F()
165 EXPECT_EQ(ASCIIToUTF16("B1"), back_model->GetLabelAt(0)); in TEST_F()
166 EXPECT_EQ(ASCIIToUTF16("A1"), back_model->GetLabelAt(3)); in TEST_F()
168 back_model->GetLabelAt(5)); in TEST_F()
169 EXPECT_EQ(ASCIIToUTF16("C1"), forward_model->GetLabelAt(0)); in TEST_F()
[all …]
Drecent_tabs_sub_menu_model_unittest.cc444 EXPECT_EQ(tab_titles[0], model.GetLabelAt(3)); in TEST_F()
445 EXPECT_EQ(tab_titles[1], model.GetLabelAt(6)); in TEST_F()
446 EXPECT_EQ(tab_titles[2], model.GetLabelAt(9)); in TEST_F()
480 EXPECT_EQ(tab_titles[i], model.GetLabelAt(i + 3)); in TEST_F()
Dback_forward_menu_model.h63 virtual base::string16 GetLabelAt(int index) const OVERRIDE;
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model_unittest.cc131 EXPECT_EQ(ASCIIToUTF16("C2"), back_model->GetLabelAt(0)); in TEST_F()
132 EXPECT_EQ(ASCIIToUTF16("A1"), back_model->GetLabelAt(6)); in TEST_F()
134 back_model->GetLabelAt(8)); in TEST_F()
147 EXPECT_EQ(ASCIIToUTF16("A2"), forward_model->GetLabelAt(0)); in TEST_F()
148 EXPECT_EQ(ASCIIToUTF16("C3"), forward_model->GetLabelAt(6)); in TEST_F()
150 forward_model->GetLabelAt(8)); in TEST_F()
163 EXPECT_EQ(ASCIIToUTF16("B1"), back_model->GetLabelAt(0)); in TEST_F()
164 EXPECT_EQ(ASCIIToUTF16("A1"), back_model->GetLabelAt(3)); in TEST_F()
166 back_model->GetLabelAt(5)); in TEST_F()
167 EXPECT_EQ(ASCIIToUTF16("C1"), forward_model->GetLabelAt(0)); in TEST_F()
[all …]
Dback_forward_menu_model.h52 virtual string16 GetLabelAt(int index) const;
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager_unittest.cc499 submenu->GetLabelAt(0) == in TEST_F()
503 submenu->GetLabelAt(1) == in TEST_F()
507 submenu->GetLabelAt(2) == in TEST_F()
511 submenu->GetLabelAt(3) == in TEST_F()
647 EXPECT_TRUE(context_menu->GetLabelAt(3) == UTF8ToUTF16("p1")); in TEST_F()
652 EXPECT_TRUE(context_menu->GetLabelAt(4) == UTF8ToUTF16("p2")); in TEST_F()
661 profile1_submenu->GetLabelAt(0) == in TEST_F()
668 profile1_submenu->GetLabelAt(1) == in TEST_F()
675 profile1_submenu->GetLabelAt(2) == in TEST_F()
682 profile1_submenu->GetLabelAt(3) == in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_context_menu_browsertest.cc236 *result = model->GetLabelAt(index); in GetItemLabel()
394 model->GetLabelAt(index++)); in IN_PROC_BROWSER_TEST_F()
396 model->GetLabelAt(index++)); in IN_PROC_BROWSER_TEST_F()
398 model->GetLabelAt(index++)); in IN_PROC_BROWSER_TEST_F()
400 model->GetLabelAt(index++)); in IN_PROC_BROWSER_TEST_F()
402 model->GetLabelAt(index++)); in IN_PROC_BROWSER_TEST_F()
412 EXPECT_EQ(UTF8ToUTF16(expected_label), menu.GetLabelAt(index)); in ExpectLabelAndType()
478 EXPECT_EQ(UTF8ToUTF16(extension->name()), model->GetLabelAt(index)); in IN_PROC_BROWSER_TEST_F()
495 EXPECT_EQ(UTF8ToUTF16("parent"), model->GetLabelAt(index)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/views/controls/menu/
Dmenu_model_adapter.cc70 label = model->GetLabelAt(model_index); in AddMenuItemFromModelAt()
76 label = model->GetLabelAt(model_index); in AddMenuItemFromModelAt()
82 label = model->GetLabelAt(model_index); in AddMenuItemFromModelAt()
93 label = model->GetLabelAt(model_index); in AddMenuItemFromModelAt()
178 return model->GetLabelAt(index); in GetLabel()
/external/chromium/chrome/browser/chromeos/status/
Dpower_menu_button.cc52 string16 PowerMenuButton::GetLabelAt(int index) const { in GetLabelAt() function in chromeos::PowerMenuButton
199 SetTooltipText(UTF16ToWide(GetLabelAt(0))); in UpdateIconAndLabelInfo()
Dpower_menu_button.h38 virtual string16 GetLabelAt(int index) const;
Dclock_menu_button.h44 virtual string16 GetLabelAt(int index) const;
Dinput_method_menu.h45 virtual string16 GetLabelAt(int index) const;
Dclock_menu_button.cc138 string16 ClockMenuButton::GetLabelAt(int index) const { in GetLabelAt() function in chromeos::ClockMenuButton
/external/chromium/chrome/browser/extensions/
Dextension_context_menu_browsertest.cc61 *result = model->GetLabelAt(index); in GetItemLabel()
284 EXPECT_EQ(UTF8ToUTF16(expected_label), menu.GetLabelAt(index)); in ExpectLabelAndType()
344 EXPECT_EQ(UTF8ToUTF16(extension->name()), model->GetLabelAt(index)); in IN_PROC_BROWSER_TEST_F()
361 EXPECT_EQ(UTF8ToUTF16("parent"), model->GetLabelAt(index)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/
Dmenu_model_adapter_test.cc131 virtual base::string16 GetLabelAt(int index) const OVERRIDE { in GetLabelAt() function in __anon791ba9570111::SubMenuModel
175 virtual base::string16 GetLabelAt(int index) const OVERRIDE { in GetLabelAt() function in __anon791ba9570111::TopMenuModel
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dmenu_util.cc104 UTF16ToUTF8(model->GetLabelAt(i))); in BuildSubmenuFromModel()
232 UTF16ToUTF8(model->GetLabelAt(id))); in SetMenuItemInfo()
/external/chromium/chrome/browser/chromeos/login/
Dkeyboard_switch_menu.cc56 return GetLabelAt(i); in GetCurrentKeyboardName()
/external/chromium_org/ui/base/models/
Dbutton_menu_item_model.h72 base::string16 GetLabelAt(int index) const;
Dmenu_model.h58 virtual base::string16 GetLabelAt(int index) const = 0;
Dbutton_menu_item_model.cc91 base::string16 ButtonMenuItemModel::GetLabelAt(int index) const { in GetLabelAt() function in ui::ButtonMenuItemModel
/external/chromium/chrome/browser/ui/gtk/
Dmenu_gtk.cc444 UTF16ToUTF8(model->GetLabelAt(i))); in BuildSubmenuFromModel()
550 UTF16ToUTF8(model->GetLabelAt(i))).c_str()); in BuildButtonMenuItem()
563 UTF16ToUTF8(model->GetLabelAt(i))).c_str()); in BuildButtonMenuItem()
743 UTF16ToUTF8(model->GetLabelAt(index))); in SetButtonItemInfo()
802 UTF16ToUTF8(model->GetLabelAt(id))); in SetMenuItemInfo()
/external/chromium_org/chrome/browser/ui/gtk/
Dmenu_gtk.cc484 UTF16ToUTF8(model->GetLabelAt(i))); in BuildSubmenuFromModel()
597 UTF16ToUTF8(model->GetLabelAt(i))).c_str()); in BuildButtonMenuItem()
610 UTF16ToUTF8(model->GetLabelAt(i))).c_str()); in BuildButtonMenuItem()
898 UTF16ToUTF8(model->GetLabelAt(index))); in SetButtonItemInfo()
956 UTF16ToUTF8(model->GetLabelAt(id))); in SetMenuItemInfo()
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/
Dwrench_menu_controller_unittest.mm162 recent_tabs_sub_menu_model.GetLabelAt(0));
170 base::SysUTF16ToNSString(recent_tabs_sub_menu_model.GetLabelAt(2)),
/external/chromium/chrome/browser/ui/cocoa/
Dmenu_controller.mm86 l10n_util::FixUpWindowsStyleLabel(model->GetLabelAt(modelIndex));
150 l10n_util::FixUpWindowsStyleLabel(model->GetLabelAt(modelIndex));
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/
Dback_forward_menu_controller.mm67 initWithTitle:SysUTF16ToNSString(model_->GetLabelAt(menuID))

12