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 <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1602 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_DESCRIPTION, | 1602 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_DESCRIPTION, |
1603 kOsMac, | 1603 kOsMac, |
1604 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX) | 1604 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX) |
1605 }, | 1605 }, |
1606 #endif | 1606 #endif |
1607 #if defined(TOOLKIT_VIEWS) | 1607 #if defined(TOOLKIT_VIEWS) |
1608 { | 1608 { |
1609 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA | 1609 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA |
1610 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, | 1610 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, |
1611 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, | 1611 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, |
1612 kOsCrOS | kOsWin, | 1612 kOsCrOS | kOsWin | kOsLinux, |
1613 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) | 1613 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) |
1614 }, | 1614 }, |
1615 #endif | 1615 #endif |
1616 { | 1616 { |
1617 "enable-apps-show-on-first-paint", | 1617 "enable-apps-show-on-first-paint", |
1618 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, | 1618 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, |
1619 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, | 1619 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, |
1620 kOsDesktop, | 1620 kOsDesktop, |
1621 SINGLE_VALUE_TYPE(switches::kEnableAppsShowOnFirstPaint) | 1621 SINGLE_VALUE_TYPE(switches::kEnableAppsShowOnFirstPaint) |
1622 }, | 1622 }, |
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2454 } | 2454 } |
2455 | 2455 |
2456 const Experiment* GetExperiments(size_t* count) { | 2456 const Experiment* GetExperiments(size_t* count) { |
2457 *count = num_experiments; | 2457 *count = num_experiments; |
2458 return experiments; | 2458 return experiments; |
2459 } | 2459 } |
2460 | 2460 |
2461 } // namespace testing | 2461 } // namespace testing |
2462 | 2462 |
2463 } // namespace about_flags | 2463 } // namespace about_flags |
OLD | NEW |