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

Issue 2395033002: Harmony - Don't paint focus ring on unless border requests it. (Closed)

Created:
4 years, 2 months ago by Evan Stade
Modified:
4 years, 2 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina, James Su, shuchen+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Harmony - Don't paint focus ring on textfield unless border requests it. This fixes both the omnibox and the find in page textfield. BUG=653361 Committed: https://crrev.com/e0077f601a2907c931e932d68ae2149b25e9ff3c Cr-Commit-Position: refs/heads/master@{#424239}

Patch Set 1 #

Total comments: 4

Patch Set 2 : override setborder #

Total comments: 3

Patch Set 3 : uninstall #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -9 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 4 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
Evan Stade
https://codereview.chromium.org/2395033002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (left): https://codereview.chromium.org/2395033002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#oldcode132 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:132: SetBorder(views::Border::NullBorder()); +pkasting for this change this didn't have any ...
4 years, 2 months ago (2016-10-06 02:05:26 UTC) #3
Peter Kasting
LGTM for c/b/ui/ https://codereview.chromium.org/2395033002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (left): https://codereview.chromium.org/2395033002/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#oldcode132 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:132: SetBorder(views::Border::NullBorder()); On 2016/10/06 02:05:25, Evan Stade ...
4 years, 2 months ago (2016-10-06 07:12:11 UTC) #4
sky
https://codereview.chromium.org/2395033002/diff/1/ui/views/border.h File ui/views/border.h (right): https://codereview.chromium.org/2395033002/diff/1/ui/views/border.h#newcode84 ui/views/border.h:84: virtual bool ShouldAddFocusRing() const; Adding functions specific to certain ...
4 years, 2 months ago (2016-10-06 19:34:42 UTC) #6
Evan Stade
https://codereview.chromium.org/2395033002/diff/1/ui/views/border.h File ui/views/border.h (right): https://codereview.chromium.org/2395033002/diff/1/ui/views/border.h#newcode84 ui/views/border.h:84: virtual bool ShouldAddFocusRing() const; On 2016/10/06 19:34:42, sky wrote: ...
4 years, 2 months ago (2016-10-06 20:14:19 UTC) #7
sky
On Thu, Oct 6, 2016 at 1:14 PM, <estade@chromium.org> wrote: > > https://codereview.chromium.org/2395033002/diff/1/ui/views/border.h > File ...
4 years, 2 months ago (2016-10-06 22:19:51 UTC) #8
Evan Stade
On 2016/10/06 22:19:51, sky wrote: > On Thu, Oct 6, 2016 at 1:14 PM, <mailto:estade@chromium.org> ...
4 years, 2 months ago (2016-10-06 22:38:29 UTC) #9
sky
https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc File ui/views/controls/textfield/textfield.cc (right): https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc#newcode564 ui/views/controls/textfield/textfield.cc:564: View::SetBorder(std::move(b)); Should you also call FocusRing::Uninstall?
4 years, 2 months ago (2016-10-07 03:10:48 UTC) #14
Evan Stade
https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc File ui/views/controls/textfield/textfield.cc (right): https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc#newcode564 ui/views/controls/textfield/textfield.cc:564: View::SetBorder(std::move(b)); On 2016/10/07 03:10:48, sky wrote: > Should you ...
4 years, 2 months ago (2016-10-10 17:08:29 UTC) #15
sky
https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc File ui/views/controls/textfield/textfield.cc (right): https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc#newcode564 ui/views/controls/textfield/textfield.cc:564: View::SetBorder(std::move(b)); On 2016/10/10 17:08:28, Evan Stade wrote: > On ...
4 years, 2 months ago (2016-10-10 19:55:19 UTC) #20
Evan Stade
On 2016/10/10 19:55:19, sky wrote: > https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc > File ui/views/controls/textfield/textfield.cc (right): > > https://codereview.chromium.org/2395033002/diff/20001/ui/views/controls/textfield/textfield.cc#newcode564 > ...
4 years, 2 months ago (2016-10-10 20:19:17 UTC) #21
sky
LGTM
4 years, 2 months ago (2016-10-10 21:03:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2395033002/40001
4 years, 2 months ago (2016-10-10 21:03:59 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-10 21:11:05 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 21:12:52 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e0077f601a2907c931e932d68ae2149b25e9ff3c
Cr-Commit-Position: refs/heads/master@{#424239}

Powered by Google App Engine
This is Rietveld 408576698