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 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 #endif | 1663 #endif |
1664 #if defined(TOOLKIT_VIEWS) | 1664 #if defined(TOOLKIT_VIEWS) |
1665 { | 1665 { |
1666 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA | 1666 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA |
1667 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, | 1667 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, |
1668 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, | 1668 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, |
1669 kOsCrOS | kOsWin | kOsLinux, | 1669 kOsCrOS | kOsWin | kOsLinux, |
1670 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) | 1670 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) |
1671 }, | 1671 }, |
1672 { | 1672 { |
1673 "disable-link-disambiguation-popup", | 1673 "enable-link-disambiguation-popup", |
1674 IDS_FLAGS_DISABLE_LINK_DISAMBIGUATION_POPUP_NAME, | 1674 IDS_FLAGS_ENABLE_LINK_DISAMBIGUATION_POPUP_NAME, |
1675 IDS_FLAGS_DISABLE_LINK_DISAMBIGUATION_POPUP_DESCRIPTION, | 1675 IDS_FLAGS_ENABLE_LINK_DISAMBIGUATION_POPUP_DESCRIPTION, |
1676 kOsCrOS | kOsWin, | 1676 kOsCrOS | kOsWin, |
1677 SINGLE_VALUE_TYPE(switches::kDisableLinkDisambiguationPopup) | 1677 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup) |
1678 }, | 1678 }, |
1679 #endif | 1679 #endif |
1680 #if defined(ENABLE_EXTENSIONS) | 1680 #if defined(ENABLE_EXTENSIONS) |
1681 { | 1681 { |
1682 "enable-apps-show-on-first-paint", | 1682 "enable-apps-show-on-first-paint", |
1683 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, | 1683 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, |
1684 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, | 1684 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, |
1685 kOsDesktop, | 1685 kOsDesktop, |
1686 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint) | 1686 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint) |
1687 }, | 1687 }, |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2673 } | 2673 } |
2674 | 2674 |
2675 const Experiment* GetExperiments(size_t* count) { | 2675 const Experiment* GetExperiments(size_t* count) { |
2676 *count = num_experiments; | 2676 *count = num_experiments; |
2677 return experiments; | 2677 return experiments; |
2678 } | 2678 } |
2679 | 2679 |
2680 } // namespace testing | 2680 } // namespace testing |
2681 | 2681 |
2682 } // namespace about_flags | 2682 } // namespace about_flags |
OLD | NEW |