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

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

Issue 753393004: Add flag for single click autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 1738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1749 { 1749 {
1750 "ignore-autocomplete-off-autofill", 1750 "ignore-autocomplete-off-autofill",
1751 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_NAME, 1751 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_NAME,
1752 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_DESCRIPTION, 1752 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_DESCRIPTION,
1753 kOsCrOS | kOsMac | kOsWin | kOsLinux, 1753 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1754 ENABLE_DISABLE_VALUE_TYPE( 1754 ENABLE_DISABLE_VALUE_TYPE(
1755 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1755 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1756 autofill::switches::kRespectAutocompleteOffForAutofill) 1756 autofill::switches::kRespectAutocompleteOffForAutofill)
1757 }, 1757 },
1758 { 1758 {
1759 "enable-single-click-autofill",
1760 IDS_FLAGS_ENABLE_SINGLE_CLICK_AUTOFILL_NAME,
1761 IDS_FLAGS_ENABLE_SINGLE_CLICK_AUTOFILL_DESCRIPTION,
1762 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1763 ENABLE_DISABLE_VALUE_TYPE(
1764 autofill::switches::kEnableSingleClickAutofill,
1765 autofill::switches::kDisableSingleClickAutofill)
1766 },
1767 {
1759 "enable-permissions-bubbles", 1768 "enable-permissions-bubbles",
1760 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME, 1769 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME,
1761 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION, 1770 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION,
1762 kOsCrOS | kOsMac | kOsWin | kOsLinux, 1771 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1763 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles, 1772 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles,
1764 switches::kDisablePermissionsBubbles) 1773 switches::kDisablePermissionsBubbles)
1765 }, 1774 },
1766 { 1775 {
1767 "enable-session-crashed-bubble", 1776 "enable-session-crashed-bubble",
1768 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME, 1777 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME,
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 } 2682 }
2674 2683
2675 const Experiment* GetExperiments(size_t* count) { 2684 const Experiment* GetExperiments(size_t* count) {
2676 *count = num_experiments; 2685 *count = num_experiments;
2677 return experiments; 2686 return experiments;
2678 } 2687 }
2679 2688
2680 } // namespace testing 2689 } // namespace testing
2681 2690
2682 } // namespace about_flags 2691 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698