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

Issue 2358913006: views: remove PlatformStyle::CreateLabelButtonBorder (Closed)

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

Description

views: remove PlatformStyle::CreateLabelButtonBorder This function was doing the wrong thing on Mac, so it has been removed and the default implementation simply inlined into LabelButton. BUG=649367 Committed: https://crrev.com/8b9fd5ef2fb2722e3d6d60531622715b186492c0 Cr-Commit-Position: refs/heads/master@{#421188}

Patch Set 1 #

Total comments: 3

Patch Set 2 : MakeUnique and dead includes #

Patch Set 3 : put that include back #

Patch Set 4 : remove DialogButtonBorderMac too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -346 lines) Patch
M ui/views/BUILD.gn View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 1 chunk +9 lines, -1 line 0 comments Download
D ui/views/style/mac/dialog_button_border_mac.h View 1 2 3 1 chunk +0 lines, -37 lines 0 comments Download
D ui/views/style/mac/dialog_button_border_mac.cc View 1 2 3 1 chunk +0 lines, -72 lines 0 comments Download
D ui/views/style/mac/dialog_button_border_mac_unittest.cc View 1 2 3 1 chunk +0 lines, -200 lines 0 comments Download
M ui/views/style/platform_style.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M ui/views/style/platform_style.cc View 2 1 chunk +0 lines, -14 lines 0 comments Download
M ui/views/style/platform_style_mac.mm View 1 2 3 3 chunks +1 line, -13 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Elly Fong-Jones
estade, sky: ptal? :)
4 years, 2 months ago (2016-09-22 18:05:57 UTC) #3
Evan Stade
https://codereview.chromium.org/2358913006/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/2358913006/diff/1/ui/views/controls/button/label_button.cc#newcode392 ui/views/controls/button/label_button.cc:392: std::unique_ptr<LabelButtonBorder> LabelButton::CreateDefaultBorder() const { harmony should allow us to ...
4 years, 2 months ago (2016-09-22 22:21:11 UTC) #4
sky
LGTM https://codereview.chromium.org/2358913006/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/2358913006/diff/1/ui/views/controls/button/label_button.cc#newcode397 ui/views/controls/button/label_button.cc:397: std::unique_ptr<LabelButtonBorder> border(new views::LabelButtonBorder()); MakeUnique? https://codereview.chromium.org/2358913006/diff/1/ui/views/style/platform_style.h File ui/views/style/platform_style.h (left): ...
4 years, 2 months ago (2016-09-23 15:47:39 UTC) #5
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/2358913006/20001
4 years, 2 months ago (2016-09-23 17:29:05 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/204867) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 2 months ago (2016-09-23 17:40:14 UTC) #10
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/2358913006/40001
4 years, 2 months ago (2016-09-23 18:07:41 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/301988)
4 years, 2 months ago (2016-09-23 19:28:59 UTC) #15
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/2358913006/60001
4 years, 2 months ago (2016-09-26 17:20:52 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/286266)
4 years, 2 months ago (2016-09-26 19:09:06 UTC) #20
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/2358913006/60001
4 years, 2 months ago (2016-09-27 12:16:47 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-27 13:22:19 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 13:24:04 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8b9fd5ef2fb2722e3d6d60531622715b186492c0
Cr-Commit-Position: refs/heads/master@{#421188}

Powered by Google App Engine
This is Rietveld 408576698