Searched refs:selection_model_ (Results 1 – 11 of 11) sorted by relevance
326 selection_model_.IncrementFrom(index); in InsertWebContentsAt()332 new_model.Copy(selection_model_); in InsertWebContentsAt()409 selection_model_.Clear(); in DetachWebContentsAt()415 selection_model_.DecrementFrom(index); in DetachWebContentsAt()417 old_model.Copy(selection_model_); in DetachWebContentsAt()420 if (!selection_model_.empty()) { in DetachWebContentsAt()423 selection_model_.set_active(selection_model_.selected_indices()[0]); in DetachWebContentsAt()424 selection_model_.set_anchor(selection_model_.active()); in DetachWebContentsAt()428 selection_model_.SetSelectedIndex(next_selected_index); in DetachWebContentsAt()448 new_model.Copy(selection_model_); in ActivateTabAt()[all …]
144 int active_index() const { return selection_model_.active(); } in active_index()373 return selection_model_; in selection_model()575 ui::ListSelectionModel selection_model_; variable
156 selection_model_.Clear(); in SetModel()185 return static_cast<int>(selection_model_.size()); in SelectedRowCount()196 return SelectedRowCount() == 0 ? -1 : selection_model_.selected_indices()[0]; in FirstSelectedRow()337 selection_model.SetSelectedIndex(selection_model_.active()); in OnKeyPressed()418 selection_model_.Clear(); in OnModelChanged()428 selection_model_.IncrementFrom(start); in OnItemsAdded()442 selection_model_.DecrementFrom(start); in OnItemsRemoved()446 if (selection_model_.empty() && previously_selected_view_index != -1 && in OnItemsRemoved()448 selection_model_.SetSelectedIndex( in OnItemsRemoved()494 const bool is_selected = selection_model_.IsSelected(model_index); in OnPaint()[all …]
126 return selection_model_; in selection_model()317 ui::ListSelectionModel selection_model_; variable
64 return selection_model_; in selection_model()78 gfx::SelectionModel selection_model_; variable
54 if (selection_model_ == sel) in SetSelectionModel()57 selection_model_ = sel; in SetSelectionModel()
274 const SelectionModel& selection_model() const { return selection_model_; } in selection_model()276 const Range& selection() const { return selection_model_.selection(); } in selection()278 size_t cursor_position() const { return selection_model_.caret_pos(); } in cursor_position()631 SelectionModel selection_model_; variable
525 SelectionModel cursor(cursor_position(), selection_model_.caret_affinity()); in MoveCursor()558 bool changed = sel != selection_model_; in MoveCursorTo()585 selection_model_.caret_affinity())); in ClearSelection()748 DrawCursor(canvas, selection_model_); in Draw()844 return selection_model_; in GetSelectionModelForSelectionStart()887 cursor_bounds_ = GetCursorBounds(selection_model_, insert_mode_); in SetDisplayOffset()940 selection_model_ = model; in SetSelectionModel()1387 cursor_bounds_ = GetCursorBounds(selection_model_, insert_mode_); in UpdateCachedBoundsAndOffset()
34 return selection_model_; in GetSelectionModel()
63 ui::ListSelectionModel selection_model_; variable
30 return selection_model_; in GetSelectionModel()70 ui::ListSelectionModel selection_model_; member in FakeTabController