Lines Matching defs:notification
28 // A balloon collection represents a set of notification balloons being
29 // shown in the chromeos notification panel. Unlike other platforms,
30 // chromeos shows the all notifications in the notification panel, and
48 // Resize notification from webkit.
62 virtual void Add(const Notification& notification,
81 // there is no notification that matches NotificationDelegate::id(),
84 bool AddWebUIMessageCallback(const Notification& notification,
88 // Adds new system notification.
89 // |sticky| is used to indicate that the notification
92 void AddSystemNotification(const Notification& notification,
95 // Updates the notification's content. It uses
97 // Returns true if the notification has been updated. False if
98 // no corresponding notification is found. This will not change the
99 // visibility of the notification.
100 bool UpdateNotification(const Notification& notification);
102 // Updates and shows the notification. It will open the notification panel
104 // the updated notification is visible.
105 bool UpdateAndShowNotification(const Notification& notification);
107 // Injects notification ui. Used to inject a mock implementation in tests.
119 virtual Balloon* MakeBalloon(const Notification& notification,
128 // Shutdown the notification ui.
131 Balloon* FindBalloon(const Notification& notification) {
132 return base_.FindBalloon(notification);