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

Side by Side Diff: ui/message_center/message_center.gyp

Issue 1979583003: Support notifications with custom content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@messageview-close-button
Patch Set: fix mac build, attempt 2 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/notification_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 'message_center_tray.cc', 53 'message_center_tray.cc',
54 'message_center_tray.h', 54 'message_center_tray.h',
55 'message_center_tray_delegate.h', 55 'message_center_tray_delegate.h',
56 'message_center_types.h', 56 'message_center_types.h',
57 'notification.cc', 57 'notification.cc',
58 'notification.h', 58 'notification.h',
59 'notification_blocker.cc', 59 'notification_blocker.cc',
60 'notification_blocker.h', 60 'notification_blocker.h',
61 'notification_delegate.cc', 61 'notification_delegate.cc',
62 'notification_delegate.h', 62 'notification_delegate.h',
63 'notification_delegate_views.cc',
63 'notification_list.cc', 64 'notification_list.cc',
64 'notification_list.h', 65 'notification_list.h',
65 'notification_types.cc', 66 'notification_types.cc',
66 'notification_types.h', 67 'notification_types.h',
67 'notifier_settings.cc', 68 'notifier_settings.cc',
68 'notifier_settings.h', 69 'notifier_settings.h',
69 'popup_timer.cc', 70 'popup_timer.cc',
70 'popup_timer.h', 71 'popup_timer.h',
71 'popup_timers_controller.cc', 72 'popup_timers_controller.cc',
72 'popup_timers_controller.h', 73 'popup_timers_controller.h',
73 'views/bounded_label.cc', 74 'views/bounded_label.cc',
74 'views/bounded_label.h', 75 'views/bounded_label.h',
76 "views/custom_notification_view.cc",
77 "views/custom_notification_view.h",
75 'views/constants.h', 78 'views/constants.h',
76 'views/desktop_popup_alignment_delegate.cc', 79 'views/desktop_popup_alignment_delegate.cc',
77 'views/desktop_popup_alignment_delegate.h', 80 'views/desktop_popup_alignment_delegate.h',
78 'views/message_bubble_base.cc', 81 'views/message_bubble_base.cc',
79 'views/message_bubble_base.h', 82 'views/message_bubble_base.h',
80 'views/message_center_bubble.cc', 83 'views/message_center_bubble.cc',
81 'views/message_center_bubble.h', 84 'views/message_center_bubble.h',
82 'views/message_center_button_bar.cc', 85 'views/message_center_button_bar.cc',
83 'views/message_center_button_bar.h', 86 'views/message_center_button_bar.h',
84 'views/message_center_controller.h', 87 'views/message_center_controller.h',
85 'views/message_center_view.cc', 88 'views/message_center_view.cc',
86 'views/message_center_view.h', 89 'views/message_center_view.h',
87 'views/message_list_view.cc', 90 'views/message_list_view.cc',
88 'views/message_list_view.h', 91 'views/message_list_view.h',
89 'views/message_popup_collection.cc', 92 'views/message_popup_collection.cc',
90 'views/message_popup_collection.h', 93 'views/message_popup_collection.h',
91 'views/message_view.cc', 94 'views/message_view.cc',
92 'views/message_view.h', 95 'views/message_view.h',
96 'views/message_view_factory.cc',
97 'views/message_view_factory.h',
93 'views/message_view_context_menu_controller.cc', 98 'views/message_view_context_menu_controller.cc',
94 'views/message_view_context_menu_controller.h', 99 'views/message_view_context_menu_controller.h',
95 'views/notification_button.cc', 100 'views/notification_button.cc',
96 'views/notification_button.h', 101 'views/notification_button.h',
97 'views/notification_progress_bar.cc', 102 'views/notification_progress_bar.cc',
98 'views/notification_progress_bar.h', 103 'views/notification_progress_bar.h',
99 'views/notification_view.cc', 104 'views/notification_view.cc',
100 'views/notification_view.h', 105 'views/notification_view.h',
101 'views/notifier_settings_view.cc', 106 'views/notifier_settings_view.cc',
102 'views/notifier_settings_view.h', 107 'views/notifier_settings_view.h',
(...skipping 21 matching lines...) Expand all
124 # with message_center_unittests below. 129 # with message_center_unittests below.
125 ['toolkit_views==1 and OS!="mac"', { 130 ['toolkit_views==1 and OS!="mac"', {
126 'dependencies': [ 131 'dependencies': [
127 '../events/events.gyp:events', 132 '../events/events.gyp:events',
128 '../views/views.gyp:views', 133 '../views/views.gyp:views',
129 '../compositor/compositor.gyp:compositor', 134 '../compositor/compositor.gyp:compositor',
130 ], 135 ],
131 }, { 136 }, {
132 'sources/': [ 137 'sources/': [
133 ['exclude', 'views/'], 138 ['exclude', 'views/'],
139 ['exclude', '_views\\.(h|cc)$'],
134 ], 140 ],
135 }], 141 }],
136 # iOS disables notifications altogether, Android implements its own 142 # iOS disables notifications altogether, Android implements its own
137 # notification UI manager instead of deferring to the message center. 143 # notification UI manager instead of deferring to the message center.
138 ['notifications==0 or OS=="android"', { 144 ['notifications==0 or OS=="android"', {
139 'sources/': [ 145 'sources/': [
140 # Exclude everything except dummy impl. 146 # Exclude everything except dummy impl.
141 ['exclude', '\\.(cc|mm)$'], 147 ['exclude', '\\.(cc|mm)$'],
142 ['include', '^dummy_message_center\\.cc$'], 148 ['include', '^dummy_message_center\\.cc$'],
143 ['include', '^notification_delegate\\.cc$'], 149 ['include', '^notification_delegate\\.cc$'],
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 ['toolkit_views==1 and OS!="mac"', { 221 ['toolkit_views==1 and OS!="mac"', {
216 'dependencies': [ 222 'dependencies': [
217 # Compositor is needed by message_center_view_unittest.cc 223 # Compositor is needed by message_center_view_unittest.cc
218 # and for the fonts used by bounded_label_unittest.cc. 224 # and for the fonts used by bounded_label_unittest.cc.
219 '../compositor/compositor.gyp:compositor', 225 '../compositor/compositor.gyp:compositor',
220 '../views/views.gyp:views', 226 '../views/views.gyp:views',
221 '../views/views.gyp:views_test_support', 227 '../views/views.gyp:views_test_support',
222 ], 228 ],
223 'sources': [ 229 'sources': [
224 'views/bounded_label_unittest.cc', 230 'views/bounded_label_unittest.cc',
231 'views/custom_notification_view_unittest.cc',
225 'views/message_center_view_unittest.cc', 232 'views/message_center_view_unittest.cc',
226 'views/message_popup_collection_unittest.cc', 233 'views/message_popup_collection_unittest.cc',
227 'views/notification_view_unittest.cc', 234 'views/notification_view_unittest.cc',
228 'views/notifier_settings_view_unittest.cc', 235 'views/notifier_settings_view_unittest.cc',
229 ], 236 ],
230 }], 237 }],
231 ['notifications==0', { # Android and iOS. 238 ['notifications==0', { # Android and iOS.
232 'sources/': [ 239 'sources/': [
233 # Exclude everything except main(). 240 # Exclude everything except main().
234 ['exclude', '\\.(cc|mm)$'], 241 ['exclude', '\\.(cc|mm)$'],
(...skipping 23 matching lines...) Expand all
258 'dependencies': [ 265 'dependencies': [
259 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 266 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
260 ], 267 ],
261 }], 268 }],
262 ], 269 ],
263 }, 270 },
264 ], 271 ],
265 }], 272 }],
266 ], 273 ],
267 } 274 }
OLDNEW
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/notification_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698