/external/chromium_org/ui/views/controls/combobox/ |
D | combobox_unittest.cc | 247 EXPECT_EQ(combobox_->selected_index() + 1, model_->GetItemCount()); in TEST_F() 249 EXPECT_EQ(combobox_->selected_index(), 0); in TEST_F() 252 EXPECT_EQ(combobox_->selected_index(), 2); in TEST_F() 254 EXPECT_EQ(combobox_->selected_index(), 2); in TEST_F() 256 EXPECT_EQ(combobox_->selected_index(), 2); in TEST_F() 258 EXPECT_EQ(combobox_->selected_index(), 1); in TEST_F() 260 EXPECT_EQ(combobox_->selected_index(), 0); in TEST_F() 262 EXPECT_EQ(combobox_->selected_index(), model_->GetItemCount() - 1); in TEST_F() 291 EXPECT_EQ(0, combobox_->selected_index()); in TEST_F() 293 EXPECT_EQ(1, combobox_->selected_index()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/sessions/ |
D | persistent_tab_restore_service.cc | 155 void ScheduleCommandsForTab(const Tab& tab, int selected_index); 270 int selected_index = GetSelectedNavigationIndexToPersist(*tab); in Save() local 271 if (selected_index != -1) in Save() 272 ScheduleCommandsForTab(*tab, selected_index); in Save() 415 int selected_index = GetSelectedNavigationIndexToPersist(window.tabs[i]); in ScheduleCommandsForWindow() local 416 if (selected_index != -1) in ScheduleCommandsForWindow() 417 ScheduleCommandsForTab(window.tabs[i], selected_index); in ScheduleCommandsForWindow() 423 int selected_index) { in ScheduleCommandsForTab() argument 430 int first_index_to_persist = selected_index; in ScheduleCommandsForTab() 431 for (int i = selected_index - 1; i >= 0 && in ScheduleCommandsForTab() [all …]
|
D | session_restore.cc | 606 int selected_index = tab.current_navigation_index; in RestoreForeignTab() local 607 selected_index = std::max( in RestoreForeignTab() 609 std::min(selected_index, in RestoreForeignTab() 618 RecordAppLaunchForTab(browser, tab, selected_index); in RestoreForeignTab() 625 selected_index, in RestoreForeignTab() 637 selected_index, in RestoreForeignTab() 949 int selected_index) { in RecordAppLaunchForTab() argument 950 DCHECK(selected_index >= 0 && in RecordAppLaunchForTab() 951 selected_index < static_cast<int>(tab.navigations.size())); in RecordAppLaunchForTab() 952 GURL url = tab.navigations[selected_index].virtual_url(); in RecordAppLaunchForTab() [all …]
|
D | session_restore_android.cc | 36 int selected_index = session_tab.normalized_navigation_index(); in RestoreForeignSessionTab() local 38 selected_index, in RestoreForeignSessionTab()
|
/external/chromium_org/chrome/browser/omnibox/ |
D | omnibox_log.cc | 11 size_t selected_index, in OmniboxLog() argument 21 selected_index(selected_index), in OmniboxLog()
|
D | omnibox_log.h | 25 size_t selected_index, 45 size_t selected_index; member
|
/external/chromium_org/chrome/browser/android/ |
D | foreign_session_helper.cc | 53 int selected_index = session_tab.current_navigation_index; in ShouldSkipTab() local 54 if (selected_index < 0 || in ShouldSkipTab() 55 selected_index >= static_cast<int>(session_tab.navigations.size())) in ShouldSkipTab() 59 session_tab.navigations.at(selected_index); in ShouldSkipTab() 98 int selected_index = session_tab.current_navigation_index; in CopyTabsToJava() local 99 DCHECK(selected_index >= 0); in CopyTabsToJava() 100 DCHECK(selected_index < static_cast<int>(session_tab.navigations.size())); in CopyTabsToJava() 103 session_tab.navigations.at(selected_index); in CopyTabsToJava()
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | tab_strip_model_order_controller.cc | 88 int selected_index = tabstrip_->active_index(); in DetermineNewSelectedIndex() local 89 if (selected_index >= (tab_count - 1)) in DetermineNewSelectedIndex() 90 return selected_index - 1; in DetermineNewSelectedIndex() 92 return selected_index; in DetermineNewSelectedIndex()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | browser_options_handler.cc | 282 int selected_index = -1; in SetDefaultSearchEngine() local 283 if (!ExtractIntegerValue(args, &selected_index)) { in SetDefaultSearchEngine() 290 if (selected_index >= 0 && in SetDefaultSearchEngine() 291 selected_index < static_cast<int>(model_urls.size())) in SetDefaultSearchEngine() 292 template_url_model_->SetDefaultSearchProvider(model_urls[selected_index]); in SetDefaultSearchEngine() 364 int selected_index; in RemoveStartupPages() local 365 base::StringToInt(string_value, &selected_index); in RemoveStartupPages() 366 if (selected_index < 0 || in RemoveStartupPages() 367 selected_index >= startup_custom_pages_table_model_->RowCount()) { in RemoveStartupPages() 371 startup_custom_pages_table_model_->Remove(selected_index); in RemoveStartupPages()
|
/external/chromium/chrome/browser/sessions/ |
D | tab_restore_service.cc | 463 int selected_index = GetSelectedNavigationIndexToPersist(*tab); in Save() local 464 if (selected_index != -1) in Save() 465 ScheduleCommandsForTab(*tab, selected_index); in Save() 587 int selected_index = GetSelectedNavigationIndexToPersist(window.tabs[i]); in ScheduleCommandsForWindow() local 588 if (selected_index != -1) in ScheduleCommandsForWindow() 589 ScheduleCommandsForTab(window.tabs[i], selected_index); in ScheduleCommandsForWindow() 594 int selected_index) { in ScheduleCommandsForTab() argument 600 int first_index_to_persist = selected_index; in ScheduleCommandsForTab() 601 for (int i = selected_index - 1; i >= 0 && in ScheduleCommandsForTab() 689 int selected_index = tab.current_navigation_index; in GetSelectedNavigationIndexToPersist() local [all …]
|
/external/chromium/chrome/browser/tabs/ |
D | tab_strip_model_order_controller.cc | 102 int selected_index = tabstrip_->active_index(); in DetermineNewSelectedIndex() local 103 if (selected_index >= (tab_count - 1)) in DetermineNewSelectedIndex() 104 return selected_index - 1; in DetermineNewSelectedIndex() 106 return selected_index; in DetermineNewSelectedIndex()
|
/external/chromium_org/content/renderer/ |
D | external_popup_menu_browsertest.cc | 62 int selected_index = -1; in GetSelectedIndex() local 63 ExecuteJavaScriptAndReturnIntValue(script, &selected_index); in GetSelectedIndex() 64 return selected_index; in GetSelectedIndex()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | startup_pages_handler.cc | 140 int selected_index; in RemoveStartupPages() local 141 CHECK(args->GetInteger(i, &selected_index)); in RemoveStartupPages() 143 if (selected_index < 0 || in RemoveStartupPages() 144 selected_index >= startup_custom_pages_table_model_->RowCount()) { in RemoveStartupPages() 148 startup_custom_pages_table_model_->Remove(selected_index); in RemoveStartupPages()
|
/external/chromium_org/chrome/browser/chromeos/options/ |
D | wifi_config_view.cc | 238 switch (eap_method_combobox_->selected_index()) { in GetItemCount() 415 eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_NONE) in CanLogin() 436 int index = user_cert_combobox_->selected_index(); in IsUserCertValid() 456 int index = eap_method_combobox_->selected_index(); in PassphraseActive() 459 return security_combobox_->selected_index() != SECURITY_INDEX_NONE; in PassphraseActive() 467 return eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_TLS; in UserCertActive() 475 int index = eap_method_combobox_->selected_index(); in CaCertActive() 525 eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_TLS; in RefreshEapFields() 547 security_combobox_->selected_index() == SECURITY_INDEX_NONE) { in RefreshShareCheckbox() 551 (eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_TLS || in RefreshShareCheckbox() [all …]
|
/external/chromium/chrome/browser/ui/webui/ |
D | foreign_session_handler.cc | 201 int selected_index = tab.current_navigation_index; in SessionTabToValue() local 202 selected_index = std::max( in SessionTabToValue() 204 std::min(selected_index, in SessionTabToValue() 207 tab.navigations.at(selected_index); in SessionTabToValue()
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete.h | 733 size_t selected_index, in AutocompleteLog() 738 selected_index(selected_index), in AutocompleteLog() 747 size_t selected_index; member
|
/external/chromium_org/ui/app_list/views/ |
D | search_result_list_view.cc | 54 void SearchResultListView::SetSelectedIndex(int selected_index) { in SetSelectedIndex() argument 55 if (selected_index_ == selected_index) in SetSelectedIndex() 64 selected_index_ = selected_index; in SetSelectedIndex()
|
/external/chromium_org/ui/views/examples/ |
D | text_example.cc | 262 switch (combobox->selected_index()) { in OnSelectedIndexChanged() 276 switch (combobox->selected_index()) { in OnSelectedIndexChanged() 294 switch (combobox->selected_index()) { in OnSelectedIndexChanged() 314 switch (combobox->selected_index()) { in OnSelectedIndexChanged()
|
D | examples_window.cc | 120 DCHECK(combobox->selected_index() < combobox_model_.GetItemCount()); in OnSelectedIndexChanged() 123 combobox->selected_index())); in OnSelectedIndexChanged()
|
D | examples_window_with_content.cc | 124 DCHECK(combobox->selected_index() < combobox_model_.GetItemCount()); in OnSelectedIndexChanged() 127 combobox->selected_index())); in OnSelectedIndexChanged()
|
D | combobox_example.cc | 50 combobox->selected_index())).c_str()); in OnSelectedIndexChanged()
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
D | sessions_api.h | 38 int selected_index); 56 int selected_index);
|
D | sessions_api.cc | 76 int selected_index, in CreateTabModelHelper() argument 95 tab_struct->selected = index == selected_index; in CreateTabModelHelper() 143 const TabRestoreService::Tab& tab, int session_id, int selected_index) { in CreateTabModel() argument 149 selected_index, in CreateTabModel() 229 int selected_index) { in CreateTabModel() argument 236 selected_index, in CreateTabModel()
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | recently_used_folders_combo_model.cc | 224 int selected_index) { in MaybeChangeParent() argument 225 if (items_[selected_index].type != Item::TYPE_NODE) in MaybeChangeParent() 228 const BookmarkNode* new_parent = GetNodeAt(selected_index); in MaybeChangeParent()
|
/external/chromium_org/chrome/browser/search_engines/ |
D | template_url_service_android.cc | 52 jint selected_index) { in SetDefaultSearchProvider() argument 55 size_t selected_index_size_t = static_cast<size_t>(selected_index); in SetDefaultSearchProvider()
|