Home
last modified time | relevance | path

Searched refs:selected_line (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_popup_controller_unittest.cc91 using AutofillPopupControllerImpl::selected_line;
192 EXPECT_LT(autofill_popup_controller_->selected_line(), 0); in TEST_F()
202 autofill_popup_controller_->selected_line()); in TEST_F()
206 EXPECT_EQ(0, autofill_popup_controller_->selected_line()); in TEST_F()
217 int selected_line = 0; in TEST_F() local
218 EXPECT_CALL(*autofill_popup_controller_, InvalidateRow(selected_line)); in TEST_F()
219 autofill_popup_controller_->SetSelectedLine(selected_line); in TEST_F()
223 InvalidateRow(selected_line)).Times(0); in TEST_F()
224 autofill_popup_controller_->SetSelectedLine(selected_line); in TEST_F()
227 EXPECT_CALL(*autofill_popup_controller_, InvalidateRow(selected_line)); in TEST_F()
[all …]
Dautofill_popup_controller_impl.cc434 int AutofillPopupControllerImpl::selected_line() const { in selected_line() function in autofill::AutofillPopupControllerImpl
443 void AutofillPopupControllerImpl::SetSelectedLine(int selected_line) { in SetSelectedLine() argument
444 if (selected_line_ == selected_line) in SetSelectedLine()
451 if (selected_line != kNoSelection) in SetSelectedLine()
452 InvalidateRow(selected_line); in SetSelectedLine()
454 selected_line_ = selected_line; in SetSelectedLine()
Dautofill_popup_controller_impl.h115 virtual int selected_line() const OVERRIDE;
119 void SetSelectedLine(int selected_line);
Dautofill_popup_controller.h111 virtual int selected_line() const = 0;
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_view_browsertest.cc622 while (popup_model->selected_line() < size - 1) { in IN_PROC_BROWSER_TEST_F()
724 size_t old_selected_line = popup_model->selected_line(); in IN_PROC_BROWSER_TEST_F()
729 while (popup_model->selected_line() < size - 1) { in IN_PROC_BROWSER_TEST_F()
731 ASSERT_NE(old_selected_line, popup_model->selected_line()); in IN_PROC_BROWSER_TEST_F()
741 EXPECT_EQ(old_selected_line, popup_model->selected_line()); in IN_PROC_BROWSER_TEST_F()
1003 (popup_model->selected_line() < popup_model->result().size() - 1)) in IN_PROC_BROWSER_TEST_F()
1111 size_t default_line = popup_model->selected_line(); in IN_PROC_BROWSER_TEST_F()
1113 ASSERT_EQ(default_line + 1, popup_model->selected_line()); in IN_PROC_BROWSER_TEST_F()
1125 ASSERT_EQ(default_line + 1, popup_model->selected_line()); in IN_PROC_BROWSER_TEST_F()
1136 ASSERT_EQ(default_line, popup_model->selected_line()); in IN_PROC_BROWSER_TEST_F()
[all …]
Domnibox_popup_model.cc171 const size_t selected_line = selected_line_; in TryDeletingCurrentItem() local
179 (was_temporary_text || selected_line != selected_line_)) { in TryDeletingCurrentItem()
186 SetSelectedLine(selected_line, false, true); in TryDeletingCurrentItem()
Domnibox_view.cc85 size_t selected_line) { in OpenMatch() argument
90 model_->OpenMatch(match, disposition, alternate_nav_url, selected_line); in OpenMatch()
Domnibox_popup_model.h52 size_t selected_line() const { return selected_line_; } in selected_line() function
Domnibox_view.h84 size_t selected_line);
Domnibox_edit_unittest.cc31 size_t selected_line) OVERRIDE {} in OpenMatch() argument
Domnibox_edit_model.cc717 popup_model()->selected_line(), in OpenMatch()
1321 CHECK(popup_model()->selected_line() < result().size()); in GetInfoForCurrentText()
1322 *match = result().match_at(popup_model()->selected_line()); in GetInfoForCurrentText()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_model.cc205 const size_t selected_line = selected_line_; in TryDeletingCurrentItem() local
213 (was_temporary_text || selected_line != selected_line_)) { in TryDeletingCurrentItem()
220 SetSelectedLine(selected_line, false, true); in TryDeletingCurrentItem()
Dautocomplete_edit_view_browsertest.cc626 size_t old_selected_line = popup_model->selected_line(); in EscapeToDefaultMatchTest()
631 while (popup_model->selected_line() < size - 1) { in EscapeToDefaultMatchTest()
633 ASSERT_NE(old_selected_line, popup_model->selected_line()); in EscapeToDefaultMatchTest()
643 EXPECT_EQ(old_selected_line, popup_model->selected_line()); in EscapeToDefaultMatchTest()
942 size_t default_line = popup_model->selected_line(); in DeleteItemTest()
948 ASSERT_EQ(default_line + 1, popup_model->selected_line()); in DeleteItemTest()
960 ASSERT_EQ(default_line + 1, popup_model->selected_line()); in DeleteItemTest()
971 ASSERT_EQ(default_line, popup_model->selected_line()); in DeleteItemTest()
977 ASSERT_EQ(default_line + 1, popup_model->selected_line()); in DeleteItemTest()
979 ASSERT_EQ(default_line, popup_model->selected_line()); in DeleteItemTest()
[all …]
Dautocomplete_popup_model.h53 size_t selected_line() const { in selected_line() function
Dautocomplete_edit_view.h63 size_t selected_line,
Dautocomplete_edit.cc274 if (view_->DeleteAtEndPressed() || (popup_->selected_line() != 0) || in UseVerbatimInstant()
492 popup_->selected_line(), 0, result()); in OpenURL()
921 CHECK(popup_->selected_line() < result.size()); in InfoForCurrentSelection()
922 *match = result.match_at(popup_->selected_line()); in InfoForCurrentSelection()
Dautocomplete_edit_unittest.cc27 size_t selected_line, in OpenURL() argument
Dautocomplete_edit_view_mac.h48 size_t selected_line,
Dautocomplete_edit_view_views.h84 size_t selected_line,
Dautocomplete_edit_view_views.cc330 size_t selected_line, in OpenURL() argument
336 selected_line, keyword); in OpenURL()
Dautocomplete_edit_view_gtk.h103 size_t selected_line,
Dautocomplete_edit_view_win.h98 size_t selected_line,
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_popup_view_gtk.cc547 model_->selected_line() == index && in GetVisibleMatchForInput()
653 bool is_selected = (model_->selected_line() == i); in HandleExpose()
/external/chromium_org/chrome/browser/ui/gtk/autofill/
Dautofill_popup_view_gtk.cc215 if (controller_->selected_line() == static_cast<int>(index)) { in DrawAutofillEntry()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dautofill_popup_view_views.cc251 if (controller_->selected_line() == index) in DrawAutofillEntry()

12