Searched refs:GetTypeAt (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/chrome/test/base/
H A Dmenu_model_test.cc34 ui::MenuModel::ItemType type = model->GetTypeAt(i);
/external/chromium_org/ui/base/models/
H A Dmenu_model.cc20 if ((*model)->GetTypeAt(candidate_index) == TYPE_SUBMENU) {
H A Dbutton_menu_item_model.h63 ButtonType GetTypeAt(int index) const;
H A Dmenu_model.h49 virtual ItemType GetTypeAt(int index) const = 0;
H A Dbutton_menu_item_model.cc76 ButtonMenuItemModel::ButtonType ButtonMenuItemModel::GetTypeAt( function in class:ui::ButtonMenuItemModel
H A Dsimple_menu_model.cc264 MenuModel::ItemType SimpleMenuModel::GetTypeAt(int index) const { function in class:ui::SimpleMenuModel
306 MenuModel::ItemType item_type = GetTypeAt(index);
H A Dsimple_menu_model.h138 virtual ItemType GetTypeAt(int index) const OVERRIDE;
/external/chromium/chrome/browser/ui/toolbar/
H A Dwrench_menu_model_unittest.cc83 if (model.GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) {
H A Dback_forward_menu_model.h50 virtual ItemType GetTypeAt(int index) const;
/external/chromium/chrome/browser/extensions/
H A Dextension_context_menu_browsertest.cc82 } else if (model->GetTypeAt(i) == MenuModel::TYPE_SUBMENU) {
283 EXPECT_EQ(expected_type, menu.GetTypeAt(index));
307 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
309 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
311 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
314 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
345 ASSERT_EQ(MenuModel::TYPE_SUBMENU, model->GetTypeAt(index));
/external/chromium/chrome/browser/chromeos/status/
H A Dclock_menu_button.h42 virtual ui::MenuModel::ItemType GetTypeAt(int index) const;
H A Dpower_menu_button.h36 virtual ui::MenuModel::ItemType GetTypeAt(int index) const;
H A Dinput_method_menu.cc266 ui::MenuModel::ItemType InputMethodMenu::GetTypeAt(int index) const { function in class:chromeos::InputMethodMenu
529 return ((model_->GetTypeAt(index) == ui::MenuModel::TYPE_RADIO) &&
543 if ((model_->GetTypeAt(index) == ui::MenuModel::TYPE_RADIO) &&
563 return ((model_->GetTypeAt(index) == ui::MenuModel::TYPE_RADIO) &&
H A Dinput_method_menu.h43 virtual ui::MenuModel::ItemType GetTypeAt(int index) const;
H A Dclock_menu_button.cc131 ui::MenuModel::ItemType ClockMenuButton::GetTypeAt(int index) const { function in class:chromeos::ClockMenuButton
H A Dpower_menu_button.cc48 ui::MenuModel::ItemType PowerMenuButton::GetTypeAt(int index) const { function in class:chromeos::PowerMenuButton
H A Dnetwork_menu.h71 virtual ui::MenuModel::ItemType GetTypeAt(int index) const;
/external/chromium_org/chrome/browser/extensions/
H A Dextension_context_menu_browsertest.cc56 } else if (model->GetTypeAt(i) == MenuModel::TYPE_SUBMENU) {
411 EXPECT_EQ(expected_type, menu.GetTypeAt(index));
435 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
437 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
439 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
442 EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++));
479 ASSERT_EQ(MenuModel::TYPE_SUBMENU, model->GetTypeAt(index));
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.h60 virtual ItemType GetTypeAt(int index) const OVERRIDE;
H A Dwrench_menu_model_unittest.cc169 if (model.GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) {
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dmenu_util.cc108 switch (model->GetTypeAt(i)) {
151 if (model->GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) {
/external/chromium_org/chrome/browser/ui/views/
H A Dmenu_model_adapter_test.cc32 // virtual ItemType GetTypeAt(int index) const = 0;
123 virtual ItemType GetTypeAt(int index) const OVERRIDE {
167 virtual ItemType GetTypeAt(int index) const OVERRIDE {
/external/chromium/chrome/browser/ui/views/
H A Dwrench_menu.cc656 AppendMenuItem(parent, model, index, model->GetTypeAt(index), next_id);
658 if (model->GetTypeAt(index) == MenuModel::TYPE_SUBMENU)
662 DCHECK_EQ(MenuModel::TYPE_COMMAND, model->GetTypeAt(index));
671 DCHECK_EQ(MenuModel::TYPE_COMMAND, model->GetTypeAt(index));
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dnetwork_dropdown.cc81 ui::MenuModel::ItemType type = model->GetTypeAt(i);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_model_adapter.cc198 if (model->GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) {

Completed in 1373 milliseconds

12