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

Issue 2655553003: Native themes: Add menu separator part (Closed)

Created:
3 years, 11 months ago by Tom (Use chromium acct)
Modified:
3 years, 10 months ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Native themes: Add menu separator part This CL: * Adds themeable menu separators on platforms other than Windows * Removes menu_separator_win * Adds gtk-drawn menu separators on Linux Besides refactoring, menu separators on Windows, CrOS, and Mac should be unchanged. BUG=132847 R=erg@chromium.org,sky@chromium.org Review-Url: https://codereview.chromium.org/2655553003 Cr-Commit-Position: refs/heads/master@{#446911} Committed: https://chromium.googlesource.com/chromium/src/+/e3bc84e363afba49f43e8fd391dc8d1da5a80d8c

Patch Set 1 #

Total comments: 9

Patch Set 2 : Refactor win #

Patch Set 3 : item->separator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -164 lines) Patch
M chrome/browser/ui/libgtkui/gtk_util.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_util.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/libgtkui/native_theme_gtk3.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtkui/native_theme_gtk3.cc View 1 2 8 chunks +95 lines, -14 lines 0 comments Download
M ui/native_theme/native_theme.h View 1 2 4 chunks +8 lines, -1 line 0 comments Download
M ui/native_theme/native_theme_base.h View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_base.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_win.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M ui/views/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/controls/menu/menu_separator.h View 1 chunk +0 lines, -3 lines 0 comments Download
A + ui/views/controls/menu/menu_separator.cc View 1 2 1 chunk +43 lines, -29 lines 0 comments Download
M ui/views/controls/menu/menu_separator_views.cc View 1 chunk +0 lines, -67 lines 0 comments Download
D ui/views/controls/menu/menu_separator_win.cc View 1 chunk +0 lines, -39 lines 0 comments Download

Messages

Total messages: 40 (30 generated)
Tom (Use chromium acct)
reviewers PTAL erg: libgtkui sky: everything else https://codereview.chromium.org/2655553003/diff/80001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc File chrome/browser/ui/libgtkui/native_theme_gtk3.cc (right): https://codereview.chromium.org/2655553003/diff/80001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc#newcode128 chrome/browser/ui/libgtkui/native_theme_gtk3.cc:128: case ui::NativeTheme::kColorId_HoverMenuButtonBorderColor: ...
3 years, 11 months ago (2017-01-25 02:37:20 UTC) #10
Tom (Use chromium acct)
https://codereview.chromium.org/2655553003/diff/100001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc File chrome/browser/ui/libgtkui/native_theme_gtk3.cc (right): https://codereview.chromium.org/2655553003/diff/100001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc#newcode128 chrome/browser/ui/libgtkui/native_theme_gtk3.cc:128: case ui::NativeTheme::kColorId_HoverMenuButtonBorderColor: erg: It's unclear if we want to ...
3 years, 11 months ago (2017-01-25 02:44:40 UTC) #16
Elliot Glaysher
lgtm https://codereview.chromium.org/2655553003/diff/100001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc File chrome/browser/ui/libgtkui/native_theme_gtk3.cc (right): https://codereview.chromium.org/2655553003/diff/100001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc#newcode128 chrome/browser/ui/libgtkui/native_theme_gtk3.cc:128: case ui::NativeTheme::kColorId_HoverMenuButtonBorderColor: On 2017/01/25 02:44:40, Tom Anderson wrote: ...
3 years, 11 months ago (2017-01-25 18:42:09 UTC) #19
sky
https://codereview.chromium.org/2655553003/diff/100001/ui/native_theme/native_theme_base.cc File ui/native_theme/native_theme_base.cc (right): https://codereview.chromium.org/2655553003/diff/100001/ui/native_theme/native_theme_base.cc#newcode784 ui/native_theme/native_theme_base.cc:784: const MenuSeparatorExtraParams& menu_separator) const { Why is there rect ...
3 years, 11 months ago (2017-01-25 21:57:22 UTC) #20
Tom (Use chromium acct)
https://codereview.chromium.org/2655553003/diff/100001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc File chrome/browser/ui/libgtkui/native_theme_gtk3.cc (right): https://codereview.chromium.org/2655553003/diff/100001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc#newcode128 chrome/browser/ui/libgtkui/native_theme_gtk3.cc:128: case ui::NativeTheme::kColorId_HoverMenuButtonBorderColor: On 2017/01/25 18:42:09, Elliot Glaysher wrote: > ...
3 years, 11 months ago (2017-01-25 22:25:44 UTC) #21
sky
https://codereview.chromium.org/2655553003/diff/100001/ui/native_theme/native_theme_win.h File ui/native_theme/native_theme_win.h (right): https://codereview.chromium.org/2655553003/diff/100001/ui/native_theme/native_theme_win.h#newcode133 ui/native_theme/native_theme_win.h:133: const MenuSeparatorExtraParams& extra) const; On 2017/01/25 22:25:44, Tom Anderson ...
3 years, 11 months ago (2017-01-25 22:40:10 UTC) #22
Tom (Use chromium acct)
https://codereview.chromium.org/2655553003/diff/100001/ui/native_theme/native_theme_win.h File ui/native_theme/native_theme_win.h (right): https://codereview.chromium.org/2655553003/diff/100001/ui/native_theme/native_theme_win.h#newcode133 ui/native_theme/native_theme_win.h:133: const MenuSeparatorExtraParams& extra) const; On 2017/01/25 22:40:10, sky wrote: ...
3 years, 11 months ago (2017-01-25 22:49:43 UTC) #25
sky
LGTM
3 years, 11 months ago (2017-01-26 00:42:32 UTC) #26
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/2655553003/180001
3 years, 10 months ago (2017-01-28 06:38:07 UTC) #37
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 06:43:08 UTC) #40
Message was sent while issue was closed.
Committed patchset #3 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/e3bc84e363afba49f43e8fd391dc...

Powered by Google App Engine
This is Rietveld 408576698