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

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: Unified Units Created 8 years, 9 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
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 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 const char kComponentUpdaterState[] = "component_updater.state"; 1779 const char kComponentUpdaterState[] = "component_updater.state";
1780 1780
1781 // Boolean pref indicating whether the session restore dialog has been shown. 1781 // Boolean pref indicating whether the session restore dialog has been shown.
1782 const char kRestoreSessionStateDialogShown[] = 1782 const char kRestoreSessionStateDialogShown[] =
1783 "restore_session_state.dialog_shown"; 1783 "restore_session_state.dialog_shown";
1784 1784
1785 // Boolean that is true if Web Intents is enabled. 1785 // Boolean that is true if Web Intents is enabled.
1786 const char kWebIntentsEnabled[] = "webintents.enabled"; 1786 const char kWebIntentsEnabled[] = "webintents.enabled";
1787 1787
1788 #if defined(USE_AURA) 1788 #if defined(USE_AURA)
1789 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; 1789 const char kPinnedLauncherApps[] =
1790 "pinned_launcher_apps";
1790 1791
1791 const char kMaximumSecondsBetweenDoubleClick[] = 1792 const char kLongPressTimeInSeconds[] =
1792 "gesture.maximum_seconds_between_double_click"; 1793 "gesture.long_press_time_in_seconds";
1793 const char kMaximumTouchDownDurationInSecondsForClick[] = 1794 const char kMaxSecondsBetweenDoubleClick[] =
1794 "gesture.maximum_touch_down_duration_in_seconds_for_click"; 1795 "gesture.max_seconds_between_double_click";
1795 const char kMaximumTouchMoveInPixelsForClick[] = 1796 const char kMaxTouchDownDurationInSecondsForClick[] =
1796 "gesture.maximum_touch_move_in_pixels_for_click"; 1797 "gesture.max_touch_down_duration_in_seconds_for_click";
1798 const char kMaxTouchMoveInPixelsForClick[] =
1799 "gesture.max_touch_move_in_pixels_for_click";
1800 const char kMinDistanceForPinchScrollInPixels[] =
1801 "gesture.min_distance_for_pinch_scroll_in_pixels";
1797 const char kMinFlickSpeedSquared[] = 1802 const char kMinFlickSpeedSquared[] =
1798 "gesture.min_flick_speed_squared"; 1803 "gesture.min_flick_speed_squared";
1799 const char kMinimumTouchDownDurationInSecondsForClick[] = 1804 const char kMinPinchUpdateDistanceInPixels[] =
1800 "gesture.minimum_touch_down_duration_in_seconds_for_click"; 1805 "gesture.min_pinch_update_distance_in_pixels";
1806 const char kMinRailBreakVelocity[] =
1807 "gesture.min_rail_break_velocity";
1808 const char kMinScrollDeltaSquared[] =
1809 "gesture.min_scroll_delta_squared";
1810 const char kMinTouchDownDurationInSecondsForClick[] =
1811 "gesture.min_touch_down_duration_in_seconds_for_click";
1812 const char kPointsBufferedForVelocity[] =
1813 "gesture.points_buffered_for_velocity";
1814 const char kRailBreakProportion[] =
1815 "gesture.rail_break_proportion";
1816 const char kRailStartProportion[] =
1817 "gesture.rail_start_proportion";
1801 #endif 1818 #endif
1802 1819
1803 // Indicates whether the browser is in managed mode. 1820 // Indicates whether the browser is in managed mode.
1804 const char kInManagedMode[] = "managed_mode"; 1821 const char kInManagedMode[] = "managed_mode";
1805 1822
1806 } // namespace prefs 1823 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698