Searched refs:new_selection (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/ui/base/models/ |
D | list_selection_model.cc | 93 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/ |
D | table_view.cc | 762 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()
|
D | table_view.h | 269 void SetSelectionModel(const ui::ListSelectionModel& new_selection);
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_event_router.cc | 330 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/ |
D | omnibox_view_mac.mm | 611 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/ |
D | apps_grid_view.cc | 1099 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/ |
D | tab_strip.cc | 810 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()
|
D | tab_strip.h | 141 const ui::ListSelectionModel& new_selection);
|