Searched defs:selection_model (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/ui/app_list/
H A Dsearch_box_model.h13 #include "ui/gfx/selection_model.h"
63 const gfx::SelectionModel& selection_model() const { function in class:app_list::SearchBoxModel
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model.h372 const ui::ListSelectionModel& selection_model() const { function in class:TabStripModel
H A Dtab_strip_model_unittest.cc253 ui::ListSelectionModel selection_model; local
259 selection_model.AddIndexToSelection(value);
261 selection_model.set_active(selection_model.selected_indices()[0]);
262 model->SetSelectionFromModel(selection_model);
2442 EXPECT_EQ(3U, strip.selection_model().size());
2456 EXPECT_EQ(4U, strip.selection_model().size());
H A Dtab_strip_model.cc747 new_model.Copy(selection_model());
1068 ui::ListSelectionModel selection_model; local
1069 selection_model.SetSelectedIndex(context_index);
1071 selection_model.AddIndexToSelection(indices[i]);
1072 SetSelectionFromModel(selection_model);
1337 if (!selection_model().Equals(old_model)) {
/external/chromium_org/chrome/browser/ui/views/
H A Dedit_search_engine_dialog.cc109 const gfx::SelectionModel selection_model = sender->GetSelectionModel(); local
111 sender->SelectSelectionModel(selection_model);
/external/chromium_org/ui/views/controls/table/
H A Dtable_view.h116 // TODO(sky): remove this and force callers to use selection_model().
125 const ui::ListSelectionModel& selection_model() const { function in class:views::TableView
H A Dtable_view.cc336 ui::ListSelectionModel selection_model; local
337 selection_model.SetSelectedIndex(selection_model_.active());
339 selection_model.AddIndexToSelection(i);
340 SetSelectionModel(selection_model);
/external/chromium_org/ui/gfx/
H A Drender_text.h27 #include "ui/gfx/selection_model.h"
274 const SelectionModel& selection_model() const { return selection_model_; } function in class:gfx::RenderText
291 // If any index in |selection_model| is not a cursorable position (not on a
293 bool MoveCursorTo(const SelectionModel& selection_model);
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc1406 ui::ListSelectionModel selection_model; local
1413 selection_model.AddIndexToSelection(index);
1417 selection_model.set_active(index);
1418 selection_model.set_anchor(index);
1426 model->SetSelectionFromModel(selection_model);
1434 ui::ListSelectionModel selection_model; local
1435 selection_model.Copy(initial_selection_model_);
1438 selection_model.DecrementFrom(i->source_model_index);
1442 if (selection_model.empty())
1447 if (selection_model
[all...]
H A Dtab_strip.cc1080 ui::ListSelectionModel selection_model; local
1082 selection_model.Copy(original_selection);
1108 this, tab, tabs, gfx::Point(x, y), event.x(), selection_model,
/external/chromium_org/ui/views/controls/textfield/
H A Dtextfield.cc497 return GetRenderText()->selection_model();
1106 const gfx::SelectionModel& sel = render_text->selection_model();
1210 gfx::SelectionModel selection_model = GetSelectionModel(); local
1298 cursor_changed |= GetSelectionModel() != selection_model;

Completed in 781 milliseconds