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

Side by Side Diff: chrome/common/pref_names.cc

Issue 5976005: show notification on locale change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
11 11
(...skipping 27 matching lines...) Expand all
39 // The URLs to restore on startup or when the home button is pressed. The URLs 39 // The URLs to restore on startup or when the home button is pressed. The URLs
40 // are only restored on startup if kRestoreOnStartup is 4. 40 // are only restored on startup if kRestoreOnStartup is 4.
41 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; 41 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup";
42 42
43 // The application locale. 43 // The application locale.
44 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 44 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
45 // and user's profile. Global property determines locale of login screen, 45 // and user's profile. Global property determines locale of login screen,
46 // while user's profile determines his personal locale preference. 46 // while user's profile determines his personal locale preference.
47 const char kApplicationLocale[] = "intl.app_locale"; 47 const char kApplicationLocale[] = "intl.app_locale";
48 #if defined(OS_CHROMEOS) 48 #if defined(OS_CHROMEOS)
49 // Non-syncable item. Used for two-step initialization of locale in ChromeOS 49 // Non-syncable item. Used to detect locale change.
50 // Used for two-step initialization of locale in ChromeOS
50 // because synchronization of kApplicationLocale is not instant. 51 // because synchronization of kApplicationLocale is not instant.
51 const char kApplicationLocaleBackup[] = "intl.app_locale_backup"; 52 const char kApplicationLocaleBackup[] = "intl.app_locale_backup";
53 // Non-syncable item.
54 // Used to locally override synchronized kApplicationLocale preference.
55 const char kApplicationLocaleOverride[] = "intl.app_locale_override";
56 // Locale accepted by user. Non-syncable.
57 // Used to determine whether we need to show Locale Change notification.
58 const char kApplicationLocaleAccepted[] = "intl.app_locale_accepted";
52 #endif 59 #endif
53 60
54 // The default character encoding to assume for a web page in the 61 // The default character encoding to assume for a web page in the
55 // absence of MIME charset specification 62 // absence of MIME charset specification
56 const char kDefaultCharset[] = "intl.charset_default"; 63 const char kDefaultCharset[] = "intl.charset_default";
57 64
58 // The value to use for Accept-Languages HTTP header when making an HTTP 65 // The value to use for Accept-Languages HTTP header when making an HTTP
59 // request. 66 // request.
60 const char kAcceptLanguages[] = "intl.accept_languages"; 67 const char kAcceptLanguages[] = "intl.accept_languages";
61 68
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 const char kManagedDefaultPluginsSetting[] = 1169 const char kManagedDefaultPluginsSetting[] =
1163 "profile.managed_default_content_settings.plugins"; 1170 "profile.managed_default_content_settings.plugins";
1164 const char kManagedDefaultPopupsSetting[] = 1171 const char kManagedDefaultPopupsSetting[] =
1165 "profile.managed_default_content_settings.popups"; 1172 "profile.managed_default_content_settings.popups";
1166 1173
1167 // Dictionary for storing the set of known background pages (keys are extension 1174 // Dictionary for storing the set of known background pages (keys are extension
1168 // IDs of background page owners, value is a boolean that is true if the user 1175 // IDs of background page owners, value is a boolean that is true if the user
1169 // needs to acknowledge this page. 1176 // needs to acknowledge this page.
1170 const char kKnownBackgroundPages[] = "background_pages.known"; 1177 const char kKnownBackgroundPages[] = "background_pages.known";
1171 } // namespace prefs 1178 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698