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/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual PrefService* GetPrefs() OVERRIDE; | 41 virtual PrefService* GetPrefs() OVERRIDE; |
42 virtual void HideRequestAutocompleteDialog() OVERRIDE; | 42 virtual void HideRequestAutocompleteDialog() OVERRIDE; |
43 virtual void ShowAutofillSettings() OVERRIDE; | 43 virtual void ShowAutofillSettings() OVERRIDE; |
44 virtual void ConfirmSaveCreditCard( | 44 virtual void ConfirmSaveCreditCard( |
45 const AutofillMetrics& metric_logger, | 45 const AutofillMetrics& metric_logger, |
46 const CreditCard& credit_card, | 46 const CreditCard& credit_card, |
47 const base::Closure& save_card_callback) OVERRIDE; | 47 const base::Closure& save_card_callback) OVERRIDE; |
48 virtual void ShowRequestAutocompleteDialog( | 48 virtual void ShowRequestAutocompleteDialog( |
49 const FormData& form, | 49 const FormData& form, |
50 const GURL& source_url, | 50 const GURL& source_url, |
51 DialogType dialog_type, | |
52 const base::Callback<void(const FormStructure*, | 51 const base::Callback<void(const FormStructure*, |
53 const std::string&)>& callback) OVERRIDE; | 52 const std::string&)>& callback) OVERRIDE; |
54 virtual void ShowAutofillPopup( | 53 virtual void ShowAutofillPopup( |
55 const gfx::RectF& element_bounds, | 54 const gfx::RectF& element_bounds, |
56 base::i18n::TextDirection text_direction, | 55 base::i18n::TextDirection text_direction, |
57 const std::vector<string16>& values, | 56 const std::vector<string16>& values, |
58 const std::vector<string16>& labels, | 57 const std::vector<string16>& labels, |
59 const std::vector<string16>& icons, | 58 const std::vector<string16>& icons, |
60 const std::vector<int>& identifiers, | 59 const std::vector<int>& identifiers, |
61 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; | 60 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; |
(...skipping 23 matching lines...) Expand all Loading... |
85 content::WebContents* const web_contents_; | 84 content::WebContents* const web_contents_; |
86 base::WeakPtr<AutofillDialogController> dialog_controller_; | 85 base::WeakPtr<AutofillDialogController> dialog_controller_; |
87 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; | 86 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; |
88 | 87 |
89 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); | 88 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); |
90 }; | 89 }; |
91 | 90 |
92 } // namespace autofill | 91 } // namespace autofill |
93 | 92 |
94 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 93 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |