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

Issue 564953002: Add support for dark theme in Mac Notification Center (Closed)

Created:
6 years, 3 months ago by dewittj
Modified:
6 years, 2 months ago
Reviewers:
Robert Sesek, oshima
CC:
chromium-reviews, kalyank, erikwright+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add support for dark theme in Mac Notification Center This updates the SDK forward declarations and adds dark resources. R=rsesek@chromium.org BUG=402787 Committed: https://crrev.com/81d046cf0412b39ee6ac88e4bae10ab7768df5ac Cr-Commit-Position: refs/heads/master@{#296766}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments and fix build. #

Total comments: 7

Patch Set 3 : Most recent updates. #

Patch Set 4 : Fix bad merge. #

Total comments: 8

Patch Set 5 : Fix compile. #

Total comments: 4

Patch Set 6 : Adds pressed resource and cleans up some resource and filenames. #

Patch Set 7 : Rebase #

Total comments: 3

Patch Set 8 : Revert back to respondsToSelector #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -9 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M base/mac/sdk_forward_declarations.mm View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/cocoa/status_item_view.mm View 1 2 3 4 5 6 7 2 chunks +37 lines, -9 lines 0 comments Download
A ui/resources/default_100_percent/mac/notification_dark_tray_attention.png View Binary file 0 comments Download
A ui/resources/default_100_percent/mac/notification_dark_tray_do_not_disturb_attention.png View Binary file 0 comments Download
A ui/resources/default_100_percent/mac/notification_dark_tray_do_not_disturb_empty.png View Binary file 0 comments Download
A ui/resources/default_100_percent/mac/notification_dark_tray_do_not_disturb_pressed.png View 1 2 3 4 5 Binary file 0 comments Download
A ui/resources/default_100_percent/mac/notification_dark_tray_empty.png View Binary file 0 comments Download
A ui/resources/default_100_percent/mac/notification_dark_tray_pressed.png View 1 2 3 4 5 Binary file 0 comments Download
A + ui/resources/default_200_percent/mac/notification_dark_tray_attention.png View 3 4 Binary file 0 comments Download
A ui/resources/default_200_percent/mac/notification_dark_tray_do_not_disturb_attention.png View Binary file 0 comments Download
A ui/resources/default_200_percent/mac/notification_dark_tray_do_not_disturb_empty.png View Binary file 0 comments Download
A ui/resources/default_200_percent/mac/notification_dark_tray_do_not_disturb_pressed.png View 1 2 3 4 5 Binary file 0 comments Download
A ui/resources/default_200_percent/mac/notification_dark_tray_empty.png View Binary file 0 comments Download
A ui/resources/default_200_percent/mac/notification_dark_tray_pressed.png View 1 2 3 4 5 Binary file 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (5 generated)
dewittj
Robert: Here is a first pass. Still doesn't build because I don't know how to ...
6 years, 3 months ago (2014-09-11 20:31:18 UTC) #1
Robert Sesek
https://codereview.chromium.org/564953002/diff/1/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/1/base/mac/sdk_forward_declarations.h#newcode260 base/mac/sdk_forward_declarations.h:260: @interface NSAppearance : NSObject You won't be able to ...
6 years, 3 months ago (2014-09-11 20:50:00 UTC) #2
Robert Sesek
On 2014/09/11 20:31:18, dewittj wrote: > Robert: Here is a first pass. Still doesn't build ...
6 years, 3 months ago (2014-09-11 20:50:26 UTC) #3
dewittj
Thanks for the pointers. One more question: I don't have the appropriate Appearance.h; did I ...
6 years, 3 months ago (2014-09-12 17:48:47 UTC) #4
dewittj
also, in https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSAppearance_Class/Reference/Reference.html I don't see the property "name" on the NSAppearance class. Where is ...
6 years, 3 months ago (2014-09-12 18:02:11 UTC) #5
dewittj
Addressed your comments, please take a look. I did not replace the "pressed" graphic since ...
6 years, 3 months ago (2014-09-12 18:15:36 UTC) #6
dewittj
https://codereview.chromium.org/564953002/diff/1/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/1/base/mac/sdk_forward_declarations.h#newcode260 base/mac/sdk_forward_declarations.h:260: @interface NSAppearance : NSObject On 2014/09/11 20:50:00, rsesek wrote: ...
6 years, 3 months ago (2014-09-12 18:16:23 UTC) #7
Robert Sesek
On 2014/09/12 18:15:36, dewittj wrote: > Addressed your comments, please take a look. I did ...
6 years, 3 months ago (2014-09-12 19:16:24 UTC) #8
dewittj
oshima@chromium.org: Please review changes in ui/resources thakis@chromium.org: Please review changes in base/mac rsesek: I adopted ...
6 years, 3 months ago (2014-09-12 23:24:21 UTC) #9
dewittj
oshima@chromium.org: Please review changes in ui/resources thakis@chromium.org: Please review changes in base/mac
6 years, 3 months ago (2014-09-12 23:24:46 UTC) #11
oshima
https://codereview.chromium.org/564953002/diff/60001/ui/resources/ui_resources.grd File ui/resources/ui_resources.grd (left): https://codereview.chromium.org/564953002/diff/60001/ui/resources/ui_resources.grd#oldcode29 ui/resources/ui_resources.grd:29: <structure type="chrome_scaled_image" name="IDR_APP_LIST_SEARCH_ICON" file="common/app_list_search_icon.png" /> is this intentional?
6 years, 3 months ago (2014-09-13 00:42:48 UTC) #12
Robert Sesek
-thakis since I should be able to approve base/mac/ changes https://codereview.chromium.org/564953002/diff/60001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/60001/base/mac/sdk_forward_declarations.h#newcode270 ...
6 years, 3 months ago (2014-09-15 16:36:02 UTC) #14
dewittj
https://codereview.chromium.org/564953002/diff/60001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/60001/base/mac/sdk_forward_declarations.h#newcode270 base/mac/sdk_forward_declarations.h:270: @protocol CrNSAppearance On 2014/09/15 16:36:02, rsesek wrote: > To ...
6 years, 3 months ago (2014-09-15 17:32:37 UTC) #15
Robert Sesek
LGTM
6 years, 3 months ago (2014-09-15 18:01:36 UTC) #16
Robert Sesek
https://codereview.chromium.org/564953002/diff/80001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/80001/base/mac/sdk_forward_declarations.h#newcode257 base/mac/sdk_forward_declarations.h:257: - (id<CrNSAppearance>)effectiveAppearance; Actually, this needs to go into the ...
6 years, 3 months ago (2014-09-15 18:02:37 UTC) #17
dewittj
https://codereview.chromium.org/564953002/diff/80001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/80001/base/mac/sdk_forward_declarations.h#newcode257 base/mac/sdk_forward_declarations.h:257: - (id<CrNSAppearance>)effectiveAppearance; On 2014/09/15 18:02:37, rsesek wrote: > Actually, ...
6 years, 3 months ago (2014-09-15 19:15:09 UTC) #18
Robert Sesek
https://codereview.chromium.org/564953002/diff/80001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/564953002/diff/80001/base/mac/sdk_forward_declarations.h#newcode257 base/mac/sdk_forward_declarations.h:257: - (id<CrNSAppearance>)effectiveAppearance; On 2014/09/15 19:15:08, dewittj wrote: > On ...
6 years, 3 months ago (2014-09-15 19:40:56 UTC) #19
dewittj
Added 4 pressed resources. rsesek: minor changes - will you please verify on your yosemite ...
6 years, 3 months ago (2014-09-16 22:51:00 UTC) #20
Robert Sesek
On 2014/09/16 22:51:00, dewittj wrote: > Added 4 pressed resources. > > rsesek: minor changes ...
6 years, 3 months ago (2014-09-17 23:01:02 UTC) #21
dewittj
oshima: ping
6 years, 3 months ago (2014-09-23 00:54:36 UTC) #22
dewittj
rsesek: try "git apply $FILENAME" after saving the binary patch file here: https://drive.google.com/a/chromium.org/file/d/0B7CI7Ya8SYWjd2pOZXE3T1p2VmM/edit?usp=sharing
6 years, 3 months ago (2014-09-23 22:54:44 UTC) #23
oshima
ui/resources lgtm
6 years, 3 months ago (2014-09-23 23:01:26 UTC) #24
dewittj
I'm going to land this; rsesek plz let me know if you find an issue ...
6 years, 3 months ago (2014-09-24 16:22:41 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/564953002/120001
6 years, 3 months ago (2014-09-24 16:23:40 UTC) #27
Robert Sesek
https://codereview.chromium.org/564953002/diff/120001/ui/message_center/cocoa/status_item_view.mm File ui/message_center/cocoa/status_item_view.mm (right): https://codereview.chromium.org/564953002/diff/120001/ui/message_center/cocoa/status_item_view.mm#newcode157 ui/message_center/cocoa/status_item_view.mm:157: instancesRespondToSelector:@selector(appearanceNamed:)]) { Tested. This does need to change back ...
6 years, 3 months ago (2014-09-24 17:15:01 UTC) #29
dewittj
https://codereview.chromium.org/564953002/diff/120001/ui/message_center/cocoa/status_item_view.mm File ui/message_center/cocoa/status_item_view.mm (right): https://codereview.chromium.org/564953002/diff/120001/ui/message_center/cocoa/status_item_view.mm#newcode157 ui/message_center/cocoa/status_item_view.mm:157: instancesRespondToSelector:@selector(appearanceNamed:)]) { On 2014/09/24 17:15:00, Robert Sesek wrote: > ...
6 years, 2 months ago (2014-09-25 18:21:39 UTC) #30
Robert Sesek
https://codereview.chromium.org/564953002/diff/120001/ui/message_center/cocoa/status_item_view.mm File ui/message_center/cocoa/status_item_view.mm (right): https://codereview.chromium.org/564953002/diff/120001/ui/message_center/cocoa/status_item_view.mm#newcode157 ui/message_center/cocoa/status_item_view.mm:157: instancesRespondToSelector:@selector(appearanceNamed:)]) { On 2014/09/25 18:21:39, dewittj wrote: > On ...
6 years, 2 months ago (2014-09-25 18:23:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/564953002/140001
6 years, 2 months ago (2014-09-25 18:23:35 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001) as a54743428561df548a13abdd1b180b628a356f78
6 years, 2 months ago (2014-09-25 19:38:18 UTC) #34
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 19:39:43 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/81d046cf0412b39ee6ac88e4bae10ab7768df5ac
Cr-Commit-Position: refs/heads/master@{#296766}

Powered by Google App Engine
This is Rietveld 408576698