| 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 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2147 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; | 2147 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; |
| 2148 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; | 2148 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; |
| 2149 // Boolean value indicating whether to show a logout button in the ash tray. | 2149 // Boolean value indicating whether to show a logout button in the ash tray. |
| 2150 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; | 2150 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; |
| 2151 // Dictionary value that holds per-display preference of shelf alignment and | 2151 // Dictionary value that holds per-display preference of shelf alignment and |
| 2152 // auto-hide behavior. Key of the dictionary is the id of the display, and | 2152 // auto-hide behavior. Key of the dictionary is the id of the display, and |
| 2153 // its value is a dictionary whose keys are kShelfAlignment and | 2153 // its value is a dictionary whose keys are kShelfAlignment and |
| 2154 // kShelfAutoHideBehavior. | 2154 // kShelfAutoHideBehavior. |
| 2155 const char kShelfPreferences[] = "shelf_preferences"; | 2155 const char kShelfPreferences[] = "shelf_preferences"; |
| 2156 | 2156 |
| 2157 // Tuning settings for the animations when a user is cycling through workspaces |
| 2158 // via a three finger vertical scroll. |
| 2159 const char kWorkspaceCyclerShallowerThanSelectedYOffsets[] = |
| 2160 "workspace_cycler.shallower_than_selected_y_offsets"; |
| 2161 const char kWorkspaceCyclerDeeperThanSelectedYOffsets[] = |
| 2162 "workspace_cycler.deeper_than_selected_y_offsets"; |
| 2163 const char kWorkspaceCyclerSelectedYOffset[] = |
| 2164 "workspace_cycler.selected_y_offset"; |
| 2165 const char kWorkspaceCyclerSelectedScale[] = |
| 2166 "workspace_cycler.selected_scale"; |
| 2167 const char kWorkspaceCyclerMinScale[] = |
| 2168 "workspace_cycler.min_scale"; |
| 2169 const char kWorkspaceCyclerMaxScale[] = |
| 2170 "workspace_cycler.max_scale"; |
| 2171 const char kWorkspaceCyclerMinBrightness[] = |
| 2172 "workspace_cycler.min_brightness"; |
| 2173 const char kWorkspaceCyclerBackgroundOpacity[] = |
| 2174 "workspace_cycler.background_opacity"; |
| 2175 const char kWorkspaceCyclerDistanceToInitiateCycling[] = |
| 2176 "workspace_cycler.distance_to_initiate_cycling"; |
| 2177 const char kWorkspaceCyclerScrollDistanceToCycleToNextWorkspace[] = |
| 2178 "workspace_cycler.scroll_distance_to_cycle_to_next_workspace"; |
| 2179 const char kWorkspaceCyclerCyclerStepAnimationDurationRatio[] = |
| 2180 "workspace_cycler.cycler_step_animation_duration_ratio"; |
| 2181 const char kWorkspaceCyclerStartCyclerAnimationDuration[] = |
| 2182 "workspace_cycler.start_cycler_animation_duration"; |
| 2183 const char kWorkspaceCyclerStopCyclerAnimationDuration[] = |
| 2184 "workspace_cycler.stop_cycler_animation_duration"; |
| 2185 |
| 2186 // Tuning settings for gestures. |
| 2157 const char kFlingMaxCancelToDownTimeInMs[] = | 2187 const char kFlingMaxCancelToDownTimeInMs[] = |
| 2158 "gesture.fling_max_cancel_to_down_time_in_ms"; | 2188 "gesture.fling_max_cancel_to_down_time_in_ms"; |
| 2159 const char kFlingMaxTapGapTimeInMs[] = | 2189 const char kFlingMaxTapGapTimeInMs[] = |
| 2160 "gesture.fling_max_tap_gap_time_in_ms"; | 2190 "gesture.fling_max_tap_gap_time_in_ms"; |
| 2161 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; | 2191 const char kFlingVelocityCap[] = "gesture.fling_velocity_cap"; |
| 2162 const char kLongPressTimeInSeconds[] = | 2192 const char kLongPressTimeInSeconds[] = |
| 2163 "gesture.long_press_time_in_seconds"; | 2193 "gesture.long_press_time_in_seconds"; |
| 2164 const char kMaxDistanceBetweenTapsForDoubleTap[] = | 2194 const char kMaxDistanceBetweenTapsForDoubleTap[] = |
| 2165 "gesture.max_distance_between_taps_for_double_tap"; | 2195 "gesture.max_distance_between_taps_for_double_tap"; |
| 2166 const char kMaxDistanceForTwoFingerTapInPixels[] = | 2196 const char kMaxDistanceForTwoFingerTapInPixels[] = |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2240 const char kRLZDisabled[] = "rlz.disabled"; | 2270 const char kRLZDisabled[] = "rlz.disabled"; |
| 2241 #endif | 2271 #endif |
| 2242 | 2272 |
| 2243 #if defined(ENABLE_APP_LIST) | 2273 #if defined(ENABLE_APP_LIST) |
| 2244 // The directory in user data dir that contains the profile to be used with the | 2274 // The directory in user data dir that contains the profile to be used with the |
| 2245 // app launcher. | 2275 // app launcher. |
| 2246 extern const char kAppListProfile[] = "app_list.profile"; | 2276 extern const char kAppListProfile[] = "app_list.profile"; |
| 2247 #endif | 2277 #endif |
| 2248 | 2278 |
| 2249 } // namespace prefs | 2279 } // namespace prefs |
| OLD | NEW |