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

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

Issue 725293005: We previously had a setting in chrome defaults but this deprecates that for a command line flag and… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171_62
Patch Set: Created 6 years 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/oobe_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/oobe_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698