/external/chromium/chrome/browser/autocomplete/ |
autocomplete_edit_view_views.cc | 475 ui::Range new_sel; local 476 textfield_->GetSelectedRange(&new_sel); 483 !((sel_before_change_.is_empty() && new_sel.is_empty()) || 484 sel_before_change_.EqualsIgnoringDirection(new_sel)); 493 (new_sel.start() <= sel_before_change_.GetMin()); 496 new_text, new_sel.start(), new_sel.end(), selection_differs,
|
autocomplete_edit_view_win.cc | 866 CHARRANGE new_sel; local 867 GetSelection(new_sel); 869 if ((new_sel.cpMin > length) || (new_sel.cpMax > length)) { 870 if (new_sel.cpMin > length) 871 new_sel.cpMin = length; 872 if (new_sel.cpMax > length) 873 new_sel.cpMax = length; 874 SetSelectionRange(new_sel); 877 ((new_sel.cpMin != new_sel.cpMax) | [all...] |
autocomplete_edit_view_gtk.cc | 702 const CharRange new_sel = GetSelection(); local 705 ((new_sel.cp_min != new_sel.cp_max) || 707 ((new_sel.cp_min != sel_before_change_.cp_min) || 708 (new_sel.cp_max != sel_before_change_.cp_max)); 710 (new_sel.cp_min == length && new_sel.cp_max == length); 730 (new_sel.cp_min <= std::min(sel_before_change_.cp_min, 736 new_text, new_sel.selection_min(), new_sel.selection_max() [all...] |
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_view_views.cc | 613 const gfx::Range new_sel = GetSelectedRange(); local 617 !((sel_before_change_.is_empty() && new_sel.is_empty()) || 618 sel_before_change_.EqualsIgnoringDirection(new_sel)); 627 (new_sel.start() <= sel_before_change_.GetMin()); 630 text_before_change_, new_text, new_sel.start(), new_sel.end(), [all...] |
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
omnibox_view_gtk.cc | 640 const CharRange new_sel = GetSelection(); local 643 ((new_sel.cp_min != new_sel.cp_max) || 645 ((new_sel.cp_min != sel_before_change_.cp_min) || 646 (new_sel.cp_max != sel_before_change_.cp_max)); 648 (new_sel.cp_min == length && new_sel.cp_max == length); 665 (new_sel.cp_min <= std::min(sel_before_change_.cp_min, 671 text_before_change_, new_text, new_sel.selection_min(), 672 new_sel.selection_max(), selection_differs, text_changed_ [all...] |