Searched refs:selection_model (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_menu_model.cc23 tab_strip->selection_model().selected_indices().size() > 1);
42 *tab_strip, tab_strip->selection_model().selected_indices());
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)) {
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());
/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/ui/views/examples/
H A Dtable_example.cc146 base::UTF16ToASCII(GetText(table_->selection_model().active(),
152 base::UTF16ToASCII(GetText(table_->selection_model().active(),
/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 Dbrowser_tab_strip_controller.cc240 return model_->selection_model();
449 tabstrip_->SetSelection(old_model, model_->selection_model());
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/chrome/browser/ui/views/
H A Dedit_search_engine_dialog.cc109 const gfx::SelectionModel selection_model = sender->GetSelectionModel(); local
111 sender->SelectSelectionModel(selection_model);
H A Dtask_manager_view.cc518 SelectedIndices selection(tab_table_->selection_model().selected_indices());
570 tab_table_->selection_model().selected_indices());
641 const int active_row = tab_table_->selection_model().active();
/external/chromium_org/ui/gfx/
H A Drender_text_unittest.cc74 EXPECT_EQ(expected[i], render_text->selection_model());
78 EXPECT_EQ(expected.back(), render_text->selection_model());
81 EXPECT_EQ(expected.back(), render_text->selection_model());
264 render_text->selection_model());
266 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model());
270 render_text->selection_model());
275 render_text->selection_model());
279 render_text->selection_model());
281 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model());
568 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model());
[all...]
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/ui/app_list/views/
H A Dsearch_box_view.cc257 search_box_->SelectSelectionModel(model_->search_box()->selection_model());
/external/chromium_org/ui/views/controls/table/
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);
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_unittest.cc209 const ui::ListSelectionModel& model(table_->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;
H A Dtextfield_model.cc653 const gfx::SelectionModel& model = render_text_->selection_model();
/external/chromium_org/chrome/browser/extensions/api/tabs/
H A Dtabs_event_router.cc331 tab_strip_model->selection_model().selected_indices();

Completed in 3456 milliseconds