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

Side by Side Diff: chrome/browser/notifications/persistent_notification_delegate.h

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: include base/logging.h for NOTIMPLEMENTED Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_NOTIFICATIONS_PERSISTENT_NOTIFICATION_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_PERSISTENT_NOTIFICATION_DELEGATE_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_PERSISTENT_NOTIFICATION_DELEGATE_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_PERSISTENT_NOTIFICATION_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 13 matching lines...) Expand all
24 PersistentNotificationDelegate(content::BrowserContext* browser_context, 24 PersistentNotificationDelegate(content::BrowserContext* browser_context,
25 const std::string& notification_id, 25 const std::string& notification_id,
26 const GURL& origin, 26 const GURL& origin,
27 int notification_settings_index); 27 int notification_settings_index);
28 28
29 // NotificationDelegate implementation. 29 // NotificationDelegate implementation.
30 void Display() override; 30 void Display() override;
31 void Close(bool by_user) override; 31 void Close(bool by_user) override;
32 void Click() override; 32 void Click() override;
33 void ButtonClick(int button_index) override; 33 void ButtonClick(int button_index) override;
34 void ButtonClickWithReply(int button_index,
35 const base::string16& reply) override;
34 36
35 protected: 37 protected:
36 ~PersistentNotificationDelegate() override; 38 ~PersistentNotificationDelegate() override;
37 39
38 private: 40 private:
39 int notification_settings_index_; 41 int notification_settings_index_;
40 42
41 DISALLOW_COPY_AND_ASSIGN(PersistentNotificationDelegate); 43 DISALLOW_COPY_AND_ASSIGN(PersistentNotificationDelegate);
42 }; 44 };
43 45
44 #endif // CHROME_BROWSER_NOTIFICATIONS_PERSISTENT_NOTIFICATION_DELEGATE_H_ 46 #endif // CHROME_BROWSER_NOTIFICATIONS_PERSISTENT_NOTIFICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_handler.h ('k') | chrome/browser/notifications/persistent_notification_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698