| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 virtual void textFieldDidReceiveKeyDown( | 83 virtual void textFieldDidReceiveKeyDown( |
| 84 const blink::WebInputElement& element, | 84 const blink::WebInputElement& element, |
| 85 const blink::WebKeyboardEvent& event); | 85 const blink::WebKeyboardEvent& event); |
| 86 virtual void didRequestAutocomplete( | 86 virtual void didRequestAutocomplete( |
| 87 const blink::WebFormElement& form, | 87 const blink::WebFormElement& form, |
| 88 const blink::WebAutocompleteParams& details); | 88 const blink::WebAutocompleteParams& details); |
| 89 virtual void setIgnoreTextChanges(bool ignore); | 89 virtual void setIgnoreTextChanges(bool ignore); |
| 90 virtual void didAssociateFormControls( | 90 virtual void didAssociateFormControls( |
| 91 const blink::WebVector<blink::WebNode>& nodes); | 91 const blink::WebVector<blink::WebNode>& nodes); |
| 92 virtual void openTextDataListChooser(const blink::WebInputElement& element); | 92 virtual void openTextDataListChooser(const blink::WebInputElement& element); |
| 93 virtual void firstUserGestureObserved(); |
| 93 | 94 |
| 94 void OnFieldTypePredictionsAvailable( | 95 void OnFieldTypePredictionsAvailable( |
| 95 const std::vector<FormDataPredictions>& forms); | 96 const std::vector<FormDataPredictions>& forms); |
| 96 void OnFillForm(int query_id, const FormData& form); | 97 void OnFillForm(int query_id, const FormData& form); |
| 97 void OnPreviewForm(int query_id, const FormData& form); | 98 void OnPreviewForm(int query_id, const FormData& form); |
| 98 | 99 |
| 99 // For external Autofill selection. | 100 // For external Autofill selection. |
| 100 void OnClearForm(); | 101 void OnClearForm(); |
| 101 void OnClearPreviewedForm(); | 102 void OnClearPreviewedForm(); |
| 102 void OnFillFieldWithValue(const base::string16& value); | 103 void OnFillFieldWithValue(const base::string16& value); |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 NoCancelOnSubframeNavigateAfterDone); | 239 NoCancelOnSubframeNavigateAfterDone); |
| 239 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, | 240 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, |
| 240 InvokingTwiceOnlyShowsOnce); | 241 InvokingTwiceOnlyShowsOnce); |
| 241 | 242 |
| 242 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 243 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 243 }; | 244 }; |
| 244 | 245 |
| 245 } // namespace autofill | 246 } // namespace autofill |
| 246 | 247 |
| 247 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 248 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| OLD | NEW |