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

Issue 2375543003: Add SetProminent() to MdTextButton to create blue buttons. (Closed)

Created:
4 years, 2 months ago by shrike
Modified:
4 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, Matt Giuca, tfarina, oshima+watch_chromium.org, kalyank, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add SetProminent() to MdTextButton to create blue buttons. As agreed upon in https://groups.google.com/a/google.com/forum/#!topic/chrome-harmony/-VDL-TOtZVA the API for configuring an MdTextButton to have a blue fill color shall be SetProminent(). This cl updates the MdTextButton API to conform to this decision. R=sky@chromium.org BUG=645174 Committed: https://crrev.com/49464ba3f03b6215d2c4f642d4bdf98a89b2d7df Cr-Commit-Position: refs/heads/master@{#421379}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -52 lines) Patch
M ash/common/system/chromeos/session/logout_button_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/confirm_infobar.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/bubble_icon_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/search_result_actions_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/native_theme/common_theme.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M ui/native_theme/native_theme.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/native_theme/native_theme_dark_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/native_theme/native_theme_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M ui/native_theme/native_theme_win.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/controls/button/md_text_button.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ui/views/controls/button/md_text_button.cc View 1 8 chunks +16 lines, -16 lines 0 comments Download
M ui/views/controls/button/toggle_button.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/views/controls/progress_bar.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/tabbed_pane/tabbed_pane.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/examples/button_example.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/examples/button_sticker_sheet.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
shrike
PTAL
4 years, 2 months ago (2016-09-27 16:54:35 UTC) #3
sky
Just minor stuff. https://codereview.chromium.org/2375543003/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.h File chrome/browser/ui/libgtk2ui/gtk2_ui.h (right): https://codereview.chromium.org/2375543003/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.h#newcode155 chrome/browser/ui/libgtk2ui/gtk2_ui.h:155: SkColor ProminentButtonBgColor(int gtk_state) const; optional: prefix ...
4 years, 2 months ago (2016-09-27 17:38:32 UTC) #4
shrike
PTAL https://codereview.chromium.org/2375543003/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.h File chrome/browser/ui/libgtk2ui/gtk2_ui.h (right): https://codereview.chromium.org/2375543003/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.h#newcode155 chrome/browser/ui/libgtk2ui/gtk2_ui.h:155: SkColor ProminentButtonBgColor(int gtk_state) const; On 2016/09/27 17:38:32, sky ...
4 years, 2 months ago (2016-09-27 17:52:52 UTC) #5
sky
LGTM
4 years, 2 months ago (2016-09-27 22:04:27 UTC) #6
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/2375543003/20001
4 years, 2 months ago (2016-09-27 22:08:51 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-27 23:08:55 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 23:11:08 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/49464ba3f03b6215d2c4f642d4bdf98a89b2d7df
Cr-Commit-Position: refs/heads/master@{#421379}

Powered by Google App Engine
This is Rietveld 408576698