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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 // Adds methods to get straight at the impl classes. | 361 // Adds methods to get straight at the impl classes. |
362 class RenderViewHostImplTestHarness : public RenderViewHostTestHarness { | 362 class RenderViewHostImplTestHarness : public RenderViewHostTestHarness { |
363 public: | 363 public: |
364 RenderViewHostImplTestHarness(); | 364 RenderViewHostImplTestHarness(); |
365 virtual ~RenderViewHostImplTestHarness(); | 365 virtual ~RenderViewHostImplTestHarness(); |
366 | 366 |
367 TestRenderViewHost* test_rvh(); | 367 TestRenderViewHost* test_rvh(); |
368 TestRenderViewHost* pending_test_rvh(); | 368 TestRenderViewHost* pending_test_rvh(); |
369 TestRenderViewHost* active_test_rvh(); | 369 TestRenderViewHost* active_test_rvh(); |
370 TestRenderFrameHost* main_test_rfh(); | 370 TestRenderFrameHost* main_test_rfh(); |
| 371 TestRenderFrameHost* pending_main_test_rfh(); |
371 TestWebContents* contents(); | 372 TestWebContents* contents(); |
372 | 373 |
373 private: | 374 private: |
374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 375 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
375 ScopedSetSupportedScaleFactors; | 376 ScopedSetSupportedScaleFactors; |
376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 377 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 378 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
378 }; | 379 }; |
379 | 380 |
380 } // namespace content | 381 } // namespace content |
381 | 382 |
382 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 383 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |