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

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: Addresses Vaclav's & Evan's Inputs. Created 5 years, 9 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 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 1385
1386 // Please keep this in alphabetical order. 1386 // Please keep this in alphabetical order.
1387 static const char* const kSwitchNames[] = { 1387 static const char* const kSwitchNames[] = {
1388 autofill::switches::kDisableFillOnAccountSelect, 1388 autofill::switches::kDisableFillOnAccountSelect,
1389 autofill::switches::kDisablePasswordGeneration, 1389 autofill::switches::kDisablePasswordGeneration,
1390 autofill::switches::kEnableFillOnAccountSelect, 1390 autofill::switches::kEnableFillOnAccountSelect,
1391 autofill::switches::kEnableFillOnAccountSelectNoHighlighting, 1391 autofill::switches::kEnableFillOnAccountSelectNoHighlighting,
1392 autofill::switches::kEnablePasswordGeneration, 1392 autofill::switches::kEnablePasswordGeneration,
1393 autofill::switches::kEnablePasswordSaveOnInPageNavigation, 1393 autofill::switches::kEnablePasswordSaveOnInPageNavigation,
1394 autofill::switches::kEnableSingleClickAutofill, 1394 autofill::switches::kEnableSingleClickAutofill,
1395 autofill::switches::kEnableSuggestionsWithSubstringMatch,
1395 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1396 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1396 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1397 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1397 autofill::switches::kRespectAutocompleteOffForAutofill, 1398 autofill::switches::kRespectAutocompleteOffForAutofill,
1398 #if defined(ENABLE_EXTENSIONS) 1399 #if defined(ENABLE_EXTENSIONS)
1399 extensions::switches::kAllowHTTPBackgroundPage, 1400 extensions::switches::kAllowHTTPBackgroundPage,
1400 extensions::switches::kAllowLegacyExtensionManifests, 1401 extensions::switches::kAllowLegacyExtensionManifests,
1401 extensions::switches::kEnableSurfaceWorker, 1402 extensions::switches::kEnableSurfaceWorker,
1402 extensions::switches::kEnableAppWindowControls, 1403 extensions::switches::kEnableAppWindowControls,
1403 extensions::switches::kEnableEmbeddedExtensionOptions, 1404 extensions::switches::kEnableEmbeddedExtensionOptions,
1404 extensions::switches::kEnableExperimentalExtensionApis, 1405 extensions::switches::kEnableExperimentalExtensionApis,
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
2573 switches::kDisableWebRtcEncryption, 2574 switches::kDisableWebRtcEncryption,
2574 }; 2575 };
2575 to_command_line->CopySwitchesFrom(from_command_line, 2576 to_command_line->CopySwitchesFrom(from_command_line,
2576 kWebRtcDevSwitchNames, 2577 kWebRtcDevSwitchNames,
2577 arraysize(kWebRtcDevSwitchNames)); 2578 arraysize(kWebRtcDevSwitchNames));
2578 } 2579 }
2579 } 2580 }
2580 #endif // defined(ENABLE_WEBRTC) 2581 #endif // defined(ENABLE_WEBRTC)
2581 2582
2582 } // namespace chrome 2583 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698