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

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

Issue 10386178: ash: Add a heads-up display to track touch-point states and positions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
« ash/shell.cc ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 kOsAll, 717 kOsAll,
718 SINGLE_VALUE_TYPE(ash::switches::kEnableAppListV2), 718 SINGLE_VALUE_TYPE(ash::switches::kEnableAppListV2),
719 }, 719 },
720 { 720 {
721 "show-launcher-alignment-menu", 721 "show-launcher-alignment-menu",
722 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_NAME, 722 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_NAME,
723 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_DESCRIPTION, 723 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_DESCRIPTION,
724 kOsAll, 724 kOsAll,
725 SINGLE_VALUE_TYPE(switches::kShowLauncherAlignmentMenu) 725 SINGLE_VALUE_TYPE(switches::kShowLauncherAlignmentMenu)
726 }, 726 },
727 #endif 727 {
728 "show-touch-hud",
729 IDS_FLAGS_SHOW_TOUCH_HUD_NAME,
730 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION,
731 kOsAll,
732 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
733 },
734 #endif // defined(USE_ASH)
728 }; 735 };
729 736
730 const Experiment* experiments = kExperiments; 737 const Experiment* experiments = kExperiments;
731 size_t num_experiments = arraysize(kExperiments); 738 size_t num_experiments = arraysize(kExperiments);
732 739
733 // Stores and encapsulates the little state that about:flags has. 740 // Stores and encapsulates the little state that about:flags has.
734 class FlagsState { 741 class FlagsState {
735 public: 742 public:
736 FlagsState() : needs_restart_(false) {} 743 FlagsState() : needs_restart_(false) {}
737 void ConvertFlagsToSwitches(PrefService* prefs, CommandLine* command_line); 744 void ConvertFlagsToSwitches(PrefService* prefs, CommandLine* command_line);
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 } 1160 }
1154 1161
1155 const Experiment* GetExperiments(size_t* count) { 1162 const Experiment* GetExperiments(size_t* count) {
1156 *count = num_experiments; 1163 *count = num_experiments;
1157 return experiments; 1164 return experiments;
1158 } 1165 }
1159 1166
1160 } // namespace testing 1167 } // namespace testing
1161 1168
1162 } // namespace about_flags 1169 } // namespace about_flags
OLDNEW
« ash/shell.cc ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698