Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 2078953003: Remove find bar focus redirection on mouse events. (Closed)

Created:
4 years, 6 months ago by msw
Modified:
4 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove find bar focus redirection on mouse events. Pressing next/previous buttons shouldn't change focus. Focus was redirected to the textfield for Issue 524373. That defect is no longer reproducible on ToT @ #400257. Update and enable the interactive ui test. BUG=621050, 584043, 524373 TEST=CTRL+F, 'a', TAB to focus previous button, touch/click next button, focus remains on previous button. R=pkasting@chromium.org Committed: https://crrev.com/098645c6ee78757f03819207645ff151b8edf01d Cr-Commit-Position: refs/heads/master@{#401079}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove focus redirection altogether; update FindInPageTest. #

Total comments: 2

Patch Set 3 : Remove const. #

Patch Set 4 : Got windows test passing with workaround; exploring options on other platform. #

Patch Set 5 : Cleanup. #

Patch Set 6 : Use OnMousePressed and OnMouseReleased on all platforms. #

Patch Set 7 : Add tap testing; make test more rigorous. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -87 lines) Patch
M chrome/browser/ui/views/find_bar_host.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/find_bar_views_interactive_uitest.cc View 1 2 3 4 5 6 17 chunks +106 lines, -82 lines 0 comments Download

Messages

Total messages: 36 (17 generated)
msw
Hey Peter, please take a look; thanks!
4 years, 6 months ago (2016-06-17 20:23:45 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078953003/1
4 years, 6 months ago (2016-06-17 20:24:15 UTC) #3
Peter Kasting
LGTM. Bonus if there's a framework that lets us fake touch events so this can ...
4 years, 6 months ago (2016-06-17 20:55:47 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-17 21:20:21 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078953003/20001
4 years, 6 months ago (2016-06-18 00:24:56 UTC) #10
msw
Hey Peter, please take another look; thanks! (I'll try adding a touch test, perhaps as ...
4 years, 6 months ago (2016-06-18 00:25:19 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/231679)
4 years, 6 months ago (2016-06-18 01:03:17 UTC) #13
Peter Kasting
LGTM https://codereview.chromium.org/2078953003/diff/20001/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc File chrome/browser/ui/views/find_bar_views_interactive_uitest.cc (right): https://codereview.chromium.org/2078953003/diff/20001/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc#newcode54 chrome/browser/ui/views/find_bar_views_interactive_uitest.cc:54: FindBarView* GetFindBarView() const { Nit: Make pointer const ...
4 years, 6 months ago (2016-06-18 01:13:25 UTC) #14
msw
I'll have to look at the win test failures next week... sigh. https://codereview.chromium.org/2078953003/diff/20001/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc File chrome/browser/ui/views/find_bar_views_interactive_uitest.cc ...
4 years, 6 months ago (2016-06-18 01:28:59 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078953003/60001
4 years, 6 months ago (2016-06-18 01:31:26 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/231693)
4 years, 6 months ago (2016-06-18 02:51:17 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078953003/160001
4 years, 6 months ago (2016-06-20 23:20:07 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-21 00:05:39 UTC) #26
msw
Hey Peter, please take another look; thanks!
4 years, 6 months ago (2016-06-21 00:08:09 UTC) #27
msw
The latest changes mostly just make the test more rigorous, landing.
4 years, 6 months ago (2016-06-21 19:32:18 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078953003/160001
4 years, 6 months ago (2016-06-21 19:33:13 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 6 months ago (2016-06-21 19:39:45 UTC) #33
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/098645c6ee78757f03819207645ff151b8edf01d Cr-Commit-Position: refs/heads/master@{#401079}
4 years, 6 months ago (2016-06-21 19:41:58 UTC) #35
Peter Kasting
4 years, 6 months ago (2016-06-22 00:02:14 UTC) #36
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698