| 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 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1573 #if defined(TOOLKIT_VIEWS) | 1573 #if defined(TOOLKIT_VIEWS) |
| 1574 { | 1574 { |
| 1575 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA | 1575 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA |
| 1576 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, | 1576 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, |
| 1577 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, | 1577 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, |
| 1578 kOsCrOS | kOsWin, | 1578 kOsCrOS | kOsWin, |
| 1579 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) | 1579 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) |
| 1580 }, | 1580 }, |
| 1581 #endif | 1581 #endif |
| 1582 { | 1582 { |
| 1583 "enable-apps-show-on-first-paint", | 1583 "disable-apps-show-on-first-paint", |
| 1584 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, | 1584 IDS_FLAGS_DISABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, |
| 1585 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, | 1585 IDS_FLAGS_DISABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, |
| 1586 kOsDesktop, | 1586 kOsDesktop, |
| 1587 SINGLE_VALUE_TYPE(switches::kEnableAppsShowOnFirstPaint) | 1587 SINGLE_VALUE_TYPE(switches::kDisableAppsShowOnFirstPaint) |
| 1588 }, | 1588 }, |
| 1589 { | 1589 { |
| 1590 "enhanced-bookmarks-experiment", | 1590 "enhanced-bookmarks-experiment", |
| 1591 IDS_FLAGS_ENABLE_ENHANCED_BOOKMARKS_NAME, | 1591 IDS_FLAGS_ENABLE_ENHANCED_BOOKMARKS_NAME, |
| 1592 IDS_FLAGS_ENABLE_ENHANCED_BOOKMARKS_DESCRIPTION, | 1592 IDS_FLAGS_ENABLE_ENHANCED_BOOKMARKS_DESCRIPTION, |
| 1593 kOsDesktop, | 1593 kOsDesktop, |
| 1594 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( | 1594 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 1595 switches::kEnhancedBookmarksExperiment, "1", | 1595 switches::kEnhancedBookmarksExperiment, "1", |
| 1596 switches::kEnhancedBookmarksExperiment, "0") | 1596 switches::kEnhancedBookmarksExperiment, "0") |
| 1597 }, | 1597 }, |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2362 } | 2362 } |
| 2363 | 2363 |
| 2364 const Experiment* GetExperiments(size_t* count) { | 2364 const Experiment* GetExperiments(size_t* count) { |
| 2365 *count = num_experiments; | 2365 *count = num_experiments; |
| 2366 return experiments; | 2366 return experiments; |
| 2367 } | 2367 } |
| 2368 | 2368 |
| 2369 } // namespace testing | 2369 } // namespace testing |
| 2370 | 2370 |
| 2371 } // namespace about_flags | 2371 } // namespace about_flags |
| OLD | NEW |