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

Unified Diff: chrome/common/pref_names.cc

Issue 12212040: Make the workspace cycler animation parameters editable via chrome://gesture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 2cb24e50d0f0e4dcd36b7e06278ff6f6caa01006..f5b3e428134c93043b2682cdec75c37bee8d2390 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -2169,7 +2169,7 @@ const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id";
const char kMediaGalleriesRememberedGalleries[] =
"media_galleries.remembered_galleries";
-#if defined(USE_AURA)
+#if defined(USE_ASH)
// |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The
// local variant is not synced and is used if set. If the local variant is not
// set its value is set from the synced value (once prefs have been
@@ -2192,6 +2192,38 @@ const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray";
// kShelfAutoHideBehavior.
const char kShelfPreferences[] = "shelf_preferences";
+// Tuning settings for the animations when a user is cycling through workspaces
+// via a three finger vertical scroll.
+const char kWorkspaceCyclerShallowerThanSelectedYOffsets[] =
+ "workspace_cycler.shallower_than_selected_y_offsets";
+const char kWorkspaceCyclerDeeperThanSelectedYOffsets[] =
+ "workspace_cycler.deeper_than_selected_y_offsets";
+const char kWorkspaceCyclerSelectedYOffset[] =
+ "workspace_cycler.selected_y_offset";
+const char kWorkspaceCyclerSelectedScale[] =
+ "workspace_cycler.selected_scale";
+const char kWorkspaceCyclerMinScale[] =
+ "workspace_cycler.min_scale";
+const char kWorkspaceCyclerMaxScale[] =
+ "workspace_cycler.max_scale";
+const char kWorkspaceCyclerMinBrightness[] =
+ "workspace_cycler.min_brightness";
+const char kWorkspaceCyclerBackgroundOpacity[] =
+ "workspace_cycler.background_opacity";
+const char kWorkspaceCyclerDistanceToInitiateCycling[] =
+ "workspace_cycler.distance_to_initiate_cycling";
+const char kWorkspaceCyclerScrollDistanceToCycleToNextWorkspace[] =
+ "workspace_cycler.scroll_distance_to_cycle_to_next_workspace";
+const char kWorkspaceCyclerCyclerStepAnimationDurationRatio[] =
+ "workspace_cycler.cycler_step_animation_duration_ratio";
+const char kWorkspaceCyclerStartCyclerAnimationDuration[] =
+ "workspace_cycler.start_cycler_animation_duration";
+const char kWorkspaceCyclerStopCyclerAnimationDuration[] =
+ "workspace_cycler.stop_cycler_animation_duration";
+#endif
+
+#if defined(USE_AURA)
+// Tuning settings for gestures.
const char kFlingVelocityCap[] = "gesture.fling_velocity_cap";
const char kLongPressTimeInSeconds[] =
"gesture.long_press_time_in_seconds";
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698