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 CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 25 matching lines...) Expand all Loading... |
36 namespace gfx { | 36 namespace gfx { |
37 class Rect; | 37 class Rect; |
38 } | 38 } |
39 | 39 |
40 namespace content { | 40 namespace content { |
41 | 41 |
42 class SiteInstance; | 42 class SiteInstance; |
43 class TestRenderFrameHost; | 43 class TestRenderFrameHost; |
44 class TestWebContents; | 44 class TestWebContents; |
45 struct FrameReplicationState; | 45 struct FrameReplicationState; |
46 struct TextInputState; | |
47 | 46 |
48 // Utility function to initialize FrameHostMsg_DidCommitProvisionalLoad_Params | 47 // Utility function to initialize FrameHostMsg_DidCommitProvisionalLoad_Params |
49 // with given parameters. | 48 // with given parameters. |
50 void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params, | 49 void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params, |
51 int nav_entry_id, | 50 int nav_entry_id, |
52 bool did_create_new_entry, | 51 bool did_create_new_entry, |
53 const GURL& url, | 52 const GURL& url, |
54 ui::PageTransition transition_type); | 53 ui::PageTransition transition_type); |
55 | 54 |
56 // TestRenderWidgetHostView ---------------------------------------------------- | 55 // TestRenderWidgetHostView ---------------------------------------------------- |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 private: | 294 private: |
296 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 295 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
297 ScopedSetSupportedScaleFactors; | 296 ScopedSetSupportedScaleFactors; |
298 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 297 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
299 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 298 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
300 }; | 299 }; |
301 | 300 |
302 } // namespace content | 301 } // namespace content |
303 | 302 |
304 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 303 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |