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

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

Issue 1321713004: Flag for Material Design policy construction page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved policy page to independent page. Created 5 years, 2 months 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 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 kOsAll, 1645 kOsAll,
1646 MULTI_VALUE_TYPE(kAutofillSyncCredentialChoices)}, 1646 MULTI_VALUE_TYPE(kAutofillSyncCredentialChoices)},
1647 #if !defined(OS_ANDROID) 1647 #if !defined(OS_ANDROID)
1648 {"enable-message-center-always-scroll-up-upon-notification-removal", 1648 {"enable-message-center-always-scroll-up-upon-notification-removal",
1649 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_NAME, 1649 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_NAME,
1650 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_DESCRIPTION, 1650 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_DESCRIPTION,
1651 kOsDesktop, 1651 kOsDesktop,
1652 SINGLE_VALUE_TYPE( 1652 SINGLE_VALUE_TYPE(
1653 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)}, 1653 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)},
1654 #endif 1654 #endif
1655 {"enable-md-policy-page",
1656 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_POLICY_PAGE_NAME,
1657 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_POLICY_PAGE_DESCRIPTION,
1658 kOsDesktop,
1659 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignPolicyPage)},
1655 #if defined(OS_CHROMEOS) 1660 #if defined(OS_CHROMEOS)
1656 {"memory-pressure-thresholds", 1661 {"memory-pressure-thresholds",
1657 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_NAME, 1662 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_NAME,
1658 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_DESCRIPTION, 1663 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_DESCRIPTION,
1659 kOsCrOS, 1664 kOsCrOS,
1660 MULTI_VALUE_TYPE(kMemoryPressureThresholdChoices)}, 1665 MULTI_VALUE_TYPE(kMemoryPressureThresholdChoices)},
1661 {"wake-on-packets", 1666 {"wake-on-packets",
1662 IDS_FLAGS_WAKE_ON_PACKETS_NAME, 1667 IDS_FLAGS_WAKE_ON_PACKETS_NAME,
1663 IDS_FLAGS_WAKE_ON_PACKETS_DESCRIPTION, 1668 IDS_FLAGS_WAKE_ON_PACKETS_DESCRIPTION,
1664 kOsCrOSOwnerOnly, 1669 kOsCrOSOwnerOnly,
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 } 2713 }
2709 2714
2710 const Experiment* GetExperiments(size_t* count) { 2715 const Experiment* GetExperiments(size_t* count) {
2711 *count = num_experiments; 2716 *count = num_experiments;
2712 return experiments; 2717 return experiments;
2713 } 2718 }
2714 2719
2715 } // namespace testing 2720 } // namespace testing
2716 2721
2717 } // namespace about_flags 2722 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698