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

Issue 17286015: Adds a first-run balloon to the Windows notification center. (Closed)

Created:
7 years, 6 months ago by dewittj
Modified:
7 years, 6 months ago
CC:
chromium-reviews, tfarina, jshin+watch_chromium.org
Visibility:
Public.

Description

Adds a first-run balloon to the Windows notification center. This is designed to attract attention to the system tray icon which can be hidden in the overflow area. BUG=246322 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208031

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address atwilson comments, move new strings to chromium_strings. #

Patch Set 3 : Added some tests. #

Total comments: 9

Patch Set 4 : Address sky comments. #

Patch Set 5 : Remove GMock #

Patch Set 6 : Fix test failures #

Total comments: 6

Patch Set 7 : Rebase. #

Patch Set 8 : Fix for clang, rebase issue. #

Patch Set 9 : Moar fixes. #

Total comments: 8

Patch Set 10 : Address dimich comments. #

Patch Set 11 : dimich comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -28 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/notifications/message_center_notification_manager.h View 1 2 3 4 5 6 7 8 9 6 chunks +47 lines, -3 lines 0 comments Download
M chrome/browser/notifications/message_center_notification_manager.cc View 1 2 3 4 5 6 7 8 9 3 chunks +36 lines, -2 lines 0 comments Download
A chrome/browser/notifications/message_center_notification_manager_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/browser/notifications/message_center_notifications_unittest_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_prefs_manager.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_ui_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/notification_ui_manager_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/status_icons/status_icon.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/status_icons/status_icon.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/status_icons/status_icon_observer.h View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/message_center/web_notification_tray.h View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/message_center/web_notification_tray.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
A chrome/browser/ui/views/message_center/web_notification_tray_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/status_icons/status_icon_win.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/status_icons/status_icon_win.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/status_icons/status_tray_win.cc View 1 2 3 4 5 6 7 8 9 2 chunks +22 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +33 lines, -7 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M ui/message_center/message_center_tray_delegate.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Andrew T Wilson (Slow)
https://codereview.chromium.org/17286015/diff/1/chrome/browser/notifications/message_center_notification_manager.cc File chrome/browser/notifications/message_center_notification_manager.cc (right): https://codereview.chromium.org/17286015/diff/1/chrome/browser/notifications/message_center_notification_manager.cc#newcode29 chrome/browser/notifications/message_center_notification_manager.cc:29: Remove blank line, and add a comment for what ...
7 years, 6 months ago (2013-06-19 06:28:56 UTC) #1
dewittj
Thanks atwilson for the pre-review. PTAL atwilson: status_icons, or more if you like sky: chrome/browser/ui/views/, ...
7 years, 6 months ago (2013-06-20 02:20:54 UTC) #2
sky
https://codereview.chromium.org/17286015/diff/12001/chrome/browser/ui/views/message_center/web_notification_tray.cc File chrome/browser/ui/views/message_center/web_notification_tray.cc (right): https://codereview.chromium.org/17286015/diff/12001/chrome/browser/ui/views/message_center/web_notification_tray.cc#newcode282 chrome/browser/ui/views/message_center/web_notification_tray.cc:282: Browser* browser = chrome::FindOrCreateTabbedBrowser( If this creates a new ...
7 years, 6 months ago (2013-06-20 17:22:01 UTC) #3
dewittj
Thanks, removed GMock from both test files I touched. https://codereview.chromium.org/17286015/diff/12001/chrome/browser/ui/views/message_center/web_notification_tray.cc File chrome/browser/ui/views/message_center/web_notification_tray.cc (right): https://codereview.chromium.org/17286015/diff/12001/chrome/browser/ui/views/message_center/web_notification_tray.cc#newcode282 chrome/browser/ui/views/message_center/web_notification_tray.cc:282: ...
7 years, 6 months ago (2013-06-20 17:51:51 UTC) #4
sky
https://codereview.chromium.org/17286015/diff/12001/chrome/browser/ui/views/message_center/web_notification_tray.cc File chrome/browser/ui/views/message_center/web_notification_tray.cc (right): https://codereview.chromium.org/17286015/diff/12001/chrome/browser/ui/views/message_center/web_notification_tray.cc#newcode282 chrome/browser/ui/views/message_center/web_notification_tray.cc:282: Browser* browser = chrome::FindOrCreateTabbedBrowser( On 2013/06/20 17:51:51, dewittj wrote: ...
7 years, 6 months ago (2013-06-20 17:56:27 UTC) #5
dewittj
ShowSingletonTab internally creates a NavigateParams with window_action = NavigateParams::SHOW_WINDOW. Then in BrowserNavigator the ScopedBrowserDisplayer will ...
7 years, 6 months ago (2013-06-20 18:20:35 UTC) #6
sky
Excellent, LGTM
7 years, 6 months ago (2013-06-20 20:07:59 UTC) #7
Andrew T Wilson (Slow)
LGTM with a couple suggestions which you can act on or ignore as you see ...
7 years, 6 months ago (2013-06-20 21:08:58 UTC) #8
dewittj
https://chromiumcodereview.appspot.com/17286015/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win.cc File chrome/browser/ui/views/status_icons/status_tray_win.cc (right): https://chromiumcodereview.appspot.com/17286015/diff/40001/chrome/browser/ui/views/status_icons/status_tray_win.cc#newcode75 chrome/browser/ui/views/status_icons/status_tray_win.cc:75: gfx::Screen::GetNativeScreen()->GetCursorScreenPoint()); On 2013/06/20 21:08:59, Andrew T Wilson wrote: > ...
7 years, 6 months ago (2013-06-21 20:35:15 UTC) #9
Dmitry Titov
lgtm with notes. Please make sure the help page about notifications will have actual content. ...
7 years, 6 months ago (2013-06-21 20:53:40 UTC) #10
dewittj
https://codereview.chromium.org/17286015/diff/40001/chrome/browser/notifications/message_center_notification_manager.h File chrome/browser/notifications/message_center_notification_manager.h (right): https://codereview.chromium.org/17286015/diff/40001/chrome/browser/notifications/message_center_notification_manager.h#newcode207 chrome/browser/notifications/message_center_notification_manager.h:207: base::OneShotTimer<MessageCenterNotificationManager> first_run_balloon_timer_; On 2013/06/20 21:08:59, Andrew T Wilson wrote: ...
7 years, 6 months ago (2013-06-21 21:56:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/17286015/77028
7 years, 6 months ago (2013-06-21 21:57:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/17286015/77028
7 years, 6 months ago (2013-06-22 01:29:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/17286015/77028
7 years, 6 months ago (2013-06-22 02:38:20 UTC) #14
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 14:10:52 UTC) #15
Message was sent while issue was closed.
Change committed as 208031

Powered by Google App Engine
This is Rietveld 408576698