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

Issue 305633004: Puts notification buttons back below the image (Closed)

Created:
6 years, 6 months ago by dewittj
Modified:
6 years, 6 months ago
Reviewers:
robliao
CC:
chromium-reviews
Visibility:
Public.

Description

Puts notification buttons back below the image A regression caused buttons to be rendered above the image. This fixes the problem by forcing the image to be the first child of the bottom view (image is together with the buttons in the bottom view). BUG=378077, 368025 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274353

Patch Set 1 #

Patch Set 2 : Adds a test. #

Total comments: 4

Patch Set 3 : Improved the test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -1 line) Patch
M ui/message_center/views/notification_view.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/views/notification_view_unittest.cc View 1 2 2 chunks +43 lines, -0 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
robliao
https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc File ui/message_center/views/notification_view_unittest.cc (right): https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc#newcode310 ui/message_center/views/notification_view_unittest.cc:310: notification_view()->CreateOrUpdateViews(*notification()); Seems like we're repeating what we just tested. ...
6 years, 6 months ago (2014-05-28 17:55:48 UTC) #1
dewittj
https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc File ui/message_center/views/notification_view_unittest.cc (right): https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc#newcode310 ui/message_center/views/notification_view_unittest.cc:310: notification_view()->CreateOrUpdateViews(*notification()); On 2014/05/28 17:55:48, robliao wrote: > Seems like ...
6 years, 6 months ago (2014-05-28 18:59:04 UTC) #2
robliao
https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc File ui/message_center/views/notification_view_unittest.cc (right): https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc#newcode310 ui/message_center/views/notification_view_unittest.cc:310: notification_view()->CreateOrUpdateViews(*notification()); Let's put a note about that here before ...
6 years, 6 months ago (2014-05-28 19:29:04 UTC) #3
dewittj
improved the organization a little bit too. https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc File ui/message_center/views/notification_view_unittest.cc (right): https://codereview.chromium.org/305633004/diff/20001/ui/message_center/views/notification_view_unittest.cc#newcode310 ui/message_center/views/notification_view_unittest.cc:310: notification_view()->CreateOrUpdateViews(*notification()); On ...
6 years, 6 months ago (2014-05-30 00:44:36 UTC) #4
robliao
lgtm! https://codereview.chromium.org/305633004/diff/40001/ui/message_center/views/notification_view_unittest.cc File ui/message_center/views/notification_view_unittest.cc (right): https://codereview.chromium.org/305633004/diff/40001/ui/message_center/views/notification_view_unittest.cc#newcode83 ui/message_center/views/notification_view_unittest.cc:83: gfx::Point current_point = (*current)->bounds().origin(); This was CenterPoint before. ...
6 years, 6 months ago (2014-05-30 01:19:33 UTC) #5
dewittj
https://codereview.chromium.org/305633004/diff/40001/ui/message_center/views/notification_view_unittest.cc File ui/message_center/views/notification_view_unittest.cc (right): https://codereview.chromium.org/305633004/diff/40001/ui/message_center/views/notification_view_unittest.cc#newcode83 ui/message_center/views/notification_view_unittest.cc:83: gfx::Point current_point = (*current)->bounds().origin(); On 2014/05/30 01:19:33, robliao wrote: ...
6 years, 6 months ago (2014-06-02 18:00:05 UTC) #6
dewittj
The CQ bit was checked by dewittj@chromium.org
6 years, 6 months ago (2014-06-02 18:20:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/305633004/40001
6 years, 6 months ago (2014-06-02 18:22:24 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 22:25:41 UTC) #9
Message was sent while issue was closed.
Change committed as 274353

Powered by Google App Engine
This is Rietveld 408576698