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

Unified Diff: chrome/browser/chromeos/hats/hats_notification_controller.cc

Issue 2294473003: Clicking on the HaTS notification now opens the survey dialog (Closed)
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/hats/hats_notification_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/hats/hats_notification_controller.cc
diff --git a/chrome/browser/chromeos/hats/hats_notification_controller.cc b/chrome/browser/chromeos/hats/hats_notification_controller.cc
index e08f98df4848003abca3e221965ac8e238a6ad65..84e7f6ab63dc111ff6ff2f5b86ece87d9193346d 100644
--- a/chrome/browser/chromeos/hats/hats_notification_controller.cc
+++ b/chrome/browser/chromeos/hats/hats_notification_controller.cc
@@ -180,6 +180,11 @@ std::string HatsNotificationController::id() const {
}
// message_center::NotificationDelegate override:
+void HatsNotificationController::Click() {
+ ButtonClick(0 /* This argument is no-op in the function. */);
stevenjb 2016/08/30 15:39:16 nit: ButtonClick(0 /* unused */);
malaykeshav 2016/08/30 18:10:30 done
+}
+
+// message_center::NotificationDelegate override:
void HatsNotificationController::ButtonClick(int button_index) {
stevenjb 2016/08/30 15:39:16 nit: int /* button_index */
malaykeshav 2016/08/30 18:10:30 done
UpdateLastInteractionTime();
« no previous file with comments | « chrome/browser/chromeos/hats/hats_notification_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698