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

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

Issue 254393008: Enabling new-style 'virtual viewport' pinch by default on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('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/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 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 kOsAll, 977 kOsAll,
978 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud) 978 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
979 }, 979 },
980 { 980 {
981 "enable-pinch", 981 "enable-pinch",
982 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME, 982 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME,
983 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION, 983 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION,
984 kOsLinux | kOsWin | kOsCrOS, 984 kOsLinux | kOsWin | kOsCrOS,
985 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, switches::kDisablePinch), 985 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, switches::kDisablePinch),
986 }, 986 },
987 #endif // defined(USE_ASH)
987 { 988 {
988 "enable-pinch-virtual-viewport", 989 "enable-pinch-virtual-viewport",
989 IDS_FLAGS_ENABLE_PINCH_VIRTUAL_VIEWPORT_NAME, 990 IDS_FLAGS_ENABLE_PINCH_VIRTUAL_VIEWPORT_NAME,
990 IDS_FLAGS_ENABLE_PINCH_VIRTUAL_VIEWPORT_DESCRIPTION, 991 IDS_FLAGS_ENABLE_PINCH_VIRTUAL_VIEWPORT_DESCRIPTION,
991 kOsLinux | kOsWin | kOsCrOS, 992 kOsLinux | kOsWin | kOsAndroid,
992 SINGLE_VALUE_TYPE(cc::switches::kEnablePinchVirtualViewport), 993 SINGLE_VALUE_TYPE(cc::switches::kEnablePinchVirtualViewport),
993 }, 994 },
994 #endif // defined(USE_ASH)
995 { 995 {
996 "enable-viewport-meta", 996 "enable-viewport-meta",
997 IDS_FLAGS_ENABLE_VIEWPORT_META_NAME, 997 IDS_FLAGS_ENABLE_VIEWPORT_META_NAME,
998 IDS_FLAGS_ENABLE_VIEWPORT_META_DESCRIPTION, 998 IDS_FLAGS_ENABLE_VIEWPORT_META_DESCRIPTION,
999 kOsLinux | kOsWin | kOsCrOS | kOsMac, 999 kOsLinux | kOsWin | kOsCrOS | kOsMac,
1000 SINGLE_VALUE_TYPE(switches::kEnableViewportMeta), 1000 SINGLE_VALUE_TYPE(switches::kEnableViewportMeta),
1001 }, 1001 },
1002 #if defined(OS_CHROMEOS) 1002 #if defined(OS_CHROMEOS)
1003 { 1003 {
1004 "disable-boot-animation", 1004 "disable-boot-animation",
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 } 2295 }
2296 2296
2297 const Experiment* GetExperiments(size_t* count) { 2297 const Experiment* GetExperiments(size_t* count) {
2298 *count = num_experiments; 2298 *count = num_experiments;
2299 return experiments; 2299 return experiments;
2300 } 2300 }
2301 2301
2302 } // namespace testing 2302 } // namespace testing
2303 2303
2304 } // namespace about_flags 2304 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698