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

Issue 273173003: Notifications: Retain button hover state during content updates. (Closed)

Created:
6 years, 7 months ago by dewittj
Modified:
6 years, 7 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, Oren Blasberg
Visibility:
Public.

Description

Notifications: Retain button hover state during content updates. Rapidly updating notifications (like progressbar indicators) can be hard to interact with if the state resets with each update. BUG=368025 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272609

Patch Set 1 #

Total comments: 11

Patch Set 2 : Add test, address comment. #

Patch Set 3 : Update some formatting #

Total comments: 2

Patch Set 4 : Move to STLDeleteElements. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -19 lines) Patch
M ui/message_center/views/notification_button.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_button.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view.h View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 3 3 chunks +35 lines, -17 lines 0 comments Download
M ui/message_center/views/notification_view_unittest.cc View 1 2 6 chunks +103 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
dewittj
mukai: ptal
6 years, 7 months ago (2014-05-12 21:16:16 UTC) #1
Jun Mukai
https://codereview.chromium.org/273173003/diff/1/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/273173003/diff/1/ui/message_center/views/notification_view.cc#newcode454 ui/message_center/views/notification_view.cc:454: std::vector<View*> buttons(action_buttons_.begin(), action_buttons_.end()); I think omitting views:: namespace leads ...
6 years, 7 months ago (2014-05-13 07:23:23 UTC) #2
Oren Blasberg
Ping for status update? :) We would really like this in M36 if possible so ...
6 years, 7 months ago (2014-05-19 17:42:10 UTC) #3
dewittj
looking at this.. https://codereview.chromium.org/273173003/diff/1/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/273173003/diff/1/ui/message_center/views/notification_view.cc#newcode454 ui/message_center/views/notification_view.cc:454: std::vector<View*> buttons(action_buttons_.begin(), action_buttons_.end()); On 2014/05/13 07:23:23, ...
6 years, 7 months ago (2014-05-20 18:32:13 UTC) #4
dewittj
mukai: ptal https://codereview.chromium.org/273173003/diff/1/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/273173003/diff/1/ui/message_center/views/notification_view.cc#newcode454 ui/message_center/views/notification_view.cc:454: std::vector<View*> buttons(action_buttons_.begin(), action_buttons_.end()); On 2014/05/20 18:32:13, dewittj ...
6 years, 7 months ago (2014-05-21 21:13:30 UTC) #5
dewittj
mukai:ping
6 years, 7 months ago (2014-05-23 00:07:22 UTC) #6
Jun Mukai
lgtm https://codereview.chromium.org/273173003/diff/40001/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/273173003/diff/40001/ui/message_center/views/notification_view.cc#newcode712 ui/message_center/views/notification_view.cc:712: separators_.clear(); STLDeleteElements() invokes DeleteContainerPointers and then clear() :)
6 years, 7 months ago (2014-05-23 06:24:08 UTC) #7
dewittj
The CQ bit was checked by dewittj@chromium.org
6 years, 7 months ago (2014-05-23 17:32:28 UTC) #8
dewittj
https://codereview.chromium.org/273173003/diff/40001/ui/message_center/views/notification_view.cc File ui/message_center/views/notification_view.cc (right): https://codereview.chromium.org/273173003/diff/40001/ui/message_center/views/notification_view.cc#newcode712 ui/message_center/views/notification_view.cc:712: separators_.clear(); On 2014/05/23 06:24:08, Jun Mukai wrote: > STLDeleteElements() ...
6 years, 7 months ago (2014-05-23 17:32:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/273173003/60001
6 years, 7 months ago (2014-05-23 17:33:54 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 22:08:42 UTC) #11
Message was sent while issue was closed.
Change committed as 272609

Powered by Google App Engine
This is Rietveld 408576698