Home
last modified time | relevance | path

Searched refs:selection_model (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/ui/gfx/
Drender_text_unittest.cc77 EXPECT_EQ(expected[i], render_text->selection_model()); in RunMoveCursorLeftRightTest()
81 EXPECT_EQ(expected.back(), render_text->selection_model()); in RunMoveCursorLeftRightTest()
84 EXPECT_EQ(expected.back(), render_text->selection_model()); in RunMoveCursorLeftRightTest()
249 render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
251 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
255 render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
260 render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
264 render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
266 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TestVisualCursorMotionInObscuredField()
463 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model()); in TEST_F()
[all …]
Dgfx.gyp236 'selection_model.cc',
237 'selection_model.h',
354 'selection_model.cc',
Drender_text.h243 const SelectionModel& selection_model() const { return selection_model_; } in selection_model() function
262 bool MoveCursorTo(const SelectionModel& selection_model);
/external/chromium_org/ui/views/examples/
Dtable_example.cc146 UTF16ToASCII(GetText(table_->selection_model().active(), in OnSelectionChanged()
152 UTF16ToASCII(GetText(table_->selection_model().active(), in OnDoubleClick()
/external/chromium_org/ui/app_list/
Dsearch_box_model.h52 const gfx::SelectionModel& selection_model() const { in selection_model() function
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_menu_model.cc23 tab_strip->selection_model().selected_indices().size() > 1); in Build()
Dtab_strip_model.cc747 new_model.Copy(selection_model()); in ToggleSelectionAt()
1046 ui::ListSelectionModel selection_model; in ExecuteContextMenuCommand() local
1047 selection_model.SetSelectedIndex(context_index); in ExecuteContextMenuCommand()
1049 selection_model.AddIndexToSelection(indices[i]); in ExecuteContextMenuCommand()
1050 SetSelectionFromModel(selection_model); in ExecuteContextMenuCommand()
1305 if (!selection_model().Equals(old_model)) { in NotifyIfActiveOrSelectionChanged()
Dtab_strip_model.h372 const ui::ListSelectionModel& selection_model() const { in selection_model() function
Dtab_strip_model_unittest.cc249 ui::ListSelectionModel selection_model; in PrepareTabstripForSelectionTest() local
255 selection_model.AddIndexToSelection(value); in PrepareTabstripForSelectionTest()
257 selection_model.set_active(selection_model.selected_indices()[0]); in PrepareTabstripForSelectionTest()
258 model->SetSelectionFromModel(selection_model); in PrepareTabstripForSelectionTest()
2394 EXPECT_EQ(3U, strip.selection_model().size()); in TEST_F()
2408 EXPECT_EQ(4U, strip.selection_model().size()); in TEST_F()
/external/chromium/chrome/browser/ui/tabs/
Dtab_menu_model.cc65 tab_strip->selection_model().selected_indices().size() > 1); in Build()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_drag_controller.cc1435 ui::ListSelectionModel selection_model; in Detach() local
1436 selection_model.Copy(initial_selection_model_); in Detach()
1439 selection_model.DecrementFrom(i->source_model_index); in Detach()
1443 if (!selection_model.empty()) in Detach()
1444 attached_model->SetSelectionFromModel(selection_model); in Detach()
1860 ui::ListSelectionModel selection_model; in ResetSelection() local
1867 selection_model.AddIndexToSelection(index); in ResetSelection()
1871 selection_model.set_active(index); in ResetSelection()
1872 selection_model.set_anchor(index); in ResetSelection()
1880 model->SetSelectionFromModel(selection_model); in ResetSelection()
Dbrowser_tab_strip_controller.cc254 return model_->selection_model(); in GetSelectionModel()
458 tabstrip_->SetSelection(old_model, model_->selection_model()); in TabSelectionChanged()
/external/chromium_org/chrome/browser/ui/views/
Dtask_manager_view.cc524 SelectedIndices selection(tab_table_->selection_model().selected_indices()); in ButtonPressed()
603 tab_table_->selection_model().selected_indices()); in OnSelectionChanged()
672 const int active_row = tab_table_->selection_model().active(); in ActivateFocusedTab()
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc335 ui::ListSelectionModel selection_model; in OnKeyPressed() local
336 selection_model.SetSelectedIndex(selection_model_.active()); in OnKeyPressed()
338 selection_model.AddIndexToSelection(i); in OnKeyPressed()
339 SetSelectionModel(selection_model); in OnKeyPressed()
Dtable_view.h125 const ui::ListSelectionModel& selection_model() const { in selection_model() function
/external/chromium_org/chrome/browser/ui/
Dactive_tab_tracker.cc65 if (index == tab_strip_model->selection_model().active()) in TabReplacedAt()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc1178 TabStripSelectionModel selection_model; in ResetSelection() local
1185 selection_model.AddIndexToSelection(index); in ResetSelection()
1189 selection_model.set_active(index); in ResetSelection()
1190 selection_model.set_anchor(index); in ResetSelection()
1198 model->SetSelectionFromModel(selection_model); in ResetSelection()
/external/chromium/chrome/browser/tabs/
Dtab_strip_model.cc924 TabStripSelectionModel selection_model; in ExecuteContextMenuCommand() local
925 selection_model.SetSelectedIndex(context_index); in ExecuteContextMenuCommand()
927 selection_model.AddIndexToSelection(indices[i]); in ExecuteContextMenuCommand()
928 SetSelectionFromModel(selection_model); in ExecuteContextMenuCommand()
Dtab_strip_model.h385 const TabStripSelectionModel& selection_model() const { in selection_model() function
Dtab_strip_model_unittest.cc237 TabStripSelectionModel selection_model; in PrepareTabstripForSelectionTest() local
243 selection_model.AddIndexToSelection(value); in PrepareTabstripForSelectionTest()
245 selection_model.set_active(selection_model.selected_indices()[0]); in PrepareTabstripForSelectionTest()
246 model->SetSelectionFromModel(selection_model); in PrepareTabstripForSelectionTest()
/external/chromium_org/ui/app_list/views/
Dsearch_box_view.cc235 search_box_->SelectSelectionModel(model_->search_box()->selection_model()); in SelectionModelChanged()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc1081 model_->selection_model().selected_indices().begin(), in TabSelectionChanged()
1082 model_->selection_model().selected_indices().end(), in TabSelectionChanged()
1095 model_->selection_model().selected_indices()); in TabSelectionChanged()
1278 for (size_t i = 0; i < model()->selection_model().size(); i++) { in MaybeStartDrag()
1281 model()->selection_model().selected_indices()[i]); in MaybeStartDrag()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_event_router.cc327 tab_strip_model->selection_model().selected_indices(); in TabSelectionChanged()
/external/chromium_org/ui/views/controls/textfield/
Dnative_textfield_views.cc393 const gfx::SelectionModel& sel = render_text->selection_model(); in GetSelectionEndPoints()
642 return GetRenderText()->selection_model(); in GetSelectionModel()
Dtextfield_views_model.cc676 const gfx::SelectionModel& model = render_text_->selection_model(); in ReplaceTextInternal()

12