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

12

/external/chromium_org/ui/app_list/
H A Dsearch_box_model.h13 #include "ui/gfx/selection_model.h"
39 const gfx::SelectionModel& selection_model() const { function in class:app_list::SearchBoxModel
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_menu_model.cc23 tab_strip->selection_model().selected_indices().size() > 1);
H A Dtab_strip_model.cc612 new_model.Copy(selection_model());
915 ui::ListSelectionModel selection_model; local
916 selection_model.SetSelectedIndex(context_index);
918 selection_model.AddIndexToSelection(indices[i]);
919 SetSelectionFromModel(selection_model);
1195 if (!selection_model().Equals(old_model)) {
H A Dtab_strip_model.h374 const ui::ListSelectionModel& selection_model() const { function in class:TabStripModel
H A Dtab_strip_model_unittest.cc193 ui::ListSelectionModel selection_model; local
199 selection_model.AddIndexToSelection(value);
201 selection_model.set_active(selection_model.selected_indices()[0]);
202 model->SetSelectionFromModel(selection_model);
2270 EXPECT_EQ(3U, strip.selection_model().size());
2284 EXPECT_EQ(4U, strip.selection_model().size());
/external/chromium_org/ui/views/examples/
H A Dtable_example.cc146 UTF16ToASCII(GetText(table_->selection_model().active(),
152 UTF16ToASCII(GetText(table_->selection_model().active(),
/external/chromium_org/ui/gfx/
H A Drender_text_unittest.cc72 EXPECT_EQ(expected[i], render_text->selection_model());
76 EXPECT_EQ(expected.back(), render_text->selection_model());
79 EXPECT_EQ(expected.back(), render_text->selection_model());
243 render_text->selection_model());
245 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model());
249 render_text->selection_model());
254 render_text->selection_model());
258 render_text->selection_model());
260 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model());
457 EXPECT_EQ(SelectionModel(0, CURSOR_BACKWARD), render_text->selection_model());
[all...]
H A Drender_text.h26 #include "ui/gfx/selection_model.h"
208 const SelectionModel& selection_model() const { return selection_model_; } function in class:gfx::RenderText
225 // If any index in |selection_model| is not a cursorable position (not on a
227 bool MoveCursorTo(const SelectionModel& selection_model);
/external/chromium/chrome/browser/ui/tabs/
H A Dtab_menu_model.cc65 tab_strip->selection_model().selected_indices().size() > 1);
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_view_views.cc43 #include "ui/gfx/selection_model.h"
66 const gfx::SelectionModel& selection_model);
70 const gfx::SelectionModel selection_model; member in struct:__anon6388::OmniboxState
77 const gfx::SelectionModel& selection_model)
79 selection_model(selection_model) {
312 SelectSelectionModel(state->selection_model);
379 SelectSelectionModel(state->selection_model);
76 OmniboxState(const OmniboxEditModel::State& model_state, const gfx::SelectionModel& selection_model) argument
/external/chromium_org/chrome/browser/ui/
H A Dactive_tab_tracker.cc65 if (index == tab_strip_model->selection_model().active())
/external/chromium_org/ui/app_list/views/
H A Dsearch_box_view.cc180 search_box_->SelectSelectionModel(model_->selection_model());
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc1275 ui::ListSelectionModel selection_model; local
1276 selection_model.Copy(initial_selection_model_);
1279 selection_model.DecrementFrom(i->source_model_index);
1283 if (!selection_model.empty())
1284 attached_model->SetSelectionFromModel(selection_model);
1736 ui::ListSelectionModel selection_model; local
1743 selection_model.AddIndexToSelection(index);
1747 selection_model.set_active(index);
1748 selection_model.set_anchor(index);
1756 model->SetSelectionFromModel(selection_model);
[all...]
H A Dbrowser_tab_strip_controller.cc224 return model_->selection_model();
406 tabstrip_->SetSelection(old_model, model_->selection_model());
/external/chromium_org/chrome/browser/ui/views/
H A Dtask_manager_view.cc543 SelectedIndices selection(tab_table_->selection_model().selected_indices());
622 tab_table_->selection_model().selected_indices());
691 const int active_row = tab_table_->selection_model().active();
/external/chromium/chrome/browser/tabs/
H A Dtab_strip_model.cc924 TabStripSelectionModel selection_model; local
925 selection_model.SetSelectedIndex(context_index);
927 selection_model.AddIndexToSelection(indices[i]);
928 SetSelectionFromModel(selection_model);
H A Dtab_strip_model.h385 const TabStripSelectionModel& selection_model() const { function in class:TabStripModel
H A Dtab_strip_model_unittest.cc237 TabStripSelectionModel selection_model; local
243 selection_model.AddIndexToSelection(value);
245 selection_model.set_active(selection_model.selected_indices()[0]);
246 model->SetSelectionFromModel(selection_model);
/external/chromium_org/ui/views/controls/table/
H A Dtable_view.cc335 ui::ListSelectionModel selection_model; local
336 selection_model.SetSelectedIndex(selection_model_.active());
338 selection_model.AddIndexToSelection(i);
339 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.cc201 const ui::ListSelectionModel& model(table_->selection_model());
/external/chromium/chrome/browser/ui/views/tabs/
H A Ddragged_tab_controller.cc1178 TabStripSelectionModel selection_model; local
1185 selection_model.AddIndexToSelection(index);
1189 selection_model.set_active(index);
1190 selection_model.set_anchor(index);
1198 model->SetSelectionFromModel(selection_model);
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Dtab_strip_gtk.cc1084 model_->selection_model().selected_indices().begin(),
1085 model_->selection_model().selected_indices().end(),
1100 model_->selection_model().selected_indices().begin(),
1101 model_->selection_model().selected_indices().end(),
1285 for (size_t i = 0; i < model()->selection_model().size(); i++) {
1288 model()->selection_model().selected_indices()[i]);
/external/chromium_org/ui/views/controls/textfield/
H A Dtextfield_views_model.cc676 const gfx::SelectionModel& model = render_text_->selection_model();
/external/chromium_org/ui/
H A Dui.target.darwin-arm.mk133 ui/gfx/selection_model.cc \

Completed in 691 milliseconds

12