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

Unified Diff: ui/arc/notification/arc_notification_content_view_delegate.h

Issue 2870283002: Move message_center::CustomNotificationView to arc::ArcNotificationView (Closed)
Patch Set: Addressed comment Created 3 years, 7 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/arc/notification/arc_notification_content_view_delegate.h
diff --git a/ui/arc/notification/arc_notification_content_view_delegate.h b/ui/arc/notification/arc_notification_content_view_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..79cfb860535b6d4ebed200b4b5a421772cca63f4
--- /dev/null
+++ b/ui/arc/notification/arc_notification_content_view_delegate.h
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
+#define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
+
+namespace arc {
+
+// Delegate for a view that is hosted by CustomNotificationView.
+// TODO(yoshiki): Remove this delegate and call code in the content view
+// directly without delegate.
+class ArcNotificationContentViewDelegate {
+ public:
+ virtual bool IsCloseButtonFocused() const = 0;
+ virtual void RequestFocusOnCloseButton() = 0;
+ virtual void UpdateControlButtonsVisibility() = 0;
+ virtual void OnSlideChanged() = 0;
+};
+
+} // namespace arc
+
+#endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
« no previous file with comments | « ui/arc/notification/arc_custom_notification_view.cc ('k') | ui/arc/notification/arc_notification_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698