Home
last modified time | relevance | path

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

/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()
575 ui::ListSelectionModel selection_model_; variable
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc156 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 …]
Dtable_view.h126 return selection_model_; in selection_model()
317 ui::ListSelectionModel selection_model_; variable
/external/chromium_org/ui/app_list/
Dsearch_box_model.h64 return selection_model_; in selection_model()
78 gfx::SelectionModel selection_model_; variable
Dsearch_box_model.cc54 if (selection_model_ == sel) in SetSelectionModel()
57 selection_model_ = sel; in SetSelectionModel()
/external/chromium_org/ui/gfx/
Drender_text.h274 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
Drender_text.cc525 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()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dfake_base_tab_strip_controller.cc34 return selection_model_; in GetSelectionModel()
Dfake_base_tab_strip_controller.h63 ui::ListSelectionModel selection_model_; variable
Dtab_unittest.cc30 return selection_model_; in GetSelectionModel()
70 ui::ListSelectionModel selection_model_; member in FakeTabController