| Index: ui/message_center/views/custom_notification_content_view_delegate.h
|
| diff --git a/ui/message_center/views/custom_notification_content_view_delegate.h b/ui/message_center/views/custom_notification_content_view_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e33dd1211f2d0c0cc14abd87974f576f73309574
|
| --- /dev/null
|
| +++ b/ui/message_center/views/custom_notification_content_view_delegate.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2016 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_MESSAGE_CENTER_CUSTOM_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
|
| +#define UI_MESSAGE_CENTER_CUSTOM_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
|
| +
|
| +#include "ui/message_center/message_center_export.h"
|
| +
|
| +namespace message_center {
|
| +
|
| +// Delegate for a view that is hosted by CustomNotificationView.
|
| +class MESSAGE_CENTER_EXPORT CustomNotificationContentViewDelegate {
|
| + public:
|
| + virtual bool IsCloseButtonFocused() const = 0;
|
| + virtual void RequestFocusOnCloseButton() = 0;
|
| + virtual bool IsPinned() const = 0;
|
| +};
|
| +
|
| +} // namespace message_center
|
| +
|
| +#endif // UI_MESSAGE_CENTER_CUSTOM_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
|
|
|