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

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: Clicking HaTS notification now opens the survey dialog 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..a59af482ae4047a170defb6a14007ebd9dcb0cef 100644
--- a/chrome/browser/chromeos/hats/hats_notification_controller.cc
+++ b/chrome/browser/chromeos/hats/hats_notification_controller.cc
@@ -180,7 +180,12 @@ std::string HatsNotificationController::id() const {
}
// message_center::NotificationDelegate override:
-void HatsNotificationController::ButtonClick(int button_index) {
+void HatsNotificationController::Click() {
+ ButtonClick(0 /* unused */);
+}
+
+// message_center::NotificationDelegate override:
+void HatsNotificationController::ButtonClick(int /* button_index */) {
UpdateLastInteractionTime();
// The dialog deletes itslef on close.
« 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