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

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 Evan's review. Created 5 years, 6 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
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 <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 1361
1362 // Please keep this in alphabetical order. 1362 // Please keep this in alphabetical order.
1363 static const char* const kSwitchNames[] = { 1363 static const char* const kSwitchNames[] = {
1364 autofill::switches::kDisableFillOnAccountSelect, 1364 autofill::switches::kDisableFillOnAccountSelect,
1365 autofill::switches::kDisablePasswordGeneration, 1365 autofill::switches::kDisablePasswordGeneration,
1366 autofill::switches::kEnableAccessorySuggestionView, 1366 autofill::switches::kEnableAccessorySuggestionView,
1367 autofill::switches::kEnableFillOnAccountSelect, 1367 autofill::switches::kEnableFillOnAccountSelect,
1368 autofill::switches::kEnableFillOnAccountSelectNoHighlighting, 1368 autofill::switches::kEnableFillOnAccountSelectNoHighlighting,
1369 autofill::switches::kEnablePasswordGeneration, 1369 autofill::switches::kEnablePasswordGeneration,
1370 autofill::switches::kEnableSingleClickAutofill, 1370 autofill::switches::kEnableSingleClickAutofill,
1371 autofill::switches::kEnableSuggestionsWithSubstringMatch,
1371 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1372 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1372 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1373 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1373 #if defined(ENABLE_EXTENSIONS) 1374 #if defined(ENABLE_EXTENSIONS)
1374 extensions::switches::kAllowHTTPBackgroundPage, 1375 extensions::switches::kAllowHTTPBackgroundPage,
1375 extensions::switches::kAllowLegacyExtensionManifests, 1376 extensions::switches::kAllowLegacyExtensionManifests,
1376 extensions::switches::kEnableSurfaceWorker, 1377 extensions::switches::kEnableSurfaceWorker,
1377 extensions::switches::kEnableAppWindowControls, 1378 extensions::switches::kEnableAppWindowControls,
1378 extensions::switches::kEnableEmbeddedExtensionOptions, 1379 extensions::switches::kEnableEmbeddedExtensionOptions,
1379 extensions::switches::kEnableExperimentalExtensionApis, 1380 extensions::switches::kEnableExperimentalExtensionApis,
1380 extensions::switches::kExtensionsOnChromeURLs, 1381 extensions::switches::kExtensionsOnChromeURLs,
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
2478 switches::kDisableWebRtcEncryption, 2479 switches::kDisableWebRtcEncryption,
2479 }; 2480 };
2480 to_command_line->CopySwitchesFrom(from_command_line, 2481 to_command_line->CopySwitchesFrom(from_command_line,
2481 kWebRtcDevSwitchNames, 2482 kWebRtcDevSwitchNames,
2482 arraysize(kWebRtcDevSwitchNames)); 2483 arraysize(kWebRtcDevSwitchNames));
2483 } 2484 }
2484 } 2485 }
2485 #endif // defined(ENABLE_WEBRTC) 2486 #endif // defined(ENABLE_WEBRTC)
2486 2487
2487 } // namespace chrome 2488 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698