Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: chrome/test/base/chrome_render_view_test.h

Issue 1140013004: Revert of Disable user gesture checking for all autofill browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 16 matching lines...) Expand all
27 ~ChromeRenderViewTest() override; 27 ~ChromeRenderViewTest() override;
28 28
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();
38 void DisableUserGestureSimulationForAutofill();
39
40 #if defined(ENABLE_EXTENSIONS) 37 #if defined(ENABLE_EXTENSIONS)
41 scoped_ptr<extensions::DispatcherDelegate> extension_dispatcher_delegate_; 38 scoped_ptr<extensions::DispatcherDelegate> extension_dispatcher_delegate_;
42 #endif 39 #endif
43 40
44 autofill::TestPasswordAutofillAgent* password_autofill_agent_; 41 autofill::TestPasswordAutofillAgent* password_autofill_agent_;
45 autofill::TestPasswordGenerationAgent* password_generation_; 42 autofill::TestPasswordGenerationAgent* password_generation_;
46 autofill::AutofillAgent* autofill_agent_; 43 autofill::AutofillAgent* autofill_agent_;
47 44
48 // Naked pointer as ownership is with content::RenderViewTest::render_thread_. 45 // Naked pointer as ownership is with content::RenderViewTest::render_thread_.
49 ChromeMockRenderThread* chrome_render_thread_; 46 ChromeMockRenderThread* chrome_render_thread_;
50 }; 47 };
51 48
52 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 49 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/autofill_renderer_browsertest.cc ('k') | chrome/test/base/chrome_render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698