Searched refs:selection_model_ (Results 1 – 13 of 13) sorted by relevance
156 selection_model_.IncrementFrom(index); in InsertTabContentsAt()162 selection_model_.SetSelectedIndex(index); in InsertTabContentsAt()223 selection_model_.DecrementFrom(index); in DetachTabContentsAt()225 if (!selection_model_.empty()) { in DetachTabContentsAt()228 selection_model_.set_active(selection_model_.selected_indices()[0]); in DetachTabContentsAt()229 selection_model_.set_anchor(selection_model_.active()); in DetachTabContentsAt()234 selection_model_.SetSelectedIndex(next_selected_index); in DetachTabContentsAt()245 bool had_multi = selection_model_.selected_indices().size() > 1; in ActivateTabAt()249 selection_model_.SetSelectedIndex(index); in ActivateTabAt()284 static_cast<int>(selection_model_.selected_indices().size()); in MoveSelectedTabsTo()[all …]
135 int active_index() const { return selection_model_.active(); } in active_index()386 return selection_model_; in selection_model()632 TabStripSelectionModel selection_model_; variable
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()574 ui::ListSelectionModel selection_model_; variable
155 selection_model_.Clear(); in SetModel()184 return static_cast<int>(selection_model_.size()); in SelectedRowCount()195 return SelectedRowCount() == 0 ? -1 : selection_model_.selected_indices()[0]; in FirstSelectedRow()336 selection_model.SetSelectedIndex(selection_model_.active()); in OnKeyPressed()417 selection_model_.Clear(); in OnModelChanged()427 selection_model_.IncrementFrom(start); in OnItemsAdded()441 selection_model_.DecrementFrom(start); in OnItemsRemoved()445 if (selection_model_.empty() && previously_selected_view_index != -1 && in OnItemsRemoved()447 selection_model_.SetSelectedIndex( in OnItemsRemoved()493 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
53 return selection_model_; in selection_model()67 gfx::SelectionModel selection_model_; variable
50 if (selection_model_ == sel) in SetSelectionModel()53 selection_model_ = sel; in SetSelectionModel()
243 const SelectionModel& selection_model() const { return selection_model_; } in selection_model()245 const Range& selection() const { return selection_model_.selection(); } in selection()247 size_t cursor_position() const { return selection_model_.caret_pos(); } in cursor_position()584 SelectionModel selection_model_; variable
450 SelectionModel position(cursor_position(), selection_model_.caret_affinity()); in MoveCursor()482 bool changed = sel != selection_model_; in MoveCursorTo()515 selection_model_.caret_affinity())); in ClearSelection()701 DrawCursor(canvas, selection_model_); in Draw()806 return selection_model_; in GetSelectionModelForSelectionStart()870 selection_model_ = model; in SetSelectionModel()1131 cursor_bounds_ = GetCursorBounds(selection_model_, insert_mode_); in UpdateCachedBoundsAndOffset()
34 return selection_model_; in GetSelectionModel()
62 ui::ListSelectionModel selection_model_; variable
27 return selection_model_; in GetSelectionModel()64 ui::ListSelectionModel selection_model_; member in FakeTabController