DescriptionReplace find bar RequestFocus override with OnFocus.
Make View::RequestFocus non-virtual; replace override.
Also add mouse-press/release inhibiting of select-all.
(this prevents a flash of all text selected on click)
BUG=232290
TEST=No find bar focus-related behavior/appearance regressions; switching back to a tab that had the find bar focused (from a tab that didn't have the find bar focused) restores find bar focus and selects the entire text content; clicking the find bar doesn't flash all the text selected before placing the cursor or starting a drag.
R=ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195028
Patch Set 1 #Patch Set 2 : Minor cleanup. #
Total comments: 2
Patch Set 3 : Add a comment about select_all_on_focus_. #
Messages
Total messages: 9 (0 generated)
|