| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ | 5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ |
| 6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ | 6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 protected: | 29 protected: |
| 30 // testing::Test | 30 // testing::Test |
| 31 void SetUp() override; | 31 void SetUp() override; |
| 32 void TearDown() override; | 32 void TearDown() override; |
| 33 content::ContentClient* CreateContentClient() override; | 33 content::ContentClient* CreateContentClient() override; |
| 34 content::ContentBrowserClient* CreateContentBrowserClient() override; | 34 content::ContentBrowserClient* CreateContentBrowserClient() override; |
| 35 content::ContentRendererClient* CreateContentRendererClient() override; | 35 content::ContentRendererClient* CreateContentRendererClient() override; |
| 36 | 36 |
| 37 void EnableUserGestureSimulationForAutofill(); | 37 void EnableUserGestureSimulationForAutofill(); |
| 38 void DisableUserGestureSimulationForAutofill(); | 38 void DisableUserGestureSimulationForAutofill(); |
| 39 void WaitForAutofillDidAssociateFormControl(); |
| 39 | 40 |
| 40 #if defined(ENABLE_EXTENSIONS) | 41 #if defined(ENABLE_EXTENSIONS) |
| 41 std::unique_ptr<extensions::DispatcherDelegate> | 42 std::unique_ptr<extensions::DispatcherDelegate> |
| 42 extension_dispatcher_delegate_; | 43 extension_dispatcher_delegate_; |
| 43 #endif | 44 #endif |
| 44 | 45 |
| 45 autofill::TestPasswordAutofillAgent* password_autofill_agent_; | 46 autofill::TestPasswordAutofillAgent* password_autofill_agent_; |
| 46 autofill::TestPasswordGenerationAgent* password_generation_; | 47 autofill::TestPasswordGenerationAgent* password_generation_; |
| 47 autofill::AutofillAgent* autofill_agent_; | 48 autofill::AutofillAgent* autofill_agent_; |
| 48 | 49 |
| 49 // Naked pointer as ownership is with content::RenderViewTest::render_thread_. | 50 // Naked pointer as ownership is with content::RenderViewTest::render_thread_. |
| 50 ChromeMockRenderThread* chrome_render_thread_; | 51 ChromeMockRenderThread* chrome_render_thread_; |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ | 54 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ |
| OLD | NEW |