Home
last modified time | relevance | path

Searched refs:new_selection (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/ui/base/models/
Dlist_selection_model.cc93 SelectedIndices new_selection(delta + 1, 0); in SetSelectionFromAnchorTo() local
95 new_selection[i] = i + min; in SetSelectionFromAnchorTo()
96 selected_indices_.swap(new_selection); in SetSelectionFromAnchorTo()
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc762 ui::ListSelectionModel new_selection; in SelectByViewIndex() local
764 SelectRowsInRangeFrom(view_index, true, &new_selection); in SelectByViewIndex()
765 new_selection.set_anchor(ViewToModel(view_index)); in SelectByViewIndex()
766 new_selection.set_active(ViewToModel(view_index)); in SelectByViewIndex()
769 SetSelectionModel(new_selection); in SelectByViewIndex()
772 void TableView::SetSelectionModel(const ui::ListSelectionModel& new_selection) { in SetSelectionModel() argument
773 if (new_selection.Equals(selection_model_)) in SetSelectionModel()
777 selection_model_.Copy(new_selection); in SetSelectionModel()
Dtable_view.h269 void SetSelectionModel(const ui::ListSelectionModel& new_selection);
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_event_router.cc330 ui::ListSelectionModel::SelectedIndices new_selection = in TabSelectionChanged() local
334 for (size_t i = 0; i < new_selection.size(); ++i) { in TabSelectionChanged()
335 int index = new_selection[i]; in TabSelectionChanged()
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_view_mac.mm611 const NSRange new_selection(GetSelectedRange());
616 (new_selection.length || selection_before_change_.length) &&
617 !NSEqualRanges(new_selection, selection_before_change_);
618 const bool at_end_of_edit = (length == new_selection.location);
634 new_selection.location <= selection_before_change_.location);
639 text_before_change_, new_text, new_selection.location,
640 NSMaxRange(new_selection), selection_differs, text_differs,
/external/chromium_org/ui/app_list/views/
Dapps_grid_view.cc1099 views::View* new_selection = GetViewAtIndex(index); in SetSelectedItemByIndex() local
1100 if (!new_selection) in SetSelectedItemByIndex()
1106 EnsureViewVisible(new_selection); in SetSelectedItemByIndex()
1107 selected_view_ = new_selection; in SetSelectedItemByIndex()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip.cc810 const ui::ListSelectionModel& new_selection) { in SetSelection() argument
812 touch_layout_->SetActiveIndex(new_selection.active()); in SetSelection()
835 new_selection.selected_indices()); in SetSelection()
838 new_selection.selected_indices(), in SetSelection()
852 tab_at(new_selection.active())->NotifyAccessibilityEvent( in SetSelection()
Dtab_strip.h141 const ui::ListSelectionModel& new_selection);