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 2151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2162 const char kComponentUpdaterState[] = "component_updater.state"; | 2162 const char kComponentUpdaterState[] = "component_updater.state"; |
2163 | 2163 |
2164 // The next media gallery ID to assign. | 2164 // The next media gallery ID to assign. |
2165 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; | 2165 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; |
2166 | 2166 |
2167 // A list of dictionaries, where each dictionary represents a known media | 2167 // A list of dictionaries, where each dictionary represents a known media |
2168 // gallery. | 2168 // gallery. |
2169 const char kMediaGalleriesRememberedGalleries[] = | 2169 const char kMediaGalleriesRememberedGalleries[] = |
2170 "media_galleries.remembered_galleries"; | 2170 "media_galleries.remembered_galleries"; |
2171 | 2171 |
2172 #if defined(USE_AURA) | 2172 #if defined(USE_ASH) |
2173 // |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The | 2173 // |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The |
2174 // local variant is not synced and is used if set. If the local variant is not | 2174 // local variant is not synced and is used if set. If the local variant is not |
2175 // set its value is set from the synced value (once prefs have been | 2175 // set its value is set from the synced value (once prefs have been |
2176 // synced). This gives a per-machine setting that is initialized from the last | 2176 // synced). This gives a per-machine setting that is initialized from the last |
2177 // set value. | 2177 // set value. |
2178 // These values are default on the machine but can be overridden by per-display | 2178 // These values are default on the machine but can be overridden by per-display |
2179 // values in kShelfPreferences (unless overridden by managed policy). | 2179 // values in kShelfPreferences (unless overridden by managed policy). |
2180 // String value corresponding to ash::Shell::ShelfAlignment. | 2180 // String value corresponding to ash::Shell::ShelfAlignment. |
2181 const char kShelfAlignment[] = "shelf_alignment"; | 2181 const char kShelfAlignment[] = "shelf_alignment"; |
2182 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; | 2182 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; |
2183 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. | 2183 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. |
2184 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; | 2184 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; |
2185 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; | 2185 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; |
2186 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; | 2186 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; |
2187 // Boolean value indicating whether to show a logout button in the ash tray. | 2187 // Boolean value indicating whether to show a logout button in the ash tray. |
2188 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; | 2188 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; |
2189 // Dictionary value that holds per-display preference of shelf alignment and | 2189 // Dictionary value that holds per-display preference of shelf alignment and |
2190 // auto-hide behavior. Key of the dictionary is the id of the display, and | 2190 // auto-hide behavior. Key of the dictionary is the id of the display, and |
2191 // its value is a dictionary whose keys are kShelfAlignment and | 2191 // its value is a dictionary whose keys are kShelfAlignment and |
2192 // kShelfAutoHideBehavior. | 2192 // kShelfAutoHideBehavior. |
2193 const char kShelfPreferences[] = "shelf_preferences"; | 2193 const char kShelfPreferences[] = "shelf_preferences"; |
2194 | 2194 |
| 2195 // Tuning settings for the animations when a user is cycling through workspaces |
| 2196 // via a three finger vertical scroll. |
| 2197 const char kWorkspaceCyclerShallowerThanSelectedYOffsets[] = |
| 2198 "workspace_cycler.shallower_than_selected_y_offsets"; |
| 2199 const char kWorkspaceCyclerDeeperThanSelectedYOffsets[] = |
| 2200 "workspace_cycler.deeper_than_selected_y_offsets"; |
| 2201 const char kWorkspaceCyclerSelectedYOffset[] = |
| 2202 "workspace_cycler.selected_y_offset"; |
| 2203 const char kWorkspaceCyclerSelectedScale[] = |
| 2204 "workspace_cycler.selected_scale"; |
| 2205 const char kWorkspaceCyclerMinScale[] = |
| 2206 "workspace_cycler.min_scale"; |
| 2207 const char kWorkspaceCyclerMaxScale[] = |
| 2208 "workspace_cycler.max_scale"; |
| 2209 const char kWorkspaceCyclerMinBrightness[] = |
| 2210 "workspace_cycler.min_brightness"; |
| 2211 const char kWorkspaceCyclerBackgroundOpacity[] = |
| 2212 "workspace_cycler.background_opacity"; |
| 2213 const char kWorkspaceCyclerDistanceToInitiateCycling[] = |
| 2214 "workspace_cycler.distance_to_initiate_cycling"; |
| 2215 const char kWorkspaceCyclerScrollDistanceToCycleToNextWorkspace[] = |
| 2216 "workspace_cycler.scroll_distance_to_cycle_to_next_workspace"; |
| 2217 const char kWorkspaceCyclerCyclerStepAnimationDurationRatio[] = |
| 2218 "workspace_cycler.cycler_step_animation_duration_ratio"; |
| 2219 const char kWorkspaceCyclerStartCyclerAnimationDuration[] = |
| 2220 "workspace_cycler.start_cycler_animation_duration"; |
| 2221 const char kWorkspaceCyclerStopCyclerAnimationDuration[] = |
| 2222 "workspace_cycler.stop_cycler_animation_duration"; |
| 2223 #endif |
| 2224 |
| 2225 #if defined(USE_AURA) |
| 2226 // Tuning settings for gestures. |
2195 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; | 2227 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; |
2196 const char kLongPressTimeInSeconds[] = | 2228 const char kLongPressTimeInSeconds[] = |
2197 "gesture.long_press_time_in_seconds"; | 2229 "gesture.long_press_time_in_seconds"; |
2198 const char kMaxDistanceBetweenTapsForDoubleTap[] = | 2230 const char kMaxDistanceBetweenTapsForDoubleTap[] = |
2199 "gesture.max_distance_between_taps_for_double_tap"; | 2231 "gesture.max_distance_between_taps_for_double_tap"; |
2200 const char kMaxDistanceForTwoFingerTapInPixels[] = | 2232 const char kMaxDistanceForTwoFingerTapInPixels[] = |
2201 "gesture.max_distance_for_two_finger_tap_in_pixels"; | 2233 "gesture.max_distance_for_two_finger_tap_in_pixels"; |
2202 const char kMaxSecondsBetweenDoubleClick[] = | 2234 const char kMaxSecondsBetweenDoubleClick[] = |
2203 "gesture.max_seconds_between_double_click"; | 2235 "gesture.max_seconds_between_double_click"; |
2204 const char kMaxSeparationForGestureTouchesInPixels[] = | 2236 const char kMaxSeparationForGestureTouchesInPixels[] = |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2283 const char kRLZDisabled[] = "rlz.disabled"; | 2315 const char kRLZDisabled[] = "rlz.disabled"; |
2284 #endif | 2316 #endif |
2285 | 2317 |
2286 #if defined(ENABLE_APP_LIST) | 2318 #if defined(ENABLE_APP_LIST) |
2287 // The directory in user data dir that contains the profile to be used with the | 2319 // The directory in user data dir that contains the profile to be used with the |
2288 // app launcher. | 2320 // app launcher. |
2289 extern const char kAppListProfile[] = "app_list.profile"; | 2321 extern const char kAppListProfile[] = "app_list.profile"; |
2290 #endif | 2322 #endif |
2291 | 2323 |
2292 } // namespace prefs | 2324 } // namespace prefs |
OLD | NEW |