| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_ |
| 6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_ |
| 7 |
| 8 namespace arc { |
| 9 |
| 10 // Delegate for a view that is hosted by CustomNotificationView. |
| 11 // TODO(yoshiki): Remove this delegate and call code in the content view |
| 12 // directly without delegate. |
| 13 class ArcNotificationContentViewDelegate { |
| 14 public: |
| 15 virtual bool IsCloseButtonFocused() const = 0; |
| 16 virtual void RequestFocusOnCloseButton() = 0; |
| 17 virtual void UpdateControlButtonsVisibility() = 0; |
| 18 virtual void OnSlideChanged() = 0; |
| 19 }; |
| 20 |
| 21 } // namespace arc |
| 22 |
| 23 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_ |
| OLD | NEW |