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(); | |
372 TestWebContents* contents(); | 371 TestWebContents* contents(); |
373 | 372 |
374 private: | 373 private: |
375 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
376 ScopedSetSupportedScaleFactors; | 375 ScopedSetSupportedScaleFactors; |
377 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
378 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
379 }; | 378 }; |
380 | 379 |
381 } // namespace content | 380 } // namespace content |
382 | 381 |
383 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 382 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |