OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "components/autofill/browser/autofill_manager_delegate.h" | 9 #include "components/autofill/browser/autofill_manager_delegate.h" |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 virtual void ShowAutocheckoutBubble( | 40 virtual void ShowAutocheckoutBubble( |
41 const gfx::RectF& bounding_box, | 41 const gfx::RectF& bounding_box, |
42 const gfx::NativeView& native_view, | 42 const gfx::NativeView& native_view, |
43 const base::Callback<void(bool)>& callback) OVERRIDE; | 43 const base::Callback<void(bool)>& callback) OVERRIDE; |
44 virtual void HideAutocheckoutBubble() OVERRIDE; | 44 virtual void HideAutocheckoutBubble() OVERRIDE; |
45 virtual void ShowRequestAutocompleteDialog( | 45 virtual void ShowRequestAutocompleteDialog( |
46 const FormData& form, | 46 const FormData& form, |
47 const GURL& source_url, | 47 const GURL& source_url, |
48 const AutofillMetrics& metric_logger, | 48 const AutofillMetrics& metric_logger, |
49 DialogType dialog_type, | 49 DialogType dialog_type, |
50 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; | 50 const base::Callback<void(const FormStructure*, |
| 51 const std::string&)>& callback) OVERRIDE; |
51 virtual void RequestAutocompleteDialogClosed() OVERRIDE; | 52 virtual void RequestAutocompleteDialogClosed() OVERRIDE; |
52 virtual void ShowAutofillPopup(const gfx::RectF& element_bounds, | 53 virtual void ShowAutofillPopup(const gfx::RectF& element_bounds, |
53 const std::vector<string16>& values, | 54 const std::vector<string16>& values, |
54 const std::vector<string16>& labels, | 55 const std::vector<string16>& labels, |
55 const std::vector<string16>& icons, | 56 const std::vector<string16>& icons, |
56 const std::vector<int>& identifiers, | 57 const std::vector<int>& identifiers, |
57 AutofillPopupDelegate* delegate) OVERRIDE; | 58 AutofillPopupDelegate* delegate) OVERRIDE; |
58 virtual void HideAutofillPopup() OVERRIDE; | 59 virtual void HideAutofillPopup() OVERRIDE; |
59 virtual void UpdateProgressBar(double value) OVERRIDE; | 60 virtual void UpdateProgressBar(double value) OVERRIDE; |
60 | 61 |
61 private: | 62 private: |
62 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); | 63 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace autofill | 66 } // namespace autofill |
66 | 67 |
67 #endif // COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 68 #endif // COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |