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

Issue 1270343004: Update LabelButtons in the Toolbar for Material Design (Closed)

Created:
5 years, 4 months ago by jonross
Modified:
5 years, 4 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update LabelButtons in the Toolbar for Material Design Update PlatformStyle to return different borders for Material Design LabelButtons. Removing asset borders on Chrome OS, and hover effects on Windows and Linux. Updated ToolbarButton to remove its local implementation of this behaviour. Updated WrenchToolbarButton to use a image asset for Material Design, and to not initialize WrenchIconPainter. TEST=manual testing on device BUG=505801, 495654 Committed: https://crrev.com/b84603444e43433e355b7d1ab30c71c7abb4b95d Cr-Commit-Position: refs/heads/master@{#342414}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -22 lines) Patch
M chrome/browser/ui/views/toolbar/toolbar_button.cc View 1 chunk +2 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc View 1 2 4 chunks +23 lines, -2 lines 0 comments Download
M ui/views/style/platform_style.cc View 1 1 chunk +25 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (7 generated)
jonross
Hi Peter, Could you please review the changes under: chrome/browser/ui/views/toolbar/* Thanks!
5 years, 4 months ago (2015-08-07 15:19:04 UTC) #2
jonross
Hey Sadrul, Could you provide an owners review to the changes under ui/views/style/* Thanks!
5 years, 4 months ago (2015-08-07 15:20:07 UTC) #4
Peter Kasting
Code LGTM, but I'm concerned about this behavior. * If we remove all the signalling ...
5 years, 4 months ago (2015-08-07 15:36:16 UTC) #5
jonross
* On Chrome OS the menu is not used for signaling. For desktop Chrome we ...
5 years, 4 months ago (2015-08-07 15:45:28 UTC) #6
Peter Kasting
On 2015/08/07 15:45:28, jonross wrote: > * On Chrome OS the menu is not used ...
5 years, 4 months ago (2015-08-07 15:57:05 UTC) #7
jonross
https://codereview.chromium.org/1270343004/diff/1/ui/views/style/platform_style.cc File ui/views/style/platform_style.cc (right): https://codereview.chromium.org/1270343004/diff/1/ui/views/style/platform_style.cc#newcode20 ui/views/style/platform_style.cc:20: style == Button::STYLE_TEXTBUTTON) { On 2015/08/07 15:36:16, Peter Kasting ...
5 years, 4 months ago (2015-08-07 15:57:15 UTC) #8
bruthig
https://codereview.chromium.org/1270343004/diff/20001/chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc File chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc (right): https://codereview.chromium.org/1270343004/diff/20001/chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc#newcode44 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc:44: if (!wrench_icon_painter_) Consider using "if (ui::MaterialDesignController::IsModeMaterial())" instead. That makes ...
5 years, 4 months ago (2015-08-07 16:43:15 UTC) #10
sadrul
lgtm On 2015/08/07 15:57:05, Peter Kasting wrote: > On 2015/08/07 15:45:28, jonross wrote: > > ...
5 years, 4 months ago (2015-08-07 16:45:30 UTC) #11
jonross
I have filed crbug.com/517923 to discuss the hover feedback concerns raised here. It blocks the ...
5 years, 4 months ago (2015-08-07 17:33:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270343004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270343004/40001
5 years, 4 months ago (2015-08-07 17:34:13 UTC) #15
bruthig
lgtm
5 years, 4 months ago (2015-08-07 17:36:45 UTC) #16
bruthig
lgtm
5 years, 4 months ago (2015-08-07 17:36:47 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/96585)
5 years, 4 months ago (2015-08-07 18:55:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270343004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270343004/40001
5 years, 4 months ago (2015-08-07 19:07:25 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-07 19:44:17 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 19:44:55 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b84603444e43433e355b7d1ab30c71c7abb4b95d
Cr-Commit-Position: refs/heads/master@{#342414}

Powered by Google App Engine
This is Rietveld 408576698