Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 725243002: add flag to disable link disambiguation popup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 }, 1646 },
1647 #endif 1647 #endif
1648 #if defined(TOOLKIT_VIEWS) 1648 #if defined(TOOLKIT_VIEWS)
1649 { 1649 {
1650 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA 1650 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA
1651 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, 1651 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME,
1652 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, 1652 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION,
1653 kOsCrOS | kOsWin | kOsLinux, 1653 kOsCrOS | kOsWin | kOsLinux,
1654 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) 1654 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting)
1655 }, 1655 },
1656 {
1657 "enable-link-disambiguation-popup",
1658 IDS_FLAGS_ENABLE_LINK_DISAMBIGUATION_POPUP_NAME,
1659 IDS_FLAGS_ENABLE_LINK_DISAMBIGUATION_POPUP_DESCRIPTION,
1660 kOsCrOS | kOSWin,
1661 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup)
luken 2014/11/14 19:56:53 ENABLE_DISABLE_VALUE_TYPE
1662 },
1656 #endif 1663 #endif
1657 #if defined(ENABLE_EXTENSIONS) 1664 #if defined(ENABLE_EXTENSIONS)
1658 { 1665 {
1659 "enable-apps-show-on-first-paint", 1666 "enable-apps-show-on-first-paint",
1660 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, 1667 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME,
1661 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, 1668 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION,
1662 kOsDesktop, 1669 kOsDesktop,
1663 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint) 1670 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)
1664 }, 1671 },
1665 #endif 1672 #endif
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
2641 } 2648 }
2642 2649
2643 const Experiment* GetExperiments(size_t* count) { 2650 const Experiment* GetExperiments(size_t* count) {
2644 *count = num_experiments; 2651 *count = num_experiments;
2645 return experiments; 2652 return experiments;
2646 } 2653 }
2647 2654
2648 } // namespace testing 2655 } // namespace testing
2649 2656
2650 } // namespace about_flags 2657 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698