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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 12722002: Enable pinch & scrollbars by default for CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 IDS_FLAGS_SHOW_TOUCH_HUD_NAME, 939 IDS_FLAGS_SHOW_TOUCH_HUD_NAME,
940 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION, 940 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION,
941 kOsAll, 941 kOsAll,
942 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud) 942 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
943 }, 943 },
944 { 944 {
945 "enable-pinch", 945 "enable-pinch",
946 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME, 946 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME,
947 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION, 947 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION,
948 kOsLinux | kOsWin | kOsCrOS, 948 kOsLinux | kOsWin | kOsCrOS,
949 SINGLE_VALUE_TYPE(switches::kEnablePinch), 949 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, switches::kDisablePinch),
950 },
951 {
952 "pinch-zoom-scrollbars",
953 IDS_FLAGS_PINCH_ZOOM_SCROLLBARS_NAME,
954 IDS_FLAGS_PINCH_ZOOM_SCROLLBARS_DESCRIPTION,
955 kOsCrOS,
956 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars,
957 cc::switches::kDisablePinchZoomScrollbars)
950 }, 958 },
951 { 959 {
952 "app-list-show-apps-only", 960 "app-list-show-apps-only",
953 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, 961 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME,
954 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, 962 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION,
955 kOsAll, 963 kOsAll,
956 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), 964 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly),
957 }, 965 },
958 #endif // defined(USE_ASH) 966 #endif // defined(USE_ASH)
959 #if defined(OS_CHROMEOS) 967 #if defined(OS_CHROMEOS)
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 } 1814 }
1807 1815
1808 const Experiment* GetExperiments(size_t* count) { 1816 const Experiment* GetExperiments(size_t* count) {
1809 *count = num_experiments; 1817 *count = num_experiments;
1810 return experiments; 1818 return experiments;
1811 } 1819 }
1812 1820
1813 } // namespace testing 1821 } // namespace testing
1814 1822
1815 } // namespace about_flags 1823 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698