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

Issue 2383243002: Refactor MdFocusRing to make it easier to reuse on other controls. (Closed)

Created:
4 years, 2 months ago by Evan Stade
Modified:
4 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor MdFocusRing to make it easier to reuse on other controls. BUG=649815 Committed: https://crrev.com/7758d0c238aefe508c4052d589b7418ab8e158e2 Cr-Commit-Position: refs/heads/master@{#422921}

Patch Set 1 #

Patch Set 2 : separate file #

Patch Set 3 : apply elsewhere #

Patch Set 4 : explicit onfocus #

Total comments: 6

Patch Set 5 : install #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -64 lines) Patch
M ui/views/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/button/md_text_button.h View 1 2 3 4 3 chunks +0 lines, -10 lines 0 comments Download
M ui/views/controls/button/md_text_button.cc View 1 2 3 4 7 chunks +4 lines, -52 lines 0 comments Download
M ui/views/controls/combobox/combobox.cc View 1 2 3 4 4 chunks +6 lines, -1 line 0 comments Download
A ui/views/controls/focus_ring.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A ui/views/controls/focus_ring.cc View 1 2 3 4 1 chunk +84 lines, -0 lines 0 comments Download
M ui/views/controls/focusable_border.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/focusable_border.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Evan Stade
changed to just overriding onfocus/onblur everywhere since I'm worried we'll have many (usually hidden) buttons ...
4 years, 2 months ago (2016-10-03 23:33:38 UTC) #2
sky
https://codereview.chromium.org/2383243002/diff/60001/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2383243002/diff/60001/ui/views/controls/combobox/combobox.cc#newcode734 ui/views/controls/combobox/combobox.cc:734: if (UseMd()) Is there a reason not to delegate ...
4 years, 2 months ago (2016-10-03 23:53:16 UTC) #5
Evan Stade
https://codereview.chromium.org/2383243002/diff/60001/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2383243002/diff/60001/ui/views/controls/combobox/combobox.cc#newcode734 ui/views/controls/combobox/combobox.cc:734: if (UseMd()) On 2016/10/03 23:53:15, sky wrote: > Is ...
4 years, 2 months ago (2016-10-04 01:04:55 UTC) #6
sky
Nice cleanup! LGTM
4 years, 2 months ago (2016-10-04 02:18:16 UTC) #7
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/2383243002/80001
4 years, 2 months ago (2016-10-04 18:44:47 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-04 20:50:01 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 20:53:23 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7758d0c238aefe508c4052d589b7418ab8e158e2
Cr-Commit-Position: refs/heads/master@{#422921}

Powered by Google App Engine
This is Rietveld 408576698