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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const std::vector<base::string16>& labels, | 60 const std::vector<base::string16>& labels, |
61 const std::vector<base::string16>& icons, | 61 const std::vector<base::string16>& icons, |
62 const std::vector<int>& identifiers, | 62 const std::vector<int>& identifiers, |
63 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 63 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
64 void UpdateAutofillPopupDataListValues( | 64 void UpdateAutofillPopupDataListValues( |
65 const std::vector<base::string16>& values, | 65 const std::vector<base::string16>& values, |
66 const std::vector<base::string16>& labels) override; | 66 const std::vector<base::string16>& labels) override; |
67 void HideAutofillPopup() override; | 67 void HideAutofillPopup() override; |
68 bool IsAutocompleteEnabled() override; | 68 bool IsAutocompleteEnabled() override; |
69 void DetectAccountCreationForms( | 69 void DetectAccountCreationForms( |
| 70 content::RenderFrameHost* rfh, |
70 const std::vector<autofill::FormStructure*>& forms) override; | 71 const std::vector<autofill::FormStructure*>& forms) override; |
71 void DidFillOrPreviewField(const base::string16& autofilled_value, | 72 void DidFillOrPreviewField(const base::string16& autofilled_value, |
72 const base::string16& profile_full_name) override; | 73 const base::string16& profile_full_name) override; |
| 74 void OnFirstUserGestureObserved() override; |
73 | 75 |
74 // content::WebContentsObserver implementation. | 76 // content::WebContentsObserver implementation. |
75 void WebContentsDestroyed() override; | 77 void WebContentsDestroyed() override; |
76 | 78 |
77 // ZoomObserver implementation. | 79 // ZoomObserver implementation. |
78 void OnZoomChanged(const ZoomController::ZoomChangedEventData& data) override; | 80 void OnZoomChanged(const ZoomController::ZoomChangedEventData& data) override; |
79 | 81 |
80 // Exposed for testing. | 82 // Exposed for testing. |
81 AutofillDialogController* GetDialogControllerForTesting() { | 83 AutofillDialogController* GetDialogControllerForTesting() { |
82 return dialog_controller_.get(); | 84 return dialog_controller_.get(); |
(...skipping 30 matching lines...) Expand all Loading... |
113 // scoped_ptr. | 115 // scoped_ptr. |
114 AutofillKeystoneBridgeWrapper* bridge_wrapper_; | 116 AutofillKeystoneBridgeWrapper* bridge_wrapper_; |
115 #endif // defined(OS_MACOSX) && !defined(OS_IOS) | 117 #endif // defined(OS_MACOSX) && !defined(OS_IOS) |
116 | 118 |
117 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 119 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
118 }; | 120 }; |
119 | 121 |
120 } // namespace autofill | 122 } // namespace autofill |
121 | 123 |
122 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 124 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |