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 CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void ShowAutocheckoutBubble( | 59 virtual void ShowAutocheckoutBubble( |
60 const gfx::RectF& bounds, | 60 const gfx::RectF& bounds, |
61 const gfx::NativeView& native_view, | 61 const gfx::NativeView& native_view, |
62 const base::Callback<void(bool)>& callback) OVERRIDE; | 62 const base::Callback<void(bool)>& callback) OVERRIDE; |
63 virtual void HideAutocheckoutBubble() OVERRIDE; | 63 virtual void HideAutocheckoutBubble() OVERRIDE; |
64 virtual void ShowRequestAutocompleteDialog( | 64 virtual void ShowRequestAutocompleteDialog( |
65 const FormData& form, | 65 const FormData& form, |
66 const GURL& source_url, | 66 const GURL& source_url, |
67 const AutofillMetrics& metric_logger, | 67 const AutofillMetrics& metric_logger, |
68 DialogType dialog_type, | 68 DialogType dialog_type, |
69 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; | 69 const base::Callback<void(const FormStructure*, |
| 70 const std::string&)>& callback) OVERRIDE; |
70 virtual void RequestAutocompleteDialogClosed() OVERRIDE; | 71 virtual void RequestAutocompleteDialogClosed() OVERRIDE; |
71 virtual void ShowAutofillPopup(const gfx::RectF& element_bounds, | 72 virtual void ShowAutofillPopup(const gfx::RectF& element_bounds, |
72 const std::vector<string16>& values, | 73 const std::vector<string16>& values, |
73 const std::vector<string16>& labels, | 74 const std::vector<string16>& labels, |
74 const std::vector<string16>& icons, | 75 const std::vector<string16>& icons, |
75 const std::vector<int>& identifiers, | 76 const std::vector<int>& identifiers, |
76 AutofillPopupDelegate* delegate) OVERRIDE; | 77 AutofillPopupDelegate* delegate) OVERRIDE; |
77 virtual void HideAutofillPopup() OVERRIDE; | 78 virtual void HideAutofillPopup() OVERRIDE; |
78 virtual void UpdateProgressBar(double value) OVERRIDE; | 79 virtual void UpdateProgressBar(double value) OVERRIDE; |
79 | 80 |
(...skipping 14 matching lines...) Expand all Loading... |
94 AutofillDialogControllerImpl* dialog_controller_; // weak. | 95 AutofillDialogControllerImpl* dialog_controller_; // weak. |
95 base::WeakPtr<AutocheckoutBubble> autocheckout_bubble_; | 96 base::WeakPtr<AutocheckoutBubble> autocheckout_bubble_; |
96 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; | 97 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); | 99 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace autofill | 102 } // namespace autofill |
102 | 103 |
103 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 104 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |