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

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

Issue 9751011: Gesture recognition constants should all be stored in the GestureConfiguration object. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Freshen Created 8 years, 8 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | ui/aura/gestures/gesture_configuration.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 const char kComponentUpdaterState[] = "component_updater.state"; 1777 const char kComponentUpdaterState[] = "component_updater.state";
1778 1778
1779 // Boolean pref indicating whether the session restore dialog has been shown. 1779 // Boolean pref indicating whether the session restore dialog has been shown.
1780 const char kRestoreSessionStateDialogShown[] = 1780 const char kRestoreSessionStateDialogShown[] =
1781 "restore_session_state.dialog_shown"; 1781 "restore_session_state.dialog_shown";
1782 1782
1783 // Boolean that is true if Web Intents is enabled. 1783 // Boolean that is true if Web Intents is enabled.
1784 const char kWebIntentsEnabled[] = "webintents.enabled"; 1784 const char kWebIntentsEnabled[] = "webintents.enabled";
1785 1785
1786 #if defined(USE_AURA) 1786 #if defined(USE_AURA)
1787 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; 1787 // Boolean value indicating whether the shelf always hides.
1788 const char kAlwaysAutoHideShelf[] =
1789 "auto_hide_shelf";
1790 // String value corresponding to ash::Shell::ShelfAutoHideBehavior.
1791 const char kShelfAutoHideBehavior[] =
1792 "auto_hide_behavior";
1793 const char kPinnedLauncherApps[] =
1794 "pinned_launcher_apps";
1788 1795
1789 const char kMaximumSecondsBetweenDoubleClick[] = 1796 const char kLongPressTimeInSeconds[] =
1790 "gesture.maximum_seconds_between_double_click"; 1797 "gesture.long_press_time_in_seconds";
1791 const char kMaximumTouchDownDurationInSecondsForClick[] = 1798 const char kMaxSecondsBetweenDoubleClick[] =
1792 "gesture.maximum_touch_down_duration_in_seconds_for_click"; 1799 "gesture.max_seconds_between_double_click";
1793 const char kMaximumTouchMoveInPixelsForClick[] = 1800 const char kMaxSeparationForGestureTouchesInPixels[] =
1794 "gesture.maximum_touch_move_in_pixels_for_click"; 1801 "gesture.max_separation_for_gesture_touches_in_pixels";
1802 const char kMaxTouchDownDurationInSecondsForClick[] =
1803 "gesture.max_touch_down_duration_in_seconds_for_click";
1804 const char kMaxTouchMoveInPixelsForClick[] =
1805 "gesture.max_touch_move_in_pixels_for_click";
1806 const char kMinDistanceForPinchScrollInPixels[] =
1807 "gesture.min_distance_for_pinch_scroll_in_pixels";
1795 const char kMinFlickSpeedSquared[] = 1808 const char kMinFlickSpeedSquared[] =
1796 "gesture.min_flick_speed_squared"; 1809 "gesture.min_flick_speed_squared";
1797 const char kMinimumTouchDownDurationInSecondsForClick[] = 1810 const char kMinPinchUpdateDistanceInPixels[] =
1798 "gesture.minimum_touch_down_duration_in_seconds_for_click"; 1811 "gesture.min_pinch_update_distance_in_pixels";
1799 1812 const char kMinRailBreakVelocity[] =
1800 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. 1813 "gesture.min_rail_break_velocity";
1801 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; 1814 const char kMinScrollDeltaSquared[] =
1802 1815 "gesture.min_scroll_delta_squared";
1816 const char kMinTouchDownDurationInSecondsForClick[] =
1817 "gesture.min_touch_down_duration_in_seconds_for_click";
1818 const char kPointsBufferedForVelocity[] =
1819 "gesture.points_buffered_for_velocity";
1820 const char kRailBreakProportion[] =
1821 "gesture.rail_break_proportion";
1822 const char kRailStartProportion[] =
1823 "gesture.rail_start_proportion";
1803 #endif 1824 #endif
1804 1825
1805 // Indicates whether the browser is in managed mode. 1826 // Indicates whether the browser is in managed mode.
1806 const char kInManagedMode[] = "managed_mode"; 1827 const char kInManagedMode[] = "managed_mode";
1807 1828
1808 } // namespace prefs 1829 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | ui/aura/gestures/gesture_configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698