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

Unified Diff: ui/message_center/views/custom_notification_view.h

Issue 2723143002: Add unittests of ArcCustomNotificationView (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/custom_notification_view.h
diff --git a/ui/message_center/views/custom_notification_view.h b/ui/message_center/views/custom_notification_view.h
index 0700010253ee5b28ea2feac390fe1719ea79e365..c9b000ad85624ba525c32b07fa8416a191004766 100644
--- a/ui/message_center/views/custom_notification_view.h
+++ b/ui/message_center/views/custom_notification_view.h
@@ -43,6 +43,8 @@ class MESSAGE_CENTER_EXPORT CustomNotificationView : public MessageView {
bool OnKeyPressed(const ui::KeyEvent& event) override;
void ChildPreferredSizeChanged(View* child) override;
+ views::View* GetContentsViewForTesting() const { return contents_view_; }
+
private:
friend class CustomNotificationViewTest;
« ui/arc/notification/arc_notification_manager.cc ('K') | « ui/arc/test/run_all_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698