/external/chromium_org/ui/views/controls/combobox/ |
D | combobox_unittest.cc | 167 perform_action_index_ = combobox->selected_index(); in OnPerformAction() 267 EXPECT_EQ(combobox_->selected_index() + 1, model_->GetItemCount()); in TEST_F() 269 EXPECT_EQ(combobox_->selected_index(), 0); in TEST_F() 272 EXPECT_EQ(combobox_->selected_index(), 2); in TEST_F() 274 EXPECT_EQ(combobox_->selected_index(), 2); in TEST_F() 276 EXPECT_EQ(combobox_->selected_index(), 2); in TEST_F() 278 EXPECT_EQ(combobox_->selected_index(), 1); in TEST_F() 280 EXPECT_EQ(combobox_->selected_index(), 0); in TEST_F() 282 EXPECT_EQ(combobox_->selected_index(), model_->GetItemCount() - 1); in TEST_F() 311 EXPECT_EQ(0, 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 | 636 int selected_index = tab.current_navigation_index; in RestoreForeignTab() local 637 selected_index = std::max( in RestoreForeignTab() 639 std::min(selected_index, in RestoreForeignTab() 648 RecordAppLaunchForTab(browser, tab, selected_index); in RestoreForeignTab() 655 selected_index, in RestoreForeignTab() 667 selected_index, in RestoreForeignTab() 946 int selected_index) { in RecordAppLaunchForTab() argument 947 DCHECK(selected_index >= 0 && in RecordAppLaunchForTab() 948 selected_index < static_cast<int>(tab.navigations.size())); in RecordAppLaunchForTab() 949 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 | 12 size_t selected_index, in OmniboxLog() argument 24 selected_index(selected_index), in OmniboxLog()
|
D | omnibox_log.h | 27 size_t selected_index, 53 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_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()
|
D | external_popup_menu.h | 36 void DidSelectItem(int selected_index);
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | startup_pages_handler.cc | 141 int selected_index; in RemoveStartupPages() local 142 CHECK(args->GetInteger(i, &selected_index)); in RemoveStartupPages() 144 if (selected_index < 0 || in RemoveStartupPages() 145 selected_index >= startup_custom_pages_table_model_->RowCount()) { in RemoveStartupPages() 149 startup_custom_pages_table_model_->Remove(selected_index); in RemoveStartupPages()
|
/external/chromium_org/chrome/browser/chromeos/options/ |
D | wifi_config_view.cc | 240 switch (eap_method_combobox_->selected_index()) { in GetItemCount() 421 eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_NONE) in CanLogin() 442 int index = user_cert_combobox_->selected_index(); in IsUserCertValid() 462 int index = eap_method_combobox_->selected_index(); in PassphraseActive() 465 return security_combobox_->selected_index() != SECURITY_INDEX_NONE; in PassphraseActive() 473 return eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_TLS; in UserCertActive() 481 int index = eap_method_combobox_->selected_index(); in CaCertActive() 531 eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_TLS; in RefreshEapFields() 553 security_combobox_->selected_index() == SECURITY_INDEX_NONE) { in RefreshShareCheckbox() 557 (eap_method_combobox_->selected_index() == EAP_METHOD_INDEX_TLS || in RefreshShareCheckbox() [all …]
|
/external/chromium_org/chrome/browser/android/omnibox/ |
D | autocomplete_controller_android.h | 58 jint selected_index, 64 void DeleteSuggestion(JNIEnv* env, jobject obj, int selected_index); 68 jint selected_index,
|
D | autocomplete_controller_android.cc | 209 jint selected_index, in OnSuggestionSelected() argument 228 selected_index, in OnSuggestionSelected() 246 int selected_index) { in DeleteSuggestion() argument 248 const AutocompleteMatch& match = result.match_at(selected_index); in DeleteSuggestion() 257 jint selected_index, in UpdateMatchDestinationURL() argument 265 autocomplete_controller_->result().match_at(selected_index)); in UpdateMatchDestinationURL()
|
/external/chromium_org/ui/views/examples/ |
D | text_example.cc | 208 switch (combobox->selected_index()) { in OnPerformAction() 222 switch (combobox->selected_index()) { in OnPerformAction() 237 switch (combobox->selected_index()) { in OnPerformAction() 250 switch (combobox->selected_index()) { in OnPerformAction()
|
D | combobox_example.cc | 50 combobox->selected_index())).c_str()); in OnPerformAction()
|
D | examples_window.cc | 190 DCHECK(combobox->selected_index() < combobox_model_.GetItemCount()); in OnPerformAction() 193 combobox->selected_index())); in OnPerformAction()
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
D | sessions_api.h | 39 int selected_index); 57 int selected_index);
|
D | sessions_api.cc | 79 int selected_index, in CreateTabModelHelper() argument 98 tab_struct->selected = index == selected_index; in CreateTabModelHelper() 146 const TabRestoreService::Tab& tab, int session_id, int selected_index) { in CreateTabModel() argument 152 selected_index, in CreateTabModel() 241 int selected_index) { in CreateTabModel() argument 249 selected_index, in CreateTabModel()
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | recently_used_folders_combo_model.cc | 226 int selected_index) { in MaybeChangeParent() argument 227 if (items_[selected_index].type != Item::TYPE_NODE) in MaybeChangeParent() 230 const BookmarkNode* new_parent = GetNodeAt(selected_index); in MaybeChangeParent()
|
/external/chromium_org/ui/app_list/views/ |
D | search_result_list_view.cc | 79 void SearchResultListView::SetSelectedIndex(int selected_index) { in SetSelectedIndex() argument 80 if (selected_index_ == selected_index) in SetSelectedIndex() 89 selected_index_ = selected_index; in SetSelectedIndex()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | signed_certificate_timestamps_views.cc | 119 DCHECK_LT(combobox->selected_index(), sct_list_model_->GetItemCount()); in OnPerformAction() 120 ShowSCTInfo(combobox->selected_index()); in OnPerformAction()
|
/external/chromium_org/chrome/browser/ui/views/translate/ |
D | translate_bubble_view.cc | 362 int index = denial_combobox_->selected_index(); in HandleComboboxPerformAction() 381 source_language_combobox_->selected_index()) { in HandleComboboxPerformAction() 385 source_language_combobox_->selected_index()); in HandleComboboxPerformAction() 391 target_language_combobox_->selected_index()) { in HandleComboboxPerformAction() 395 target_language_combobox_->selected_index()); in HandleComboboxPerformAction()
|
/external/chromium_org/chrome/browser/search_engines/ |
D | template_url_service_android.cc | 55 jint selected_index) { in SetUserSelectedDefaultSearchProvider() argument 58 size_t selected_index_size_t = static_cast<size_t>(selected_index); in SetUserSelectedDefaultSearchProvider()
|
D | template_url_service_android.h | 26 jint selected_index);
|