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

Unified Diff: ash/system/locale/locale_notification_controller.cc

Issue 22709005: Accepts the locale change when click on the notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/locale/locale_notification_controller.cc
diff --git a/ash/system/locale/locale_notification_controller.cc b/ash/system/locale/locale_notification_controller.cc
index bc515e9a147bfff1c4418855cf19af8ab4e56eef..342c5a635259fccbf735152f2e17198b8a94d107 100644
--- a/ash/system/locale/locale_notification_controller.cc
+++ b/ash/system/locale/locale_notification_controller.cc
@@ -63,10 +63,11 @@ void LocaleNotificationDelegate::Close(bool by_user) {
}
bool LocaleNotificationDelegate::HasClickedListener() {
- return false;
+ return true;
}
void LocaleNotificationDelegate::Click() {
+ delegate_->AcceptLocaleChange();
}
void LocaleNotificationDelegate::ButtonClick(int button_index) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698