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

Issue 1773893002: Make MdTextButton a LabelButton, use it in the DL shelf. (Closed)

Created:
4 years, 9 months ago by Evan Stade
Modified:
4 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, asanka, tfarina, dbeam+watch-downloads_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make MdTextButton a LabelButton, use it in the DL shelf. BUG=591582, 571500 Committed: https://crrev.com/9c64d516f6f9c9629391f940dc2d04608f770e06 Cr-Commit-Position: refs/heads/master@{#379998}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : DCHECK_EQ #

Total comments: 2

Patch Set 4 : views examples compile #

Total comments: 2

Patch Set 5 : remove commented out code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -70 lines) Patch
M chrome/browser/ui/views/download/download_item_view_md.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/download/download_shelf_view.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M ui/views/controls/button/label_button.h View 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 5 chunks +13 lines, -13 lines 0 comments Download
M ui/views/controls/button/md_text_button.h View 1 2 3 4 1 chunk +13 lines, -13 lines 0 comments Download
M ui/views/controls/button/md_text_button.cc View 2 chunks +36 lines, -33 lines 0 comments Download
M ui/views/examples/button_example.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773893002/1
4 years, 9 months ago (2016-03-08 01:55:58 UTC) #2
Evan Stade
https://codereview.chromium.org/1773893002/diff/40001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/1773893002/diff/40001/ui/views/controls/button/label_button.cc#newcode193 ui/views/controls/button/label_button.cc:193: DCHECK_EQ(STYLE_BUTTON, style_); We don't call SetIsDefault for any STYLE_TEXTBUTTON ...
4 years, 9 months ago (2016-03-08 02:04:15 UTC) #3
Evan Stade
+sky, see previous comments
4 years, 9 months ago (2016-03-08 02:04:32 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773893002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773893002/40001
4 years, 9 months ago (2016-03-08 02:05:31 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773893002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773893002/60001
4 years, 9 months ago (2016-03-08 02:14:21 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 02:56:59 UTC) #11
sky
https://codereview.chromium.org/1773893002/diff/60001/ui/views/controls/button/md_text_button.h File ui/views/controls/button/md_text_button.h (right): https://codereview.chromium.org/1773893002/diff/60001/ui/views/controls/button/md_text_button.h#newcode15 ui/views/controls/button/md_text_button.h:15: class VIEWS_EXPORT MdTextButton : public LabelButton { Once md ...
4 years, 9 months ago (2016-03-08 16:37:35 UTC) #12
Evan Stade
https://codereview.chromium.org/1773893002/diff/60001/ui/views/controls/button/md_text_button.h File ui/views/controls/button/md_text_button.h (right): https://codereview.chromium.org/1773893002/diff/60001/ui/views/controls/button/md_text_button.h#newcode15 ui/views/controls/button/md_text_button.h:15: class VIEWS_EXPORT MdTextButton : public LabelButton { On 2016/03/08 ...
4 years, 9 months ago (2016-03-08 21:59:16 UTC) #13
sky
How will one know when to create a LabelButton vs an MdTextButton? On Tue, Mar ...
4 years, 9 months ago (2016-03-08 23:03:21 UTC) #14
Evan Stade
On 2016/03/08 23:03:21, sky wrote: > How will one know when to create a LabelButton ...
4 years, 9 months ago (2016-03-08 23:04:02 UTC) #15
Evan Stade
On 2016/03/08 23:04:02, Evan Stade wrote: > On 2016/03/08 23:03:21, sky wrote: > > How ...
4 years, 9 months ago (2016-03-08 23:05:47 UTC) #16
sky
LGTM
4 years, 9 months ago (2016-03-08 23:29:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773893002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773893002/80001
4 years, 9 months ago (2016-03-08 23:45:18 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-09 00:41:53 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 00:43:11 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9c64d516f6f9c9629391f940dc2d04608f770e06
Cr-Commit-Position: refs/heads/master@{#379998}

Powered by Google App Engine
This is Rietveld 408576698