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

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

Issue 667043002: Add a flag to ignore autocomplete="off" for Autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: about:flags Created 6 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_content_browser_client.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 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices) 1648 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices)
1649 }, 1649 },
1650 { 1650 {
1651 "disable-ignore-autocomplete-off", 1651 "disable-ignore-autocomplete-off",
1652 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_NAME, 1652 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_NAME,
1653 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION, 1653 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION,
1654 kOsAll, 1654 kOsAll,
1655 SINGLE_VALUE_TYPE(autofill::switches::kDisableIgnoreAutocompleteOff) 1655 SINGLE_VALUE_TYPE(autofill::switches::kDisableIgnoreAutocompleteOff)
1656 }, 1656 },
1657 { 1657 {
1658 "ignore-autocomplete-off-autofill",
Evan Stade 2014/10/21 19:32:13 Also added an entry here. It's limited to desktop
1659 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_NAME,
1660 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_DESCRIPTION,
1661 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1662 SINGLE_VALUE_TYPE(autofill::switches::kIgnoreAutocompleteOffForAutofill)
1663 },
1664 {
1658 "enable-permissions-bubbles", 1665 "enable-permissions-bubbles",
1659 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME, 1666 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME,
1660 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION, 1667 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION,
1661 kOsCrOS | kOsMac | kOsWin | kOsLinux, 1668 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1662 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles, 1669 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles,
1663 switches::kDisablePermissionsBubbles) 1670 switches::kDisablePermissionsBubbles)
1664 }, 1671 },
1665 { 1672 {
1666 "enable-session-crashed-bubble", 1673 "enable-session-crashed-bubble",
1667 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME, 1674 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME,
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
2550 } 2557 }
2551 2558
2552 const Experiment* GetExperiments(size_t* count) { 2559 const Experiment* GetExperiments(size_t* count) {
2553 *count = num_experiments; 2560 *count = num_experiments;
2554 return experiments; 2561 return experiments;
2555 } 2562 }
2556 2563
2557 } // namespace testing 2564 } // namespace testing
2558 2565
2559 } // namespace about_flags 2566 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698