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

Side by Side Diff: ui/message_center/views/custom_notification_content_view_delegate.h

Issue 2547433002: Transfer responsibility for providing a close button for a notification to each implementation of M… (Closed)
Patch Set: Delete debug logs Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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_MESSAGE_CENTER_CUSTOM_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
6 #define UI_MESSAGE_CENTER_CUSTOM_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
7
8 #include "ui/message_center/message_center_export.h"
9
10 namespace message_center {
11
12 // Delegate for a view that is hosted by CustomNotificationView.
13 class MESSAGE_CENTER_EXPORT CustomNotificationContentViewDelegate {
14 public:
15 virtual bool IsCloseButtonFocused() const = 0;
16 virtual void RequestFocusOnCloseButton() = 0;
17 virtual bool IsPinned() const = 0;
18 };
19
20 } // namespace message_center
21
22 #endif // UI_MESSAGE_CENTER_CUSTOM_NOTIFICATION_CONTENT_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698