| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 const blink::WebFormElement& form); | 90 const blink::WebFormElement& form); |
| 91 virtual void setIgnoreTextChanges(bool ignore); | 91 virtual void setIgnoreTextChanges(bool ignore); |
| 92 virtual void didAssociateFormControls( | 92 virtual void didAssociateFormControls( |
| 93 const blink::WebVector<blink::WebNode>& nodes); | 93 const blink::WebVector<blink::WebNode>& nodes); |
| 94 virtual void openTextDataListChooser(const blink::WebInputElement& element); | 94 virtual void openTextDataListChooser(const blink::WebInputElement& element); |
| 95 virtual void firstUserGestureObserved(); | 95 virtual void firstUserGestureObserved(); |
| 96 | 96 |
| 97 void OnFieldTypePredictionsAvailable( | 97 void OnFieldTypePredictionsAvailable( |
| 98 const std::vector<FormDataPredictions>& forms); | 98 const std::vector<FormDataPredictions>& forms); |
| 99 void OnFillForm(int query_id, const FormData& form); | 99 void OnFillForm(int query_id, const FormData& form); |
| 100 void OnPing(); |
| 100 void OnPreviewForm(int query_id, const FormData& form); | 101 void OnPreviewForm(int query_id, const FormData& form); |
| 101 | 102 |
| 102 // For external Autofill selection. | 103 // For external Autofill selection. |
| 103 void OnClearForm(); | 104 void OnClearForm(); |
| 104 void OnClearPreviewedForm(); | 105 void OnClearPreviewedForm(); |
| 105 void OnFillFieldWithValue(const base::string16& value); | 106 void OnFillFieldWithValue(const base::string16& value); |
| 106 void OnPreviewFieldWithValue(const base::string16& value); | 107 void OnPreviewFieldWithValue(const base::string16& value); |
| 107 void OnAcceptDataListSuggestion(const base::string16& value); | 108 void OnAcceptDataListSuggestion(const base::string16& value); |
| 108 void OnFillPasswordSuggestion(const base::string16& username, | 109 void OnFillPasswordSuggestion(const base::string16& username, |
| 109 const base::string16& password); | 110 const base::string16& password); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 NoCancelOnSubframeNavigateAfterDone); | 250 NoCancelOnSubframeNavigateAfterDone); |
| 250 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, | 251 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, |
| 251 InvokingTwiceOnlyShowsOnce); | 252 InvokingTwiceOnlyShowsOnce); |
| 252 | 253 |
| 253 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 254 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 254 }; | 255 }; |
| 255 | 256 |
| 256 } // namespace autofill | 257 } // namespace autofill |
| 257 | 258 |
| 258 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 259 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| OLD | NEW |