OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_AUTOFILL_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_AUTOFILL_AGENT_H_ |
| 7 |
| 8 #include "components/autofill/content/renderer/autofill_agent.h" |
| 9 |
| 10 namespace content { |
| 11 class RenderView; |
| 12 } |
| 13 |
| 14 namespace autofill { |
| 15 |
| 16 class PasswordAutofillAgent; |
| 17 class PasswordGenerationAgent; |
| 18 |
| 19 class TestAutofillAgent : public AutofillAgent { |
| 20 public: |
| 21 TestAutofillAgent(content::RenderView* render_view, |
| 22 PasswordAutofillAgent* password_autofill_manager, |
| 23 PasswordGenerationAgent* password_generation_agent); |
| 24 virtual ~TestAutofillAgent(); |
| 25 |
| 26 // AutofillAgent: |
| 27 using AutofillAgent::FormControlElementClicked; |
| 28 using AutofillAgent::textFieldDidEndEditing; |
| 29 using AutofillAgent::textFieldDidChange; |
| 30 using AutofillAgent::textFieldDidReceiveKeyDown; |
| 31 using AutofillAgent::didRequestAutocomplete; |
| 32 using AutofillAgent::OnFillPasswordSuggestion; |
| 33 using AutofillAgent::OnRequestAutocompleteResult; |
| 34 }; |
| 35 |
| 36 } // namespace autofill |
| 37 |
| 38 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_AUTOFILL_AGENT_H_ |
OLD | NEW |