OLD | NEW |
---|---|
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 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 const std::vector<base::string16>& labels, | 120 const std::vector<base::string16>& labels, |
121 const std::vector<base::string16>& icons, | 121 const std::vector<base::string16>& icons, |
122 const std::vector<int>& identifiers, | 122 const std::vector<int>& identifiers, |
123 base::WeakPtr<AutofillPopupDelegate> delegate) = 0; | 123 base::WeakPtr<AutofillPopupDelegate> delegate) = 0; |
124 | 124 |
125 // Hide the Autofill popup if one is currently showing. | 125 // Hide the Autofill popup if one is currently showing. |
126 virtual void HideAutofillPopup() = 0; | 126 virtual void HideAutofillPopup() = 0; |
127 | 127 |
128 // Updates the Autocheckout progress bar. |value| must be in [0.0, 1.0]. | 128 // Updates the Autocheckout progress bar. |value| must be in [0.0, 1.0]. |
129 virtual void UpdateProgressBar(double value) = 0; | 129 virtual void UpdateProgressBar(double value) = 0; |
130 | |
131 // Whether the form data should be ignored. | |
132 virtual bool ShouldIgnoreFormData() = 0; | |
Ilya Sherman
2013/06/15 00:28:09
IMO this comment and method name are insufficientl
sgurun-gerrit only
2013/06/17 21:20:32
Himm, I guess a cleaner approach would be introduc
| |
130 }; | 133 }; |
131 | 134 |
132 } // namespace autofill | 135 } // namespace autofill |
133 | 136 |
134 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ | 137 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |