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

Unified Diff: chrome/browser/chrome_browser_main_mac.mm

Issue 183763041: Listen for changes to the system time zone, and broadcast a NotifyTimezoneChange to all RenderViewHo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | chrome/browser/mac/timezone_notification.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_mac.mm
diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm
index cf8a1aedc240cd32a5eec8299e09b8ca9a89bf8a..463c0acb8e73741832c9cd629ea4ab290bc3f2f8 100644
--- a/chrome/browser/chrome_browser_main_mac.mm
+++ b/chrome/browser/chrome_browser_main_mac.mm
@@ -19,6 +19,7 @@
#import "chrome/browser/chrome_browser_application_mac.h"
#include "chrome/browser/mac/install_from_dmg.h"
#import "chrome/browser/mac/keystone_glue.h"
+#include "chrome/browser/mac/timezone_notification.h"
#include "chrome/browser/metrics/metrics_service.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -241,6 +242,8 @@ void ChromeBrowserMainPartsMac::PreMainMessageLoopStart() {
[[NSUserDefaults standardUserDefaults]
setObject:@"YES"
forKey:@"NSWindowHostsLayersInWindowServer"];
+
+ ListenForTimeZoneChanges();
}
void ChromeBrowserMainPartsMac::PostProfileInit() {
« no previous file with comments | « no previous file | chrome/browser/mac/timezone_notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698