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

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 format errors and change to use toWebInputElement(). Created 9 years, 11 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
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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Deletes itself when closed. 212 // Deletes itself when closed.
213 AutoFillCCInfoBarDelegate* cc_infobar_; 213 AutoFillCCInfoBarDelegate* cc_infobar_;
214 214
215 // GUID to ID mapping. We keep two maps to convert back and forth. 215 // GUID to ID mapping. We keep two maps to convert back and forth.
216 std::map<std::string, int> guid_id_map_; 216 std::map<std::string, int> guid_id_map_;
217 std::map<int, std::string> id_guid_map_; 217 std::map<int, std::string> id_guid_map_;
218 218
219 friend class AutoFillManagerTest; 219 friend class AutoFillManagerTest;
220 friend class FormStructureBrowserTest; 220 friend class FormStructureBrowserTest;
221 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm); 221 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm);
222 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest,
223 FillCreditCardFormNoYearNoMonth);
224 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormYearNoMonth);
225 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormNoYearMonth);
226 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormYearMonth);
222 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); 227 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm);
223 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); 228 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm);
224 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAutoFilledForm); 229 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAutoFilledForm);
225 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); 230 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber);
226 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); 231 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField);
227 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); 232 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField);
228 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetrics); 233 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetrics);
229 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, 234 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest,
230 NoQualityMetricsForNonAutoFillableForms); 235 NoQualityMetricsForNonAutoFillableForms);
231 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsForFailure); 236 FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsForFailure);
232 237
233 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); 238 DISALLOW_COPY_AND_ASSIGN(AutoFillManager);
234 }; 239 };
235 240
236 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 241 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_manager.cc » ('j') | chrome/browser/autofill/autofill_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698