OLD | NEW |
---|---|
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 <vector> | 9 #include <vector> |
10 #include <string> | 10 #include <string> |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 virtual bool FillAutoFillFormData(int query_id, | 55 virtual bool FillAutoFillFormData(int query_id, |
56 const webkit_glue::FormData& form, | 56 const webkit_glue::FormData& form, |
57 int unique_id); | 57 int unique_id); |
58 virtual void ShowAutoFillDialog(); | 58 virtual void ShowAutoFillDialog(); |
59 | 59 |
60 // Called by the AutoFillCCInfoBarDelegate when the user interacts with the | 60 // Called by the AutoFillCCInfoBarDelegate when the user interacts with the |
61 // infobar. | 61 // infobar. |
62 virtual void OnInfoBarClosed(bool should_save); | 62 virtual void OnInfoBarClosed(bool should_save); |
63 | 63 |
64 // Resets the stored form data. | 64 // Resets the stored form data. |
65 // This methodo is one of RenderViewHostDelegate::AutoFill implementation. | |
James Hawkins
2010/11/23 19:18:53
Please remove these two comments and move the meth
| |
65 virtual void Reset(); | 66 virtual void Reset(); |
66 | 67 |
67 // AutoFillDownloadManager::Observer implementation: | 68 // AutoFillDownloadManager::Observer implementation: |
68 virtual void OnLoadedAutoFillHeuristics(const std::string& heuristic_xml); | 69 virtual void OnLoadedAutoFillHeuristics(const std::string& heuristic_xml); |
69 virtual void OnUploadedAutoFillHeuristics(const std::string& form_signature); | 70 virtual void OnUploadedAutoFillHeuristics(const std::string& form_signature); |
70 virtual void OnHeuristicsRequestError( | 71 virtual void OnHeuristicsRequestError( |
71 const std::string& form_signature, | 72 const std::string& form_signature, |
72 AutoFillDownloadManager::AutoFillRequestType request_type, | 73 AutoFillDownloadManager::AutoFillRequestType request_type, |
73 int http_error); | 74 int http_error); |
74 | 75 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); | 191 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); |
191 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); | 192 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); |
192 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); | 193 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); |
193 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); | 194 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); |
194 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); | 195 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); |
195 | 196 |
196 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); | 197 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); |
197 }; | 198 }; |
198 | 199 |
199 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ | 200 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ |
OLD | NEW |