/external/chromium_org/ui/views/controls/textfield/ |
D | textfield_views_model_unittest.cc | 89 EXPECT_EQ(5U, model.GetCursorPosition()); in TEST_F() 93 EXPECT_EQ(4U, model.GetCursorPosition()); in TEST_F() 134 EXPECT_EQ(3U, model.GetCursorPosition()); in TEST_F() 139 EXPECT_EQ(2U, model.GetCursorPosition()); in TEST_F() 167 EXPECT_EQ(0U, model.GetCursorPosition()); in TEST_F() 170 EXPECT_EQ(2U, model.GetCursorPosition()); in TEST_F() 186 EXPECT_EQ(4U, model.GetCursorPosition()); in TEST_F() 199 EXPECT_EQ(model.GetText().length(), model.GetCursorPosition()); in TEST_F() 208 EXPECT_EQ(0U, model.GetCursorPosition()); in TEST_F() 214 EXPECT_EQ(0U, model.GetCursorPosition()); in TEST_F() [all …]
|
D | textfield_views_model.cc | 322 size_t old_cursor = GetCursorPosition(); in SetText() 343 size_t save = GetCursorPosition(); in Append() 362 if (GetText().length() > GetCursorPosition()) { in Delete() 363 size_t cursor_position = GetCursorPosition(); in Delete() 383 size_t cursor_position = GetCursorPosition(); in Backspace() 394 size_t TextfieldViewsModel::GetCursorPosition() const { in GetCursorPosition() function in views::TextfieldViewsModel 483 size_t old_cursor = GetCursorPosition(); in Undo() 491 return old != GetText() || old_cursor != GetCursorPosition(); in Undo() 506 size_t old_cursor = GetCursorPosition(); in Redo() 508 return old != GetText() || old_cursor != GetCursorPosition(); in Redo() [all …]
|
D | native_textfield_views_unittest.cc | 380 EXPECT_EQ(0U, textfield_->GetCursorPosition()); in TEST_F() 384 EXPECT_EQ(7U, textfield_->GetCursorPosition()); in TEST_F() 391 EXPECT_EQ(7U, textfield_->GetCursorPosition()); in TEST_F() 401 EXPECT_EQ(0U, textfield_->GetCursorPosition()); in TEST_F() 406 EXPECT_EQ(6U, textfield_->GetCursorPosition()); in TEST_F() 417 EXPECT_EQ(6U, textfield_->GetCursorPosition()); in TEST_F() 435 EXPECT_EQ(0U, textfield_->GetCursorPosition()); in TEST_F() 440 EXPECT_EQ(1U, textfield_->GetCursorPosition()); in TEST_F() 449 EXPECT_EQ(1U, textfield_->GetCursorPosition()); in TEST_F() 1128 EXPECT_EQ(0U, textfield_->GetCursorPosition()); in TEST_F() [all …]
|
D | native_textfield_wrapper.h | 122 virtual size_t GetCursorPosition() const = 0;
|
D | textfield_views_model.h | 119 size_t GetCursorPosition() const;
|
D | textfield.cc | 377 size_t Textfield::GetCursorPosition() const { in GetCursorPosition() function in views::Textfield 378 return native_wrapper_->GetCursorPosition(); in GetCursorPosition()
|
D | textfield.h | 219 size_t GetCursorPosition() const;
|
D | native_textfield_views.cc | 652 size_t NativeTextfieldViews::GetCursorPosition() const { in GetCursorPosition() function in views::NativeTextfieldViews 653 return model_->GetCursorPosition(); in GetCursorPosition() 953 const size_t change_offset = model_->GetCursorPosition(); in InsertChar()
|
D | native_textfield_views.h | 131 virtual size_t GetCursorPosition() const OVERRIDE;
|
/external/chromium_org/ui/views/touchui/ |
D | touch_selection_controller_impl_unittest.cc | 89 gfx::Point GetCursorPosition(const gfx::SelectionModel& sel) { in GetCursorPosition() function in views::TouchSelectionControllerImplTest 168 gfx::Point selection_start = GetCursorPosition(sel_start); \ 169 gfx::Point selection_end = GetCursorPosition(sel); \ 185 gfx::Point cursor_pos = GetCursorPosition(sel); \
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit_view_views.cc | 582 if (textfield_->GetCursorPosition()) in HandleKeyEvent() 591 textfield_->GetCursorPosition() == textfield_->text().length()); in HandleKeyEvent()
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_view_views.cc | 710 HasSelection() || GetCursorPosition() != 0) in HandleKeyEvent() 718 (!HasSelection() && GetCursorPosition() == text().length()); in HandleKeyEvent() 723 if (GetCursorPosition() == text().length()) { in HandleKeyEvent()
|