Home | History | Annotate | Download | only in gfx

Lines Matching refs:SelectionModel

322   SetSelectionModel(SelectionModel());
409 SelectionModel position(cursor_position(), selection_model_.caret_affinity());
412 SelectionModel selection_start = GetSelectionModelForSelectionStart();
431 bool RenderText::MoveCursorTo(const SelectionModel& model) {
440 SelectionModel sel(range, model.caret_affinity());
447 SelectionModel position = FindCursorPosition(point);
460 SetSelectionModel(SelectionModel(sel, affinity));
467 SelectionModel cursor = FindCursorPosition(point);
473 SetSelectionModel(SelectionModel(cursor_position(),
658 void RenderText::DrawCursor(Canvas* canvas, const SelectionModel& position) {
687 Rect RenderText::GetCursorBounds(const SelectionModel& caret,
747 SelectionModel RenderText::GetSelectionModelForSelectionStart() {
751 return SelectionModel(sel.start(),
790 SelectionModel RenderText::GetAdjacentSelectionModel(
791 const SelectionModel& current,
804 SelectionModel RenderText::EdgeSelectionModel(
807 return SelectionModel(text().length(), CURSOR_FORWARD);
808 return SelectionModel(0, CURSOR_BACKWARD);
811 void RenderText::SetSelectionModel(const SelectionModel& model) {
944 SetSelectionModel(SelectionModel(