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

Issue 1785033004: Disable Find-In-Page buttons when no text is entered (Closed)

Created:
4 years, 9 months ago by Mario Pistrich
Modified:
4 years, 9 months ago
Reviewers:
msw
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

Disable Find-In-Page buttons when no text is entered This CL fixes a regression caused by https://crrev.com/1660273003 which enables the buttons of the Find-In-Page bar even if no text is entered or no search was issued yet. R=msw@chromium.org BUG=594097 TEST=FindInPageTest.ButtonsDisabledWithoutText Committed: https://crrev.com/afc0733e0630499bea163c4f3cf826c945e7baaf Cr-Commit-Position: refs/heads/master@{#381074}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -7 lines) Patch
M chrome/browser/ui/views/find_bar_host.cc View 1 chunk +2 lines, -4 lines 3 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/find_bar_views_interactive_uitest.cc View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Mario Pistrich
4 years, 9 months ago (2016-03-11 18:07:36 UTC) #1
msw
https://codereview.chromium.org/1785033004/diff/1/chrome/browser/ui/views/find_bar_host.cc File chrome/browser/ui/views/find_bar_host.cc (right): https://codereview.chromium.org/1785033004/diff/1/chrome/browser/ui/views/find_bar_host.cc#newcode147 chrome/browser/ui/views/find_bar_host.cc:147: find_bar_view()->ClearMatchCount(); AFAICT, the regression was just from FindBarView::UpdateMatchCountAppearance's && ...
4 years, 9 months ago (2016-03-14 17:30:10 UTC) #2
Mario Pistrich
https://codereview.chromium.org/1785033004/diff/1/chrome/browser/ui/views/find_bar_host.cc File chrome/browser/ui/views/find_bar_host.cc (right): https://codereview.chromium.org/1785033004/diff/1/chrome/browser/ui/views/find_bar_host.cc#newcode147 chrome/browser/ui/views/find_bar_host.cc:147: find_bar_view()->ClearMatchCount(); On 2016/03/14 17:30:10, msw wrote: > AFAICT, the ...
4 years, 9 months ago (2016-03-14 17:52:46 UTC) #3
msw
lgtm https://codereview.chromium.org/1785033004/diff/1/chrome/browser/ui/views/find_bar_host.cc File chrome/browser/ui/views/find_bar_host.cc (right): https://codereview.chromium.org/1785033004/diff/1/chrome/browser/ui/views/find_bar_host.cc#newcode147 chrome/browser/ui/views/find_bar_host.cc:147: find_bar_view()->ClearMatchCount(); On 2016/03/14 17:52:46, Mario Pistrich wrote: > ...
4 years, 9 months ago (2016-03-14 18:10:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1785033004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1785033004/1
4 years, 9 months ago (2016-03-14 19:03:37 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/196342)
4 years, 9 months ago (2016-03-14 20:23:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1785033004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1785033004/1
4 years, 9 months ago (2016-03-14 20:56:59 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-14 21:29:55 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 21:31:09 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/afc0733e0630499bea163c4f3cf826c945e7baaf
Cr-Commit-Position: refs/heads/master@{#381074}

Powered by Google App Engine
This is Rietveld 408576698