CURSOR_FORWARD 554 ui/gfx/render_text.cc (sel.is_reversed() || sel.is_empty()) ? CURSOR_FORWARD : CURSOR_BACKWARD; CURSOR_FORWARD 783 ui/gfx/render_text.cc insert_mode ? caret.caret_affinity() : CURSOR_FORWARD; CURSOR_FORWARD 792 ui/gfx/render_text.cc size_t grapheme_start = (caret_affinity == CURSOR_FORWARD) ? CURSOR_FORWARD 817 ui/gfx/render_text.cc if (direction == CURSOR_FORWARD) { CURSOR_FORWARD 839 ui/gfx/render_text.cc sel.is_reversed() ? CURSOR_BACKWARD : CURSOR_FORWARD); CURSOR_FORWARD 896 ui/gfx/render_text.cc return SelectionModel(text().length(), CURSOR_FORWARD); CURSOR_FORWARD 1114 ui/gfx/render_text.cc (cursor == 0) ? CURSOR_FORWARD : CURSOR_BACKWARD)); CURSOR_FORWARD 98 ui/gfx/render_text_pango.cc return SelectionModel(0, CURSOR_FORWARD); CURSOR_FORWARD 120 ui/gfx/render_text_pango.cc (trailing > 0) ? CURSOR_BACKWARD : CURSOR_FORWARD); CURSOR_FORWARD 164 ui/gfx/render_text_pango.cc caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD); CURSOR_FORWARD 170 ui/gfx/render_text_pango.cc return SelectionModel(caret, CURSOR_FORWARD); CURSOR_FORWARD 514 ui/gfx/render_text_pango.cc LayoutIndexToTextIndex(item->offset), CURSOR_FORWARD); CURSOR_FORWARD 522 ui/gfx/render_text_pango.cc return SelectionModel(caret, CURSOR_FORWARD); CURSOR_FORWARD 252 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(Range(select ? 0 : len, len), CURSOR_FORWARD), CURSOR_FORWARD 263 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(Range(select ? 0 : j, j), CURSOR_FORWARD), CURSOR_FORWARD 267 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(Range(select ? 0 : len, len), CURSOR_FORWARD), CURSOR_FORWARD 559 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(4, CURSOR_FORWARD), render_text->selection_model()); CURSOR_FORWARD 568 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(4, CURSOR_FORWARD)); CURSOR_FORWARD 572 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(4, CURSOR_FORWARD)); CURSOR_FORWARD 574 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 575 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 587 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(4, CURSOR_FORWARD), render_text->selection_model()); CURSOR_FORWARD 596 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(4, CURSOR_FORWARD)); CURSOR_FORWARD 600 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(4, CURSOR_FORWARD)); CURSOR_FORWARD 602 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 603 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 671 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 675 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 676 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(2, CURSOR_FORWARD)); CURSOR_FORWARD 677 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 678 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 693 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(5, CURSOR_FORWARD)); CURSOR_FORWARD 694 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(4, CURSOR_FORWARD)); CURSOR_FORWARD 695 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 696 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(6, CURSOR_FORWARD)); CURSOR_FORWARD 700 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(6, CURSOR_FORWARD)); CURSOR_FORWARD 704 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(2, CURSOR_FORWARD)); CURSOR_FORWARD 705 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 706 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 718 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 720 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 724 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 725 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(2, CURSOR_FORWARD)); CURSOR_FORWARD 727 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 743 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 748 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 749 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(2, CURSOR_FORWARD)); CURSOR_FORWARD 750 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 751 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 766 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(5, CURSOR_FORWARD)); CURSOR_FORWARD 767 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(4, CURSOR_FORWARD)); CURSOR_FORWARD 768 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 769 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(6, CURSOR_FORWARD)); CURSOR_FORWARD 773 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(6, CURSOR_FORWARD)); CURSOR_FORWARD 777 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(2, CURSOR_FORWARD)); CURSOR_FORWARD 778 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 779 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 792 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(1, CURSOR_FORWARD)); CURSOR_FORWARD 794 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 798 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(3, CURSOR_FORWARD)); CURSOR_FORWARD 799 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(2, CURSOR_FORWARD)); CURSOR_FORWARD 801 ui/gfx/render_text_unittest.cc expected.push_back(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 915 ui/gfx/render_text_unittest.cc CURSOR_FORWARD); CURSOR_FORWARD 970 ui/gfx/render_text_unittest.cc EXPECT_EQ(end_edge, SelectionModel(cases[i].text.length(), CURSOR_FORWARD)); CURSOR_FORWARD 981 ui/gfx/render_text_unittest.cc const SelectionModel expected_reversed(Range(3, 0), CURSOR_FORWARD); CURSOR_FORWARD 1159 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(3, CURSOR_FORWARD), render_text->selection_model()); CURSOR_FORWARD 1166 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(3, CURSOR_FORWARD), render_text->selection_model()); CURSOR_FORWARD 1180 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(5, CURSOR_FORWARD)); CURSOR_FORWARD 1184 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(5, CURSOR_FORWARD)); CURSOR_FORWARD 1374 ui/gfx/render_text_unittest.cc SelectionModel sel_b(1, CURSOR_FORWARD); CURSOR_FORWARD 1375 ui/gfx/render_text_unittest.cc SelectionModel sel_c(2, CURSOR_FORWARD); CURSOR_FORWARD 1621 ui/gfx/render_text_unittest.cc CURSOR_FORWARD)); CURSOR_FORWARD 1646 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 1676 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 1702 ui/gfx/render_text_unittest.cc CURSOR_FORWARD)); CURSOR_FORWARD 1744 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(Range(0, 1), CURSOR_FORWARD)); CURSOR_FORWARD 1749 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(0, CURSOR_FORWARD)); CURSOR_FORWARD 553 ui/gfx/render_text_win.cc return SelectionModel(cursor, trailing ? CURSOR_BACKWARD : CURSOR_FORWARD); CURSOR_FORWARD 596 ui/gfx/render_text_win.cc caret = IndexOfAdjacentGrapheme(caret, CURSOR_FORWARD); CURSOR_FORWARD 602 ui/gfx/render_text_win.cc return SelectionModel(caret, CURSOR_FORWARD); CURSOR_FORWARD 662 ui/gfx/render_text_win.cc return SelectionModel(pos, CURSOR_FORWARD); CURSOR_FORWARD 667 ui/gfx/render_text_win.cc GetRunContainingCaret(SelectionModel(index, CURSOR_FORWARD)); CURSOR_FORWARD 1267 ui/gfx/render_text_win.cc position = IndexOfAdjacentGrapheme(position, CURSOR_FORWARD); CURSOR_FORWARD 1275 ui/gfx/render_text_win.cc return SelectionModel(position, CURSOR_FORWARD); CURSOR_FORWARD 361 ui/views/controls/textfield/textfield_model.cc cursor_position, gfx::CURSOR_FORWARD); CURSOR_FORWARD 681 ui/views/controls/textfield/textfield_model.cc render_text_->IndexOfAdjacentGrapheme(cursor, gfx::CURSOR_FORWARD); CURSOR_FORWARD 42 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursorTo(gfx::SelectionModel(pos, gfx::CURSOR_FORWARD)); CURSOR_FORWARD 791 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD)); CURSOR_FORWARD 799 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD)); CURSOR_FORWARD 802 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(0, gfx::CURSOR_FORWARD)); CURSOR_FORWARD 805 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(3, gfx::CURSOR_FORWARD)); CURSOR_FORWARD 809 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD)); CURSOR_FORWARD 958 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD); CURSOR_FORWARD 257 ui/views/controls/textfield/textfield_unittest.cc gfx::SelectionModel(cursor_pos, gfx::CURSOR_FORWARD), false).x(); CURSOR_FORWARD 1445 ui/views/controls/textfield/textfield_unittest.cc gfx::SelectionModel sel(0, gfx::CURSOR_FORWARD); CURSOR_FORWARD 1450 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(1, gfx::CURSOR_FORWARD); CURSOR_FORWARD 1464 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(3, gfx::CURSOR_FORWARD); CURSOR_FORWARD 1468 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(2, gfx::CURSOR_FORWARD); CURSOR_FORWARD 1470 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(4, gfx::CURSOR_FORWARD);