Home
last modified time | relevance | path

Searched refs:TabStripSelectionModel (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/tabs/
Dtab_strip_selection_model.cc13 const int TabStripSelectionModel::kUnselectedIndex = -1;
22 *value = TabStripSelectionModel::kUnselectedIndex; in DecrementFromImpl()
30 TabStripSelectionModel::TabStripSelectionModel() in TabStripSelectionModel() function in TabStripSelectionModel
35 TabStripSelectionModel::~TabStripSelectionModel() { in ~TabStripSelectionModel()
38 void TabStripSelectionModel::IncrementFrom(int index) { in IncrementFrom()
48 void TabStripSelectionModel::DecrementFrom(int index) { in DecrementFrom()
60 void TabStripSelectionModel::SetSelectedIndex(int index) { in SetSelectedIndex()
65 bool TabStripSelectionModel::IsSelected(int index) const { in IsSelected()
70 void TabStripSelectionModel::AddIndexToSelection(int index) { in AddIndexToSelection()
77 void TabStripSelectionModel::RemoveIndexFromSelection(int index) { in RemoveIndexFromSelection()
[all …]
Dtab_strip_selection_model_unittest.cc16 static std::string StateAsString(const TabStripSelectionModel& model) { in StateAsString()
20 const TabStripSelectionModel::SelectedIndices& selection( in StateAsString()
31 TabStripSelectionModel model; in TEST_F()
37 TabStripSelectionModel model; in TEST_F()
44 TabStripSelectionModel model; in TEST_F()
56 TabStripSelectionModel model; in TEST_F()
74 TabStripSelectionModel model; in TEST_F()
81 TabStripSelectionModel model; in TEST_F()
90 TabStripSelectionModel model; in TEST_F()
103 TabStripSelectionModel model; in TEST_F()
[all …]
Dtab_strip_selection_model.h21 class TabStripSelectionModel {
28 TabStripSelectionModel();
29 ~TabStripSelectionModel();
96 void Copy(const TabStripSelectionModel& source);
105 DISALLOW_COPY_AND_ASSIGN(TabStripSelectionModel);
Dtab_strip_model.h383 void SetSelectionFromModel(const TabStripSelectionModel& source);
385 const TabStripSelectionModel& selection_model() const { in selection_model()
632 TabStripSelectionModel selection_model_;
Dtab_strip_model.cc247 (active_index() == TabStripSelectionModel::kUnselectedIndex) ? in ActivateTabAt()
588 if (selection_model_.active() == TabStripSelectionModel::kUnselectedIndex) in ToggleSelectionAt()
610 const TabStripSelectionModel& source) { in SetSelectionFromModel()
611 DCHECK_NE(TabStripSelectionModel::kUnselectedIndex, source.active()); in SetSelectionFromModel()
924 TabStripSelectionModel selection_model; in ExecuteContextMenuCommand()
1228 old_selected_index == TabStripSelectionModel::kUnselectedIndex ? in NotifySelectionChanged()
1231 active_index() == TabStripSelectionModel::kUnselectedIndex ? in NotifySelectionChanged()
Dtab_strip_model_unittest.cc237 TabStripSelectionModel selection_model; in PrepareTabstripForSelectionTest()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc1178 TabStripSelectionModel selection_model; in ResetSelection()