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

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

Issue 11348353: Simplify pinch flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add early out if not compositing. Created 8 years 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 | « cc/switches.cc ('k') | chrome/browser/chromeos/login/login_utils.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 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 "show-touch-hud", 887 "show-touch-hud",
888 IDS_FLAGS_SHOW_TOUCH_HUD_NAME, 888 IDS_FLAGS_SHOW_TOUCH_HUD_NAME,
889 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION, 889 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION,
890 kOsAll, 890 kOsAll,
891 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud) 891 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
892 }, 892 },
893 { 893 {
894 "enable-pinch", 894 "enable-pinch",
895 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME, 895 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME,
896 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION, 896 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION,
897 kOsAll, 897 kOsLinux | kOsWin | kOsCrOS,
898 SINGLE_VALUE_TYPE(switches::kEnablePinch), 898 SINGLE_VALUE_TYPE(switches::kEnablePinch),
899 }, 899 },
900 { 900 {
901 "app-list-show-apps-only", 901 "app-list-show-apps-only",
902 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, 902 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME,
903 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, 903 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION,
904 kOsAll, 904 kOsAll,
905 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), 905 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly),
906 }, 906 },
907 #endif // defined(USE_ASH) 907 #endif // defined(USE_ASH)
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 } 1602 }
1603 1603
1604 const Experiment* GetExperiments(size_t* count) { 1604 const Experiment* GetExperiments(size_t* count) {
1605 *count = num_experiments; 1605 *count = num_experiments;
1606 return experiments; 1606 return experiments;
1607 } 1607 }
1608 1608
1609 } // namespace testing 1609 } // namespace testing
1610 1610
1611 } // namespace about_flags 1611 } // namespace about_flags
OLDNEW
« no previous file with comments | « cc/switches.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698