| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void ShowAutofillPopup( | 63 void ShowAutofillPopup( |
| 64 const gfx::RectF& element_bounds, | 64 const gfx::RectF& element_bounds, |
| 65 base::i18n::TextDirection text_direction, | 65 base::i18n::TextDirection text_direction, |
| 66 const std::vector<autofill::Suggestion>& suggestions, | 66 const std::vector<autofill::Suggestion>& suggestions, |
| 67 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 67 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
| 68 void UpdateAutofillPopupDataListValues( | 68 void UpdateAutofillPopupDataListValues( |
| 69 const std::vector<base::string16>& values, | 69 const std::vector<base::string16>& values, |
| 70 const std::vector<base::string16>& labels) override; | 70 const std::vector<base::string16>& labels) override; |
| 71 void HideAutofillPopup() override; | 71 void HideAutofillPopup() override; |
| 72 bool IsAutocompleteEnabled() override; | 72 bool IsAutocompleteEnabled() override; |
| 73 void DetectAccountCreationForms( | 73 void PropagateAutofillPredictions( |
| 74 content::RenderFrameHost* rfh, | 74 content::RenderFrameHost* rfh, |
| 75 const std::vector<autofill::FormStructure*>& forms) override; | 75 const std::vector<autofill::FormStructure*>& forms) override; |
| 76 void DidFillOrPreviewField(const base::string16& autofilled_value, | 76 void DidFillOrPreviewField(const base::string16& autofilled_value, |
| 77 const base::string16& profile_full_name) override; | 77 const base::string16& profile_full_name) override; |
| 78 void OnFirstUserGestureObserved() override; | 78 void OnFirstUserGestureObserved() override; |
| 79 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; | 79 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; |
| 80 | 80 |
| 81 // content::WebContentsObserver implementation. | 81 // content::WebContentsObserver implementation. |
| 82 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; | 82 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; |
| 83 void DidNavigateAnyFrame( | 83 void DidNavigateAnyFrame( |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 // The identity provider, used for Wallet integration. | 134 // The identity provider, used for Wallet integration. |
| 135 scoped_ptr<IdentityProvider> identity_provider_; | 135 scoped_ptr<IdentityProvider> identity_provider_; |
| 136 | 136 |
| 137 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 137 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 } // namespace autofill | 140 } // namespace autofill |
| 141 | 141 |
| 142 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 142 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| OLD | NEW |