OLD | NEW |
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 IDS_FLAGS_ENABLE_ASYNCHRONOUS_SPELLCHECKING, | 618 IDS_FLAGS_ENABLE_ASYNCHRONOUS_SPELLCHECKING, |
619 IDS_FLAGS_ENABLE_ASYNCHRONOUS_SPELLCHECKING_DESCRIPTION, | 619 IDS_FLAGS_ENABLE_ASYNCHRONOUS_SPELLCHECKING_DESCRIPTION, |
620 kOsAll, | 620 kOsAll, |
621 SINGLE_VALUE_TYPE(switches::kEnableAsynchronousSpellChecking) | 621 SINGLE_VALUE_TYPE(switches::kEnableAsynchronousSpellChecking) |
622 }, | 622 }, |
623 #endif | 623 #endif |
624 { | 624 { |
625 "touch-optimized-ui", | 625 "touch-optimized-ui", |
626 IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME, | 626 IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME, |
627 IDS_FLAGS_TOUCH_OPTIMIZED_UI_DESCRIPTION, | 627 IDS_FLAGS_TOUCH_OPTIMIZED_UI_DESCRIPTION, |
628 kOsWin | kOsCrOS, | 628 kOsCrOS, |
629 MULTI_VALUE_TYPE(kTouchOptimizedUIChoices) | 629 MULTI_VALUE_TYPE(kTouchOptimizedUIChoices) |
630 }, | 630 }, |
631 { | 631 { |
632 "enable-touch-events", | 632 "enable-touch-events", |
633 IDS_ENABLE_TOUCH_EVENTS_NAME, | 633 IDS_ENABLE_TOUCH_EVENTS_NAME, |
634 IDS_ENABLE_TOUCH_EVENTS_DESCRIPTION, | 634 IDS_ENABLE_TOUCH_EVENTS_DESCRIPTION, |
635 kOsAll, | 635 kOsAll, |
636 SINGLE_VALUE_TYPE(switches::kEnableTouchEvents) | 636 SINGLE_VALUE_TYPE(switches::kEnableTouchEvents) |
637 }, | 637 }, |
638 #if defined(OS_CHROMEOS) | 638 #if defined(OS_CHROMEOS) |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 } | 1153 } |
1154 | 1154 |
1155 const Experiment* GetExperiments(size_t* count) { | 1155 const Experiment* GetExperiments(size_t* count) { |
1156 *count = num_experiments; | 1156 *count = num_experiments; |
1157 return experiments; | 1157 return experiments; |
1158 } | 1158 } |
1159 | 1159 |
1160 } // namespace testing | 1160 } // namespace testing |
1161 | 1161 |
1162 } // namespace about_flags | 1162 } // namespace about_flags |
OLD | NEW |