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

Issue 18662006: Support creating progress bar notification for Windows (Closed)

Created:
7 years, 5 months ago by jianli
Modified:
7 years, 5 months ago
Reviewers:
sky, dewittj
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Visibility:
Public.

Description

Support creating progress bar notification for Windows This is the 1st patch to add progress bar notification support. It contains: 1) A new progress type is added and a new optional progress value is added. 2) NotificationView creates and adds a NotificationProgressbar child view. BUG=170924 TEST=manual test by creating a progress bar notification Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213287

Patch Set 1 #

Patch Set 2 : Add bounds check and tests #

Patch Set 3 : Disable test for Linux #

Total comments: 4

Patch Set 4 : Sync #

Patch Set 5 : Fix per feedbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -13 lines) Patch
M chrome/browser/extensions/api/notifications/notifications_api.cc View 1 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_apitest.cc View 1 2 3 1 chunk +114 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/notifications.idl View 2 chunks +7 lines, -1 line 0 comments Download
M ui/message_center/notification.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/message_center/notification.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ui/message_center/notification_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/notification_view.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 3 4 6 chunks +49 lines, -0 lines 0 comments Download
M ui/views/controls/progress_bar.cc View 1 2 3 4 7 chunks +20 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jianli
dewittj, could you please review all rich notification changes? sky, could you please review the ...
7 years, 5 months ago (2013-07-12 17:44:59 UTC) #1
dewittj
Can you please add some tests around the API, in particular about progress is valid ...
7 years, 5 months ago (2013-07-12 17:50:24 UTC) #2
jianli
On 2013/07/12 17:50:24, dewittj wrote: > Can you please add some tests around the API, ...
7 years, 5 months ago (2013-07-12 19:19:32 UTC) #3
dewittj
lgtm + comment https://codereview.chromium.org/18662006/diff/36001/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/18662006/diff/36001/ui/message_center/views/notification_view.cc#newcode466 ui/message_center/views/notification_view.cc:466: progress_bar_view_->set_border(MakeProgressBarBorder(12, 2)); What are these constants? ...
7 years, 5 months ago (2013-07-15 15:32:15 UTC) #4
sky
https://codereview.chromium.org/18662006/diff/36001/ui/views/controls/progress_bar.cc File ui/views/controls/progress_bar.cc (right): https://codereview.chromium.org/18662006/diff/36001/ui/views/controls/progress_bar.cc#newcode198 ui/views/controls/progress_bar.cc:198: int bar_left = insets.left(); GetContentBounds() takes care of insets ...
7 years, 5 months ago (2013-07-15 19:52:41 UTC) #5
jianli
https://codereview.chromium.org/18662006/diff/36001/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/18662006/diff/36001/ui/message_center/views/notification_view.cc#newcode466 ui/message_center/views/notification_view.cc:466: progress_bar_view_->set_border(MakeProgressBarBorder(12, 2)); On 2013/07/15 15:32:15, dewittj wrote: > What ...
7 years, 5 months ago (2013-07-23 19:04:53 UTC) #6
sky
views LGTM
7 years, 5 months ago (2013-07-23 21:34:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/18662006/45001
7 years, 5 months ago (2013-07-23 21:47:52 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 00:15:19 UTC) #9
Message was sent while issue was closed.
Change committed as 213287

Powered by Google App Engine
This is Rietveld 408576698