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

Side by Side Diff: ui/arc/notification/arc_notification_item.h

Issue 2892893002: Initial implementation of new-style notification (Closed)
Patch Set: addressed comments Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ 5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_
6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ 6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/arc/common/notifications.mojom.h" 9 #include "components/arc/common/notifications.mojom.h"
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Returns the current snapshot. 70 // Returns the current snapshot.
71 virtual const gfx::ImageSkia& GetSnapshot() const = 0; 71 virtual const gfx::ImageSkia& GetSnapshot() const = 0;
72 // Returns the current expand state. 72 // Returns the current expand state.
73 virtual mojom::ArcNotificationExpandState GetExpandState() const = 0; 73 virtual mojom::ArcNotificationExpandState GetExpandState() const = 0;
74 // Returns the current type of shown contents. 74 // Returns the current type of shown contents.
75 virtual mojom::ArcNotificationShownContents GetShownContents() const = 0; 75 virtual mojom::ArcNotificationShownContents GetShownContents() const = 0;
76 // Returns the notification key passed from Android-side. 76 // Returns the notification key passed from Android-side.
77 virtual const std::string& GetNotificationKey() const = 0; 77 virtual const std::string& GetNotificationKey() const = 0;
78 // Returns the notification ID used in the Chrome message center. 78 // Returns the notification ID used in the Chrome message center.
79 virtual const std::string& GetNotificationId() const = 0; 79 virtual const std::string& GetNotificationId() const = 0;
80 // Returnes the accessible name of the notification.
81 virtual const base::string16& GetAccessibleName() const = 0;
80 }; 82 };
81 83
82 } // namespace arc 84 } // namespace arc
83 85
84 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ 86 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_
OLDNEW
« no previous file with comments | « ui/arc/notification/arc_custom_notification_view.cc ('k') | ui/arc/notification/arc_notification_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698