Home
last modified time | relevance | path

Searched refs:selection_model_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/tabs/
Dtab_strip_model.cc156 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 …]
Dtab_strip_model.h135 int active_index() const { return selection_model_.active(); } in active_index()
386 return selection_model_; in selection_model()
632 TabStripSelectionModel selection_model_; variable
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_strip_model.cc326 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 …]
Dtab_strip_model.h144 int active_index() const { return selection_model_.active(); } in active_index()
373 return selection_model_; in selection_model()
574 ui::ListSelectionModel selection_model_; variable
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc155 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 …]
Dtable_view.h126 return selection_model_; in selection_model()
317 ui::ListSelectionModel selection_model_; variable
/external/chromium_org/ui/app_list/
Dsearch_box_model.h53 return selection_model_; in selection_model()
67 gfx::SelectionModel selection_model_; variable
Dsearch_box_model.cc50 if (selection_model_ == sel) in SetSelectionModel()
53 selection_model_ = sel; in SetSelectionModel()
/external/chromium_org/ui/gfx/
Drender_text.h243 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
Drender_text.cc450 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()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dfake_base_tab_strip_controller.cc34 return selection_model_; in GetSelectionModel()
Dfake_base_tab_strip_controller.h62 ui::ListSelectionModel selection_model_; variable
Dtab_unittest.cc27 return selection_model_; in GetSelectionModel()
64 ui::ListSelectionModel selection_model_; member in FakeTabController