|
Re-home the global MessageCenter to support Ash+Win environments.
In the case where Ash is displayed on Windows, we want a single
message center data structure with multiple UI surfaces for
notifications.
g_browser_process now manages the lifetime of the global Message
Center object, since its lifetime is always longer than Ash::Shell.
This allows us to re-enable the browser tests for message center
on Ash+Win, and stops a crash bug.
BUG= 178429
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186220
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+98 lines, -73 lines) |
Patch |
 |
M |
ash/shell.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/web_notification_tray.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_base.cc
|
View
|
1
2
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
|
6 chunks |
+9 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/desktop_notifications_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_browser_process.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_browser_process.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/view_event_test_base.cc
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center.h
|
View
|
1
2
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center.cc
|
View
|
1
2
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_tray_unittest.cc
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/message_center_util.cc
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|