| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // PageClickListener: | 177 // PageClickListener: |
| 178 void FormControlElementClicked(const blink::WebFormControlElement& element, | 178 void FormControlElementClicked(const blink::WebFormControlElement& element, |
| 179 bool was_focused) override; | 179 bool was_focused) override; |
| 180 | 180 |
| 181 // blink::WebAutofillClient: | 181 // blink::WebAutofillClient: |
| 182 void textFieldDidEndEditing(const blink::WebInputElement& element) override; | 182 void textFieldDidEndEditing(const blink::WebInputElement& element) override; |
| 183 void textFieldDidChange(const blink::WebFormControlElement& element) override; | 183 void textFieldDidChange(const blink::WebFormControlElement& element) override; |
| 184 void textFieldDidReceiveKeyDown( | 184 void textFieldDidReceiveKeyDown( |
| 185 const blink::WebInputElement& element, | 185 const blink::WebInputElement& element, |
| 186 const blink::WebKeyboardEvent& event) override; | 186 const blink::WebKeyboardEvent& event) override; |
| 187 void setIgnoreTextChanges(bool ignore) override; | |
| 188 void openTextDataListChooser(const blink::WebInputElement& element) override; | 187 void openTextDataListChooser(const blink::WebInputElement& element) override; |
| 189 void dataListOptionsChanged(const blink::WebInputElement& element) override; | 188 void dataListOptionsChanged(const blink::WebInputElement& element) override; |
| 190 void firstUserGestureObserved() override; | 189 void firstUserGestureObserved() override; |
| 191 void ajaxSucceeded() override; | 190 void ajaxSucceeded() override; |
| 192 | 191 |
| 193 // Called when a same-page navigation is detected. | 192 // Called when a same-page navigation is detected. |
| 194 void OnSamePageNavigationCompleted(); | 193 void OnSamePageNavigationCompleted(); |
| 195 // Helper method which collects unowned elements (i.e., those not inside a | 194 // Helper method which collects unowned elements (i.e., those not inside a |
| 196 // form tag) and writes them into |output|. Returns true if the process is | 195 // form tag) and writes them into |output|. Returns true if the process is |
| 197 // successful, and all conditions for firing events are true. | 196 // successful, and all conditions for firing events are true. |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 mojom::AutofillDriverPtr autofill_driver_; | 304 mojom::AutofillDriverPtr autofill_driver_; |
| 306 | 305 |
| 307 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; | 306 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; |
| 308 | 307 |
| 309 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 308 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 310 }; | 309 }; |
| 311 | 310 |
| 312 } // namespace autofill | 311 } // namespace autofill |
| 313 | 312 |
| 314 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 313 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| OLD | NEW |