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

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

Issue 2035143002: Basic implementation of showing password fill dialog on page load (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix iOS compile Created 4 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
« no previous file with comments | « no previous file | 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 switches::kExtensionContentVerification, 356 switches::kExtensionContentVerification,
357 switches::kExtensionContentVerificationEnforceStrict }, 357 switches::kExtensionContentVerificationEnforceStrict },
358 }; 358 };
359 359
360 const FeatureEntry::Choice kFillOnAccountSelectChoices[] = { 360 const FeatureEntry::Choice kFillOnAccountSelectChoices[] = {
361 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, 361 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
362 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, 362 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
363 autofill::switches::kDisableFillOnAccountSelect, "" }, 363 autofill::switches::kDisableFillOnAccountSelect, "" },
364 { IDS_FLAGS_FILL_ON_ACCOUNT_SELECT_ENABLE_HIGHLIGHTING, 364 { IDS_FLAGS_FILL_ON_ACCOUNT_SELECT_ENABLE_HIGHLIGHTING,
365 autofill::switches::kEnableFillOnAccountSelect, "" }, 365 autofill::switches::kEnableFillOnAccountSelect, "" },
366 { IDS_FLAGS_FILL_ON_ACCOUNT_SELECT_ENABLE_NO_HIGHLIGHTING,
367 autofill::switches::kEnableFillOnAccountSelectNoHighlighting, "" },
368 }; 366 };
369 367
370 const FeatureEntry::Choice kTopChromeMaterialDesignChoices[] = { 368 const FeatureEntry::Choice kTopChromeMaterialDesignChoices[] = {
371 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, 369 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
372 { IDS_FLAGS_TOP_CHROME_MD_NON_MATERIAL, 370 { IDS_FLAGS_TOP_CHROME_MD_NON_MATERIAL,
373 switches::kTopChromeMD, 371 switches::kTopChromeMD,
374 switches::kTopChromeMDNonMaterial }, 372 switches::kTopChromeMDNonMaterial },
375 { IDS_FLAGS_TOP_CHROME_MD_MATERIAL, 373 { IDS_FLAGS_TOP_CHROME_MD_MATERIAL,
376 switches::kTopChromeMD, 374 switches::kTopChromeMD,
377 switches::kTopChromeMDMaterial }, 375 switches::kTopChromeMDMaterial },
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2110 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2108 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2111 2109
2112 const FeatureEntry* GetFeatureEntries(size_t* count) { 2110 const FeatureEntry* GetFeatureEntries(size_t* count) {
2113 *count = arraysize(kFeatureEntries); 2111 *count = arraysize(kFeatureEntries);
2114 return kFeatureEntries; 2112 return kFeatureEntries;
2115 } 2113 }
2116 2114
2117 } // namespace testing 2115 } // namespace testing
2118 2116
2119 } // namespace about_flags 2117 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698