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

Unified Diff: ui/message_center/cocoa/notification_controller.mm

Issue 2412983004: [Mac] Bring Chrome to the front when the settings button in a notification is clicked. (Closed)
Patch Set: 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 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: ui/message_center/cocoa/notification_controller.mm
diff --git a/ui/message_center/cocoa/notification_controller.mm b/ui/message_center/cocoa/notification_controller.mm
index b14c26c2e88cedfec14638f37893352c7c60c5f8..03ab33435dfa4e6a60b972e6ac28f83eb0bc0307 100644
--- a/ui/message_center/cocoa/notification_controller.mm
+++ b/ui/message_center/cocoa/notification_controller.mm
@@ -690,6 +690,7 @@
}
- (void)settingsClicked:(id)sender {
+ [NSApp activateIgnoringOtherApps:YES];
messageCenter_->ClickOnSettingsButton([self notificationID]);
}
« 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