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

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

Issue 146023002: Password manager now ignores autocomplete='off' by default; user may specify a flag that says other… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 MULTI_VALUE_TYPE(kOriginChipChoices) 1940 MULTI_VALUE_TYPE(kOriginChipChoices)
1941 }, 1941 },
1942 { 1942 {
1943 "search-button-in-omnibox", 1943 "search-button-in-omnibox",
1944 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_NAME, 1944 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_NAME,
1945 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_DESCRIPTION, 1945 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_DESCRIPTION,
1946 kOsCrOS | kOsMac | kOsWin, 1946 kOsCrOS | kOsMac | kOsWin,
1947 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices) 1947 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices)
1948 }, 1948 },
1949 { 1949 {
1950 "enable-ignore-autocomplete-off", 1950 "do-not-ignore-autocomplete-off",
Patrick Dubroy 2014/01/24 16:39:10 I know it sounds a bit confusing, but "disable" is
jww 2014/01/24 18:01:14 Done.
1951 IDS_FLAGS_ENABLE_IGNORE_AUTOCOMPLETE_OFF_NAME, 1951 IDS_FLAGS_DO_NOT_IGNORE_AUTOCOMPLETE_OFF_NAME,
1952 IDS_FLAGS_ENABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION, 1952 IDS_FLAGS_DO_NOT_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION,
1953 kOsAll, 1953 kOsAll,
1954 SINGLE_VALUE_TYPE(autofill::switches::kEnableIgnoreAutocompleteOff) 1954 SINGLE_VALUE_TYPE(autofill::switches::kDoNotIgnoreAutocompleteOff)
1955 }, 1955 },
1956 #if defined(USE_AURA) || defined(OS_WIN) 1956 #if defined(USE_AURA) || defined(OS_WIN)
1957 { 1957 {
1958 "enable-save-password-bubble", 1958 "enable-save-password-bubble",
1959 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_NAME, 1959 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_NAME,
1960 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_DESCRIPTION, 1960 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_DESCRIPTION,
1961 kOsWin | kOsCrOS, 1961 kOsWin | kOsCrOS,
1962 SINGLE_VALUE_TYPE(switches::kEnableSavePasswordBubble) 1962 SINGLE_VALUE_TYPE(switches::kEnableSavePasswordBubble)
1963 }, 1963 },
1964 #endif 1964 #endif
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
2491 } 2491 }
2492 2492
2493 const Experiment* GetExperiments(size_t* count) { 2493 const Experiment* GetExperiments(size_t* count) {
2494 *count = num_experiments; 2494 *count = num_experiments;
2495 return experiments; 2495 return experiments;
2496 } 2496 }
2497 2497
2498 } // namespace testing 2498 } // namespace testing
2499 2499
2500 } // namespace about_flags 2500 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698