| 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_
|
|
|