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

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

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Vaclav's review comments. Created 5 years, 5 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/browser/about_flags.cc ('k') | components/autofill.gypi » ('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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 1402
1403 // Please keep this in alphabetical order. 1403 // Please keep this in alphabetical order.
1404 static const char* const kSwitchNames[] = { 1404 static const char* const kSwitchNames[] = {
1405 autofill::switches::kDisableFillOnAccountSelect, 1405 autofill::switches::kDisableFillOnAccountSelect,
1406 autofill::switches::kDisablePasswordGeneration, 1406 autofill::switches::kDisablePasswordGeneration,
1407 autofill::switches::kEnableAccessorySuggestionView, 1407 autofill::switches::kEnableAccessorySuggestionView,
1408 autofill::switches::kEnableFillOnAccountSelect, 1408 autofill::switches::kEnableFillOnAccountSelect,
1409 autofill::switches::kEnableFillOnAccountSelectNoHighlighting, 1409 autofill::switches::kEnableFillOnAccountSelectNoHighlighting,
1410 autofill::switches::kEnablePasswordGeneration, 1410 autofill::switches::kEnablePasswordGeneration,
1411 autofill::switches::kEnableSingleClickAutofill, 1411 autofill::switches::kEnableSingleClickAutofill,
1412 autofill::switches::kEnableSuggestionsWithSubstringMatch,
1412 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1413 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1413 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1414 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1414 #if defined(ENABLE_EXTENSIONS) 1415 #if defined(ENABLE_EXTENSIONS)
1415 extensions::switches::kAllowHTTPBackgroundPage, 1416 extensions::switches::kAllowHTTPBackgroundPage,
1416 extensions::switches::kAllowLegacyExtensionManifests, 1417 extensions::switches::kAllowLegacyExtensionManifests,
1417 extensions::switches::kEnableSurfaceWorker, 1418 extensions::switches::kEnableSurfaceWorker,
1418 extensions::switches::kEnableAppWindowControls, 1419 extensions::switches::kEnableAppWindowControls,
1419 extensions::switches::kEnableEmbeddedExtensionOptions, 1420 extensions::switches::kEnableEmbeddedExtensionOptions,
1420 extensions::switches::kEnableExperimentalExtensionApis, 1421 extensions::switches::kEnableExperimentalExtensionApis,
1421 extensions::switches::kExtensionsOnChromeURLs, 1422 extensions::switches::kExtensionsOnChromeURLs,
(...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after
2546 switches::kDisableWebRtcEncryption, 2547 switches::kDisableWebRtcEncryption,
2547 }; 2548 };
2548 to_command_line->CopySwitchesFrom(from_command_line, 2549 to_command_line->CopySwitchesFrom(from_command_line,
2549 kWebRtcDevSwitchNames, 2550 kWebRtcDevSwitchNames,
2550 arraysize(kWebRtcDevSwitchNames)); 2551 arraysize(kWebRtcDevSwitchNames));
2551 } 2552 }
2552 } 2553 }
2553 #endif // defined(ENABLE_WEBRTC) 2554 #endif // defined(ENABLE_WEBRTC)
2554 2555
2555 } // namespace chrome 2556 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/autofill.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698