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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 const blink::WebFormControlElement& element); | 141 const blink::WebFormControlElement& element); |
142 virtual void textFieldDidReceiveKeyDown( | 142 virtual void textFieldDidReceiveKeyDown( |
143 const blink::WebInputElement& element, | 143 const blink::WebInputElement& element, |
144 const blink::WebKeyboardEvent& event); | 144 const blink::WebKeyboardEvent& event); |
145 virtual void didRequestAutocomplete( | 145 virtual void didRequestAutocomplete( |
146 const blink::WebFormElement& form); | 146 const blink::WebFormElement& form); |
147 virtual void setIgnoreTextChanges(bool ignore); | 147 virtual void setIgnoreTextChanges(bool ignore); |
148 virtual void didAssociateFormControls( | 148 virtual void didAssociateFormControls( |
149 const blink::WebVector<blink::WebNode>& nodes); | 149 const blink::WebVector<blink::WebNode>& nodes); |
150 virtual void openTextDataListChooser(const blink::WebInputElement& element); | 150 virtual void openTextDataListChooser(const blink::WebInputElement& element); |
| 151 virtual void dataListOptionsChanged(const blink::WebInputElement& element); |
151 virtual void firstUserGestureObserved(); | 152 virtual void firstUserGestureObserved(); |
152 | 153 |
153 void OnFieldTypePredictionsAvailable( | 154 void OnFieldTypePredictionsAvailable( |
154 const std::vector<FormDataPredictions>& forms); | 155 const std::vector<FormDataPredictions>& forms); |
155 void OnFillForm(int query_id, const FormData& form); | 156 void OnFillForm(int query_id, const FormData& form); |
156 void OnFirstUserGestureObservedInTab(); | 157 void OnFirstUserGestureObservedInTab(); |
157 void OnPing(); | 158 void OnPing(); |
158 void OnPreviewForm(int query_id, const FormData& form); | 159 void OnPreviewForm(int query_id, const FormData& form); |
159 | 160 |
160 // For external Autofill selection. | 161 // For external Autofill selection. |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 bool is_popup_possibly_visible_; | 269 bool is_popup_possibly_visible_; |
269 | 270 |
270 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; | 271 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; |
271 | 272 |
272 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 273 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
273 }; | 274 }; |
274 | 275 |
275 } // namespace autofill | 276 } // namespace autofill |
276 | 277 |
277 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 278 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
OLD | NEW |