Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/
Ddefault_encoding_combo_model.cc30 int DefaultEncodingComboboxModel::GetItemCount() { in GetItemCount() function in DefaultEncodingComboboxModel
35 DCHECK(index >= 0 && index < GetItemCount()); in GetItemAt()
40 DCHECK(index >= 0 && index < GetItemCount()); in GetEncodingCharsetByIndex()
51 for (int i = 0; i < GetItemCount(); ++i) { in GetSelectedEncodingIndex()
Dcontent_setting_combo_model.cc38 int ContentSettingComboModel::GetItemCount() { in GetItemCount() function in ContentSettingComboModel
73 for (int i = 0; i < GetItemCount(); ++i) in IndexForSetting()
Dcontent_setting_combo_model.h19 virtual int GetItemCount();
Ddefault_encoding_combo_model.h23 virtual int GetItemCount();
Dbackground_mode_manager.cc284 context_menu_application_offset_ = menu->GetItemCount(); in UpdateStatusTrayIconContextMenu()
293 menu->SetIcon(menu->GetItemCount() - 1, *icon); in UpdateStatusTrayIconContextMenu()
Dlanguage_combobox_model.h81 virtual int GetItemCount();
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model_unittest.cc71 EXPECT_EQ(h + c, model->GetItemCount()); in ValidateModel()
114 EXPECT_EQ(0, back_model->GetItemCount()); in TEST_F()
115 EXPECT_EQ(0, forward_model->GetItemCount()); in TEST_F()
129 EXPECT_EQ(9, back_model->GetItemCount()); in TEST_F()
130 EXPECT_EQ(0, forward_model->GetItemCount()); in TEST_F()
145 EXPECT_EQ(0, back_model->GetItemCount()); in TEST_F()
146 EXPECT_EQ(9, forward_model->GetItemCount()); in TEST_F()
161 EXPECT_EQ(6, back_model->GetItemCount()); in TEST_F()
162 EXPECT_EQ(5, forward_model->GetItemCount()); in TEST_F()
219 back_model->GetItemCount()); in TEST_F()
[all …]
Dback_forward_menu_model.cc46 int BackForwardMenuModel::GetItemCount() const { in GetItemCount() function in BackForwardMenuModel
77 if (index == GetItemCount() - 1) in GetLabelAt()
125 if (index == GetItemCount() - 1) { in GetIconAt()
145 return index < GetItemCount() && !IsSeparator(index); in IsEnabledAt()
166 if (index == GetItemCount() - 1) { in ActivatedAtWithDisposition()
247 for (int i = 0; i < GetItemCount() - 1; i++) { in OnFavIconDataAvailable()
389 return index < GetItemCount() && !IsSeparator(index); in ItemHasCommand()
393 return index < GetItemCount() && !IsSeparator(index); in ItemHasIcon()
Dwrench_menu_model_unittest.cc59 int itemCount = model.GetItemCount(); in TEST_F()
91 EXPECT_GT(toolsModel->GetItemCount(), 2); in TEST_F()
Dback_forward_menu_model.h49 virtual int GetItemCount() const;
/external/chromium/chrome/browser/chromeos/options/
Dwifi_config_view.cc45 virtual int GetItemCount() { in GetItemCount() function in chromeos::__anon8f15ac430111::SecurityComboboxModel
83 virtual int GetItemCount() { in GetItemCount() function in chromeos::__anon8f15ac430111::EAPMethodComboboxModel
129 virtual int GetItemCount() { in GetItemCount() function in chromeos::__anon8f15ac430111::Phase2AuthComboboxModel
195 virtual int GetItemCount() { in GetItemCount() function in chromeos::__anon8f15ac430111::ServerCACertComboboxModel
203 if (combo_index == GetItemCount() - 1) in GetItemAt()
220 virtual int GetItemCount() { in GetItemCount() function in chromeos::__anon8f15ac430111::ClientCertComboboxModel
333 phase_2_auth_combobox_->model()->GetItemCount() > 1); in RefreshEAPFields()
521 server_ca_cert_combobox_->model()->GetItemCount() - 1) { in Login()
844 server_ca_cert_combobox_->model()->GetItemCount() - 1); in Init()
Dvpn_config_view.h63 virtual int GetItemCount();
73 virtual int GetItemCount();
Dvpn_config_view.cc49 int VPNConfigView::ProviderTypeComboboxModel::GetItemCount() { in GetItemCount() function in chromeos::VPNConfigView::ProviderTypeComboboxModel
65 int VPNConfigView::UserCertComboboxModel::GetItemCount() { in GetItemCount() function in chromeos::VPNConfigView::UserCertComboboxModel
378 for (int i = 0; i < user_cert_combobox_->model()->GetItemCount(); ++i) { in Init()
/external/chromium/chrome/browser/chromeos/status/
Dinput_method_menu.cc257 int InputMethodMenu::GetItemCount() const { in GetItemCount() function in chromeos::InputMethodMenu
263 return model_->GetItemCount(); in GetItemCount()
525 if (index >= model_->GetItemCount()) { in IndexIsInInputMethodList()
539 if (index >= model_->GetItemCount()) { in GetPropertyIndex()
559 if (index >= model_->GetItemCount()) { in IndexPointsToConfigureImeMenuItem()
Dpower_menu_button.h35 virtual int GetItemCount() const;
Dclock_menu_button.h41 virtual int GetItemCount() const;
/external/chromium/chrome/browser/ui/tabs/
Dtab_menu_model_unittest.cc19 EXPECT_GT(model.GetItemCount(), 5); in TEST_F()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bubble_gtk.cc225 if (index == folder_combo_model_->GetItemCount() - 1) { in OnFolderChanged()
288 if (index < folder_combo_model_->GetItemCount() - 1) { in ApplyEdits()
339 for (int i = 0; i < folder_combo_model_->GetItemCount(); ++i) { in InitFolderComboModel()
/external/chromium/chrome/browser/bookmarks/
Drecently_used_folders_combo_model.h24 virtual int GetItemCount();
Drecently_used_folders_combo_model.cc54 int RecentlyUsedFoldersComboModel::GetItemCount() { in GetItemCount() function in RecentlyUsedFoldersComboModel
/external/chromium/chrome/browser/chromeos/login/
Dkeyboard_switch_menu.cc53 const int count = GetItemCount(); in GetCurrentKeyboardName()
/external/chromium/chrome/browser/ui/views/
Duninstall_view.h44 virtual int GetItemCount();
Dcookie_info_view.h76 virtual int GetItemCount();
Dabout_ipc_dialog.cc150 int count = messages->GetItemCount(); in OnButtonClick()
316 int count = message_list_.GetItemCount(); in Log()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bubble_view.cc311 if (new_index + 1 == parent_model_.GetItemCount()) { in ItemChanged()
435 parent_model_.GetItemCount() - 1) { in ApplyEdits()

12