| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROME_AUTOFILL_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void ShowAutofillSettings() override; | 48 void ShowAutofillSettings() override; |
| 49 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; | 49 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; |
| 50 bool HasCreditCardScanFeature() override; | 50 bool HasCreditCardScanFeature() override; |
| 51 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 51 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 52 void ShowRequestAutocompleteDialog(const FormData& form, | 52 void ShowRequestAutocompleteDialog(const FormData& form, |
| 53 const GURL& source_url, | 53 const GURL& source_url, |
| 54 const ResultCallback& callback) override; | 54 const ResultCallback& callback) override; |
| 55 void ShowAutofillPopup( | 55 void ShowAutofillPopup( |
| 56 const gfx::RectF& element_bounds, | 56 const gfx::RectF& element_bounds, |
| 57 base::i18n::TextDirection text_direction, | 57 base::i18n::TextDirection text_direction, |
| 58 const std::vector<base::string16>& values, | 58 const std::vector<autofill::Suggestion>& suggestions, |
| 59 const std::vector<base::string16>& labels, | |
| 60 const std::vector<base::string16>& icons, | |
| 61 const std::vector<int>& identifiers, | |
| 62 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 59 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
| 63 void UpdateAutofillPopupDataListValues( | 60 void UpdateAutofillPopupDataListValues( |
| 64 const std::vector<base::string16>& values, | 61 const std::vector<base::string16>& values, |
| 65 const std::vector<base::string16>& labels) override; | 62 const std::vector<base::string16>& labels) override; |
| 66 void HideAutofillPopup() override; | 63 void HideAutofillPopup() override; |
| 67 bool IsAutocompleteEnabled() override; | 64 bool IsAutocompleteEnabled() override; |
| 68 void DetectAccountCreationForms( | 65 void DetectAccountCreationForms( |
| 69 content::RenderFrameHost* rfh, | 66 content::RenderFrameHost* rfh, |
| 70 const std::vector<autofill::FormStructure*>& forms) override; | 67 const std::vector<autofill::FormStructure*>& forms) override; |
| 71 void DidFillOrPreviewField(const base::string16& autofilled_value, | 68 void DidFillOrPreviewField(const base::string16& autofilled_value, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // scoped_ptr. | 112 // scoped_ptr. |
| 116 AutofillKeystoneBridgeWrapper* bridge_wrapper_; | 113 AutofillKeystoneBridgeWrapper* bridge_wrapper_; |
| 117 #endif // defined(OS_MACOSX) && !defined(OS_IOS) | 114 #endif // defined(OS_MACOSX) && !defined(OS_IOS) |
| 118 | 115 |
| 119 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 116 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
| 120 }; | 117 }; |
| 121 | 118 |
| 122 } // namespace autofill | 119 } // namespace autofill |
| 123 | 120 |
| 124 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 121 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| OLD | NEW |