OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2021 | 2021 |
2022 // The next media gallery ID to assign. | 2022 // The next media gallery ID to assign. |
2023 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; | 2023 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; |
2024 | 2024 |
2025 // A list of dictionaries, where each dictionary represents a known media | 2025 // A list of dictionaries, where each dictionary represents a known media |
2026 // gallery. | 2026 // gallery. |
2027 const char kMediaGalleriesRememberedGalleries[] = | 2027 const char kMediaGalleriesRememberedGalleries[] = |
2028 "media_galleries.remembered_galleries"; | 2028 "media_galleries.remembered_galleries"; |
2029 | 2029 |
2030 #if defined(USE_AURA) | 2030 #if defined(USE_AURA) |
| 2031 // |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The |
| 2032 // local variant is not synced and is used if set. If the local variant is not |
| 2033 // set its value is set from the synced value (once prefs have been |
| 2034 // synced). This gives a per-machine setting that is initialized from the last |
| 2035 // set value. |
2031 // String value corresponding to ash::Shell::ShelfAlignment. | 2036 // String value corresponding to ash::Shell::ShelfAlignment. |
2032 const char kShelfAlignment[] = "shelf_alignment"; | 2037 const char kShelfAlignment[] = "shelf_alignment"; |
| 2038 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; |
2033 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. | 2039 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. |
2034 const char kShelfAutoHideBehavior[] = | 2040 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; |
2035 "auto_hide_behavior"; | 2041 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; |
2036 // Boolean value indicating whether to use default pinned apps. | 2042 // Boolean value indicating whether to use default pinned apps. |
2037 const char kUseDefaultPinnedApps[] = "use_default_pinned_apps"; | 2043 const char kUseDefaultPinnedApps[] = "use_default_pinned_apps"; |
2038 const char kPinnedLauncherApps[] = | 2044 const char kPinnedLauncherApps[] = |
2039 "pinned_launcher_apps"; | 2045 "pinned_launcher_apps"; |
2040 | 2046 |
2041 // Boolean value indicating whether launcher should run sync animation. | 2047 // Boolean value indicating whether launcher should run sync animation. |
2042 // Note this is an unsyncable pref value used as a flag per profile because sync | 2048 // Note this is an unsyncable pref value used as a flag per profile because sync |
2043 // animation should only run once for new ChromeOS login (i.e. once per created | 2049 // animation should only run once for new ChromeOS login (i.e. once per created |
2044 // profile on ChromeOS device). | 2050 // profile on ChromeOS device). |
2045 const char kLauncherShouldRunSyncAnimation[] = | 2051 const char kLauncherShouldRunSyncAnimation[] = |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2096 // Tracks the time of the last shown warning. Used to reset | 2102 // Tracks the time of the last shown warning. Used to reset |
2097 // |network_profile.warnings_left| after a silence period. | 2103 // |network_profile.warnings_left| after a silence period. |
2098 const char kNetworkProfileLastWarningTime[] = | 2104 const char kNetworkProfileLastWarningTime[] = |
2099 "network_profile.last_warning_time"; | 2105 "network_profile.last_warning_time"; |
2100 | 2106 |
2101 // 64-bit serialization of the time last policy usage statistics were collected | 2107 // 64-bit serialization of the time last policy usage statistics were collected |
2102 // by UMA_HISTOGRAM_ENUMERATION. | 2108 // by UMA_HISTOGRAM_ENUMERATION. |
2103 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2109 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
2104 | 2110 |
2105 } // namespace prefs | 2111 } // namespace prefs |
OLD | NEW |