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

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: fix MSVC error C4373 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
« 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 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices) 1655 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices)
1656 }, 1656 },
1657 { 1657 {
1658 "disable-ignore-autocomplete-off", 1658 "disable-ignore-autocomplete-off",
1659 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_NAME, 1659 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_NAME,
1660 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION, 1660 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION,
1661 kOsAll, 1661 kOsAll,
1662 SINGLE_VALUE_TYPE(autofill::switches::kDisableIgnoreAutocompleteOff) 1662 SINGLE_VALUE_TYPE(autofill::switches::kDisableIgnoreAutocompleteOff)
1663 }, 1663 },
1664 { 1664 {
1665 "ignore-autocomplete-off-autofill",
1666 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_NAME,
1667 IDS_FLAGS_IGNORE_AUTOCOMPLETE_OFF_AUTOFILL_DESCRIPTION,
1668 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1669 SINGLE_VALUE_TYPE(autofill::switches::kIgnoreAutocompleteOffForAutofill)
1670 },
1671 {
1665 "enable-permissions-bubbles", 1672 "enable-permissions-bubbles",
1666 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME, 1673 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_NAME,
1667 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION, 1674 IDS_FLAGS_ENABLE_PERMISSIONS_BUBBLES_DESCRIPTION,
1668 kOsCrOS | kOsMac | kOsWin | kOsLinux, 1675 kOsCrOS | kOsMac | kOsWin | kOsLinux,
1669 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles, 1676 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePermissionsBubbles,
1670 switches::kDisablePermissionsBubbles) 1677 switches::kDisablePermissionsBubbles)
1671 }, 1678 },
1672 { 1679 {
1673 "enable-session-crashed-bubble", 1680 "enable-session-crashed-bubble",
1674 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME, 1681 IDS_FLAGS_ENABLE_SESSION_CRASHED_BUBBLE_NAME,
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 } 2564 }
2558 2565
2559 const Experiment* GetExperiments(size_t* count) { 2566 const Experiment* GetExperiments(size_t* count) {
2560 *count = num_experiments; 2567 *count = num_experiments;
2561 return experiments; 2568 return experiments;
2562 } 2569 }
2563 2570
2564 } // namespace testing 2571 } // namespace testing
2565 2572
2566 } // namespace about_flags 2573 } // 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