| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 const blink::WebInputElement& element, | 139 const blink::WebInputElement& element, |
| 140 const blink::WebKeyboardEvent& event); | 140 const blink::WebKeyboardEvent& event); |
| 141 virtual void didRequestAutocomplete( | 141 virtual void didRequestAutocomplete( |
| 142 const blink::WebFormElement& form); | 142 const blink::WebFormElement& form); |
| 143 virtual void setIgnoreTextChanges(bool ignore); | 143 virtual void setIgnoreTextChanges(bool ignore); |
| 144 virtual void didAssociateFormControls( | 144 virtual void didAssociateFormControls( |
| 145 const blink::WebVector<blink::WebNode>& nodes); | 145 const blink::WebVector<blink::WebNode>& nodes); |
| 146 virtual void openTextDataListChooser(const blink::WebInputElement& element); | 146 virtual void openTextDataListChooser(const blink::WebInputElement& element); |
| 147 virtual void dataListOptionsChanged(const blink::WebInputElement& element); | 147 virtual void dataListOptionsChanged(const blink::WebInputElement& element); |
| 148 virtual void firstUserGestureObserved(); | 148 virtual void firstUserGestureObserved(); |
| 149 virtual void xhrSucceeded(); |
| 149 | 150 |
| 150 void OnFieldTypePredictionsAvailable( | 151 void OnFieldTypePredictionsAvailable( |
| 151 const std::vector<FormDataPredictions>& forms); | 152 const std::vector<FormDataPredictions>& forms); |
| 152 void OnFillForm(int query_id, const FormData& form); | 153 void OnFillForm(int query_id, const FormData& form); |
| 153 void OnFirstUserGestureObservedInTab(); | 154 void OnFirstUserGestureObservedInTab(); |
| 154 void OnPing(); | 155 void OnPing(); |
| 155 void OnPreviewForm(int query_id, const FormData& form); | 156 void OnPreviewForm(int query_id, const FormData& form); |
| 156 | 157 |
| 157 // For external Autofill selection. | 158 // For external Autofill selection. |
| 158 void OnClearForm(); | 159 void OnClearForm(); |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 bool is_popup_possibly_visible_; | 275 bool is_popup_possibly_visible_; |
| 275 | 276 |
| 276 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; | 277 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; |
| 277 | 278 |
| 278 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 279 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 279 }; | 280 }; |
| 280 | 281 |
| 281 } // namespace autofill | 282 } // namespace autofill |
| 282 | 283 |
| 283 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 284 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| OLD | NEW |