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

Issue 2855763003: reland "CrOS: Fix appearance of notification toasts when sliding out via gesture" (Closed)

Created:
3 years, 7 months ago by Evan Stade
Modified:
3 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, Peter Beverloo, tfarina, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

reland "CrOS: Fix appearance of notification toasts when sliding out via gesture" This re-lands 3d7851ff607c370234e4f93ecf6 original review: https://codereview.chromium.org/2849523005 This converts SlideOutView to SlideOutController, which provides all the same functionality but can be added to any view rather than just those that extend it. It allows the target view to control the layer that's sliding out. For toasts, that is the widget's layer. For notifications inside the message center, that will continue to be the NotificationView itself. BUG=716429 Review-Url: https://codereview.chromium.org/2849523005 Review-Url: https://codereview.chromium.org/2855763003 Cr-Commit-Position: refs/heads/master@{#468962} Committed: https://chromium.googlesource.com/chromium/src/+/d3c675e53e8b9c17d77e47107d04df8d0baae069

Patch Set 1 #

Patch Set 2 : stab in the dark #

Patch Set 3 : attempt #

Patch Set 4 : cleaned up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -339 lines) Patch
M ui/message_center/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/message_center/views/custom_notification_view_unittest.cc View 3 chunks +0 lines, -66 lines 0 comments Download
M ui/message_center/views/message_center_view_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/message_center/views/message_view.h View 7 chunks +18 lines, -10 lines 0 comments Download
M ui/message_center/views/message_view.cc View 7 chunks +15 lines, -13 lines 0 comments Download
M ui/message_center/views/message_view_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/views/notification_view_unittest.cc View 1 2 3 7 chunks +63 lines, -42 lines 0 comments Download
A ui/message_center/views/slide_out_controller.h View 1 chunk +61 lines, -0 lines 0 comments Download
A + ui/message_center/views/slide_out_controller.cc View 2 3 5 chunks +33 lines, -35 lines 0 comments Download
M ui/views/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D ui/views/controls/slide_out_view.h View 1 chunk +0 lines, -58 lines 0 comments Download
D ui/views/controls/slide_out_view.cc View 1 chunk +0 lines, -111 lines 0 comments Download

Messages

Total messages: 15 (11 generated)
Evan Stade
+sky, PTAL difference between PS1 and PS4. Relevant trybot is win10_chromium_x64_rel_ng (not part of a ...
3 years, 7 months ago (2017-05-02 16:00:00 UTC) #7
sky
LGTM
3 years, 7 months ago (2017-05-03 04:45:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2855763003/60001
3 years, 7 months ago (2017-05-03 14:22:21 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 14:27:50 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d3c675e53e8b9c17d77e47107d04...

Powered by Google App Engine
This is Rietveld 408576698