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 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1562 }, | 1562 }, |
1563 #endif | 1563 #endif |
1564 #if defined(TOOLKIT_VIEWS) | 1564 #if defined(TOOLKIT_VIEWS) |
1565 { | 1565 { |
1566 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA | 1566 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA |
1567 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, | 1567 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, |
1568 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, | 1568 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, |
1569 kOsCrOS | kOsWin | kOsLinux, | 1569 kOsCrOS | kOsWin | kOsLinux, |
1570 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) | 1570 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) |
1571 }, | 1571 }, |
| 1572 { |
| 1573 "disable-link-disambiguation-popup", |
| 1574 IDS_FLAGS_DISABLE_LINK_DISAMBIGUATION_POPUP_NAME, |
| 1575 IDS_FLAGS_DISABLE_LINK_DISAMBIGUATION_POPUP_DESCRIPTION, |
| 1576 kOsCrOS | kOsWin, |
| 1577 SINGLE_VALUE_TYPE(switches::kDisableLinkDisambiguationPopup) |
| 1578 }, |
1572 #endif | 1579 #endif |
1573 #if defined(ENABLE_EXTENSIONS) | 1580 #if defined(ENABLE_EXTENSIONS) |
1574 { | 1581 { |
1575 "enable-apps-show-on-first-paint", | 1582 "enable-apps-show-on-first-paint", |
1576 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, | 1583 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, |
1577 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, | 1584 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, |
1578 kOsDesktop, | 1585 kOsDesktop, |
1579 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint) | 1586 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint) |
1580 }, | 1587 }, |
1581 #endif | 1588 #endif |
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2517 } | 2524 } |
2518 | 2525 |
2519 const Experiment* GetExperiments(size_t* count) { | 2526 const Experiment* GetExperiments(size_t* count) { |
2520 *count = num_experiments; | 2527 *count = num_experiments; |
2521 return experiments; | 2528 return experiments; |
2522 } | 2529 } |
2523 | 2530 |
2524 } // namespace testing | 2531 } // namespace testing |
2525 | 2532 |
2526 } // namespace about_flags | 2533 } // namespace about_flags |
OLD | NEW |