Searched refs:new_sel (Results 1 – 3 of 3) sorted by relevance
475 ui::Range new_sel; in OnAfterPossibleChange() local476 textfield_->GetSelectedRange(&new_sel); in OnAfterPossibleChange()483 !((sel_before_change_.is_empty() && new_sel.is_empty()) || in OnAfterPossibleChange()484 sel_before_change_.EqualsIgnoringDirection(new_sel)); in OnAfterPossibleChange()493 (new_sel.start() <= sel_before_change_.GetMin()); in OnAfterPossibleChange()496 new_text, new_sel.start(), new_sel.end(), selection_differs, in OnAfterPossibleChange()
866 CHARRANGE new_sel; in OnAfterPossibleChangeInternal() local867 GetSelection(new_sel); in OnAfterPossibleChangeInternal()869 if ((new_sel.cpMin > length) || (new_sel.cpMax > length)) { in OnAfterPossibleChangeInternal()870 if (new_sel.cpMin > length) in OnAfterPossibleChangeInternal()871 new_sel.cpMin = length; in OnAfterPossibleChangeInternal()872 if (new_sel.cpMax > length) in OnAfterPossibleChangeInternal()873 new_sel.cpMax = length; in OnAfterPossibleChangeInternal()874 SetSelectionRange(new_sel); in OnAfterPossibleChangeInternal()877 ((new_sel.cpMin != new_sel.cpMax) || in OnAfterPossibleChangeInternal()879 ((new_sel.cpMin != sel_before_change_.cpMin) || in OnAfterPossibleChangeInternal()[all …]
702 const CharRange new_sel = GetSelection(); in OnAfterPossibleChange() local705 ((new_sel.cp_min != new_sel.cp_max) || in OnAfterPossibleChange()707 ((new_sel.cp_min != sel_before_change_.cp_min) || in OnAfterPossibleChange()708 (new_sel.cp_max != sel_before_change_.cp_max)); in OnAfterPossibleChange()710 (new_sel.cp_min == length && new_sel.cp_max == length); in OnAfterPossibleChange()730 (new_sel.cp_min <= std::min(sel_before_change_.cp_min, in OnAfterPossibleChange()736 new_text, new_sel.selection_min(), new_sel.selection_max(), in OnAfterPossibleChange()