Replace 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 Review URL: https://chromiumcodereview.appspot.com/13852009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195028 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment