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

Issue 2723143002: Add unittests of ArcCustomNotificationView (Closed)

Created:
3 years, 9 months ago by yoshiki
Modified:
3 years, 6 months ago
Reviewers:
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, Peter Beverloo, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, yhanada
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unittests of ArcCustomNotificationView Major changes: - Merge ArcCustomNotificationView into ArcNotificationView Since non-custom version is no logner used by itself. - Split exo::NotificationSurface into implementation and interface - Split arc::ArcNotificationView into implementation and interface - Add unittests of ArcNotificationView - Separate ArcNotificationDelegate into a separated file This patch contains some cleanup, removing unnecessary code and moving code. But the logic except tests is not changed at all. BUG=697359 TEST=newly added unittests run without error

Patch Set 1 #

Total comments: 21

Patch Set 2 : rebase #

Patch Set 3 : wip #

Patch Set 4 : wip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+864 lines, -113 lines) Patch
M chrome/browser/chrome_browser_main_extra_parts_exo.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts_exo.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A components/exo/notification_surface_impl.h View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A components/exo/notification_surface_impl.cc View 1 2 3 1 chunk +144 lines, -0 lines 0 comments Download
M ui/arc/BUILD.gn View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
A ui/arc/notification/arc_custom_notification_view_unittest.cc View 1 2 3 1 chunk +247 lines, -0 lines 0 comments Download
M ui/arc/notification/arc_notification_content_view.h View 1 2 3 6 chunks +16 lines, -8 lines 0 comments Download
M ui/arc/notification/arc_notification_content_view.cc View 1 2 3 14 chunks +47 lines, -27 lines 0 comments Download
A ui/arc/notification/arc_notification_surface.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A ui/arc/notification/arc_notification_surface_impl.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A ui/arc/notification/arc_notification_surface_impl.cc View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M ui/arc/notification/arc_notification_surface_manager.h View 1 2 3 2 chunks +14 lines, -19 lines 0 comments Download
M ui/arc/notification/arc_notification_surface_manager.cc View 1 2 3 1 chunk +8 lines, -53 lines 0 comments Download
A ui/arc/notification/arc_notification_surface_manager_impl.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A ui/arc/notification/arc_notification_surface_manager_impl.cc View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
M ui/arc/notification/arc_notification_view.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A ui/message_center/views/custom_notification_view.h View 1 2 3 1 chunk +68 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (36 generated)
yoshiki
Hidehiko: ui/arc/* David: components/exo/* PTAL?
3 years, 9 months ago (2017-03-02 03:39:18 UTC) #25
hidehiko
My initial scan. The bot failure looks real one, as ui arc test is failing. ...
3 years, 9 months ago (2017-03-02 15:38:17 UTC) #28
yoshiki
3 years, 7 months ago (2017-05-01 05:24:11 UTC) #38
Thank you for reviewing. The M58 work is getting finished, so I want to resume
this work.

I just think this CL is large, so let me split this into some smaller CLs.
Thanks.

Powered by Google App Engine
This is Rietveld 408576698