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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // PageClickListener: | 71 // PageClickListener: |
72 virtual void FormControlElementClicked( | 72 virtual void FormControlElementClicked( |
73 const blink::WebFormControlElement& element, | 73 const blink::WebFormControlElement& element, |
74 bool was_focused) OVERRIDE; | 74 bool was_focused) OVERRIDE; |
75 virtual void FormControlElementLostFocus() OVERRIDE; | 75 virtual void FormControlElementLostFocus() OVERRIDE; |
76 | 76 |
77 // blink::WebAutofillClient: | 77 // blink::WebAutofillClient: |
78 virtual void textFieldDidEndEditing( | 78 virtual void textFieldDidEndEditing( |
79 const blink::WebInputElement& element) OVERRIDE; | 79 const blink::WebInputElement& element) OVERRIDE; |
80 // TODO(ziran.sun): To be removed once next Blink roll is done | |
81 virtual void textFieldDidChange( | |
82 const blink::WebInputElement& element); | |
83 // TODO(ziran.sun): OVERRIDE this function once next Blink roll is done | |
84 virtual void textFieldDidChange( | 80 virtual void textFieldDidChange( |
85 const blink::WebFormControlElement& element); | 81 const blink::WebFormControlElement& element); |
86 virtual void textFieldDidReceiveKeyDown( | 82 virtual void textFieldDidReceiveKeyDown( |
87 const blink::WebInputElement& element, | 83 const blink::WebInputElement& element, |
88 const blink::WebKeyboardEvent& event) OVERRIDE; | 84 const blink::WebKeyboardEvent& event) OVERRIDE; |
89 virtual void didRequestAutocomplete( | 85 virtual void didRequestAutocomplete( |
90 blink::WebFrame* frame, | 86 blink::WebFrame* frame, |
91 const blink::WebFormElement& form) OVERRIDE; | 87 const blink::WebFormElement& form) OVERRIDE; |
92 virtual void setIgnoreTextChanges(bool ignore) OVERRIDE; | 88 virtual void setIgnoreTextChanges(bool ignore) OVERRIDE; |
93 virtual void didAssociateFormControls( | 89 virtual void didAssociateFormControls( |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 FRIEND_TEST_ALL_PREFIXES( | 228 FRIEND_TEST_ALL_PREFIXES( |
233 PasswordAutofillAgentTest, | 229 PasswordAutofillAgentTest, |
234 PasswordAutofillTriggersOnChangeEventsWaitForUsername); | 230 PasswordAutofillTriggersOnChangeEventsWaitForUsername); |
235 | 231 |
236 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 232 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
237 }; | 233 }; |
238 | 234 |
239 } // namespace autofill | 235 } // namespace autofill |
240 | 236 |
241 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 237 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
OLD | NEW |