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

Side by Side Diff: chrome/browser/autofill/autofill_manager.h

Issue 6033010: Support autocompletion for HTMl5 tags:"email", "month" and "tel". (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix merge error. Created 9 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_manager.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Deletes itself when closed. 217 // Deletes itself when closed.
218 AutoFillCCInfoBarDelegate* cc_infobar_; 218 AutoFillCCInfoBarDelegate* cc_infobar_;
219 219
220 // GUID to ID mapping. We keep two maps to convert back and forth. 220 // GUID to ID mapping. We keep two maps to convert back and forth.
221 std::map<std::string, int> guid_id_map_; 221 std::map<std::string, int> guid_id_map_;
222 std::map<int, std::string> id_guid_map_; 222 std::map<int, std::string> id_guid_map_;
223 223
224 friend class AutoFillManagerTest; 224 friend class AutoFillManagerTest;
225 friend class FormStructureBrowserTest; 225 friend class FormStructureBrowserTest;
226 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm); 226 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm);
227 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest,
228 FillCreditCardFormNoYearNoMonth);
229 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormYearNoMonth);
230 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormNoYearMonth);
231 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormYearMonth);
227 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); 232 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm);
228 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); 233 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm);
229 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAutoFilledForm); 234 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAutoFilledForm);
230 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); 235 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber);
231 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); 236 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField);
232 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); 237 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField);
233 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetrics); 238 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetrics);
234 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, 239 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest,
235 NoQualityMetricsForNonAutoFillableForms); 240 NoQualityMetricsForNonAutoFillableForms);
236 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, SaneMetricsWithCacheMismatch); 241 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, SaneMetricsWithCacheMismatch);
237 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsForFailure); 242 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsForFailure);
238 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsWithExperimentId); 243 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsWithExperimentId);
239 244
240 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); 245 DISALLOW_COPY_AND_ASSIGN(AutoFillManager);
241 }; 246 };
242 247
243 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 248 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698