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

Issue 10514008: Add WebNotificationTray (Closed)

Created:
8 years, 6 months ago by stevenjb
Modified:
8 years, 6 months ago
CC:
chromium-reviews, sadrul, oshima+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Add WebNotificationTray. This class will support notifications for web pages and apps. It is designed to be part of the status area, located next to the system tray. Design doc is here: http://code.google.com/p/chromium/issues/detail?id=124914 This CL includes unit tests and ash_shell integration. Chrome integration will follow. BUG=124914 TEST=aura_shell_unittests --gtest_filter=WebNotificationTrayTest* REPLACED BY http://codereview.chromium.org/10546125/

Patch Set 1 #

Patch Set 2 : Separate out SystemTrayBubbleView #

Patch Set 3 : . #

Total comments: 8

Patch Set 4 : Rebase #

Total comments: 18

Patch Set 5 : Fix test (don't mirror bubble arrow) #

Total comments: 6

Patch Set 6 : Address feedback. Moves control/ownership of status area trays to StatusAreaWidget. #

Patch Set 7 : Address feedback, fix typo. #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1904 lines, -664 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 3 chunks +5 lines, -0 lines 0 comments Download
M ash/ash_strings.grd View 1 chunk +9 lines, -0 lines 0 comments Download
M ash/focus_cycler_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 5 chunks +7 lines, -7 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 chunks +18 lines, -283 lines 0 comments Download
M ash/shell/window_type_launcher.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell/window_type_launcher.cc View 1 2 3 4 5 4 chunks +15 lines, -1 line 0 comments Download
M ash/system/status_area_widget.h View 1 2 3 4 5 1 chunk +38 lines, -2 lines 0 comments Download
M ash/system/status_area_widget.cc View 1 2 3 4 5 6 7 2 chunks +329 lines, -10 lines 0 comments Download
M ash/system/status_area_widget_delegate.h View 1 2 3 4 5 3 chunks +15 lines, -4 lines 0 comments Download
M ash/system/status_area_widget_delegate.cc View 1 2 3 chunks +44 lines, -5 lines 0 comments Download
M ash/system/tray/system_tray.h View 1 2 3 4 5 5 chunks +12 lines, -6 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 3 5 chunks +18 lines, -6 lines 0 comments Download
M ash/system/tray/system_tray_bubble.h View 1 2 3 4 5 6 4 chunks +10 lines, -47 lines 0 comments Download
M ash/system/tray/system_tray_bubble.cc View 1 2 3 4 5 6 11 chunks +29 lines, -281 lines 0 comments Download
A ash/system/tray/system_tray_bubble_view.h View 1 2 3 4 5 6 1 chunk +77 lines, -0 lines 0 comments Download
A ash/system/tray/system_tray_bubble_view.cc View 1 2 3 4 5 6 1 chunk +299 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_background_view.h View 3 chunks +9 lines, -0 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 2 chunks +10 lines, -5 lines 0 comments Download
A ash/system/web_notification/web_notification_tray.h View 1 2 3 4 5 1 chunk +140 lines, -0 lines 0 comments Download
A ash/system/web_notification/web_notification_tray.cc View 1 2 3 4 5 6 1 chunk +694 lines, -0 lines 0 comments Download
A ash/system/web_notification/web_notification_tray_unittest.cc View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download
M ash/wm/shelf_layout_manager.cc View 1 2 3 4 5 3 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
stevenjb
This adds WebNotificationTray to ash_shell and includes some unittests. Chrome integration will follow.
8 years, 6 months ago (2012-06-04 22:53:13 UTC) #1
oshima
http://codereview.chromium.org/10514008/diff/8001/ui/resources/ui_resources_standard.grd File ui/resources/ui_resources_standard.grd (right): http://codereview.chromium.org/10514008/diff/8001/ui/resources/ui_resources_standard.grd#newcode160 ui/resources/ui_resources_standard.grd:160: <include name="IDR_AURA_UBER_TRAY_WEB_NOTIFICATON" file="default_100_percent/aura/statusbar_notifications.png" type="BINDATA" /> please add this to ...
8 years, 6 months ago (2012-06-05 22:59:46 UTC) #2
stevenjb
Please review at your earliest convenience, we would like to enable the new notifications by ...
8 years, 6 months ago (2012-06-06 17:28:12 UTC) #3
oshima
looks like this no longer contains resource change. removing myself.
8 years, 6 months ago (2012-06-06 18:10:51 UTC) #4
sadrul
Reviewed some of the changes (please note that a few comments are in patchset3, but ...
8 years, 6 months ago (2012-06-06 19:19:18 UTC) #5
jennyz
Some nits. http://codereview.chromium.org/10514008/diff/20002/ash/system/tray/system_tray_bubble.h File ash/system/tray/system_tray_bubble.h (right): http://codereview.chromium.org/10514008/diff/20002/ash/system/tray/system_tray_bubble.h#newcode73 ash/system/tray/system_tray_bubble.h:73: virtual void OnMoiseExitedView() OVERRIDE; Typo: OnMoiseExitedView->OnMouseExitedView http://codereview.chromium.org/10514008/diff/20002/ash/system/tray/system_tray_bubble.h#newcode84 ...
8 years, 6 months ago (2012-06-06 21:04:38 UTC) #6
stevenjb
Moving notification visibility control to StatusAreaWidget exposed some issues in tests where we were accessing ...
8 years, 6 months ago (2012-06-06 23:12:14 UTC) #7
stevenjb
PTAL
8 years, 6 months ago (2012-06-06 23:12:32 UTC) #8
jennyz
lgtm
8 years, 6 months ago (2012-06-07 01:12:20 UTC) #9
jennyz
lgtm
8 years, 6 months ago (2012-06-07 01:12:21 UTC) #10
sadrul
Hi! Please update the CL description a bit more? That would help with the review.
8 years, 6 months ago (2012-06-07 14:10:06 UTC) #11
stevenjb (google-dont-use)
8 years, 6 months ago (2012-06-07 16:14:56 UTC) #12
Added some more info, including a link to the design doc.

Powered by Google App Engine
This is Rietveld 408576698