// NotificationDelegate:
+void NotificationDelegate::Display() {}
+
+void NotificationDelegate::Close(bool by_user) {}
+
bool NotificationDelegate::HasClickedListener() { return false; }
+void NotificationDelegate::Click() {}
+
void NotificationDelegate::ButtonClick(int button_index) {}
// HandleNotificationClickedDelegate:
: closure_(closure) {
}
-HandleNotificationClickedDelegate::~HandleNotificationClickedDelegate() {
-}
-
-void HandleNotificationClickedDelegate::Display() {
-}
-
-void HandleNotificationClickedDelegate::Error() {
-}
-
-void HandleNotificationClickedDelegate::Close(bool by_user) {
-}
+HandleNotificationClickedDelegate::~HandleNotificationClickedDelegate() {}
bool HandleNotificationClickedDelegate::HasClickedListener() {
return !closure_.is_null();
closure_.Run();
}
-void HandleNotificationClickedDelegate::ButtonClick(int button_index) {
-}
-
// HandleNotificationButtonClickDelegate:
HandleNotificationButtonClickDelegate::HandleNotificationButtonClickDelegate(
}
HandleNotificationButtonClickDelegate::
- ~HandleNotificationButtonClickDelegate() {
-}
-
-void HandleNotificationButtonClickDelegate::Display() {
-}
-
-void HandleNotificationButtonClickDelegate::Error() {
-}
-
-void HandleNotificationButtonClickDelegate::Close(bool by_user) {
-}
-
-void HandleNotificationButtonClickDelegate::Click() {
-}
+ ~HandleNotificationButtonClickDelegate() {}
void HandleNotificationButtonClickDelegate::ButtonClick(int button_index) {
if (!button_callback_.is_null())