| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FRAME_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_H_ |
| 6 #define CONTENT_TEST_TEST_RENDER_FRAME_H_ | 6 #define CONTENT_TEST_TEST_RENDER_FRAME_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/renderer/render_frame_impl.h" | 9 #include "content/renderer/render_frame_impl.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 class WebHistoryItem; | 12 class WebHistoryItem; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 class RenderViewImpl; | |
| 18 struct CommonNavigationParams; | 17 struct CommonNavigationParams; |
| 19 struct RequestNavigationParams; | 18 struct RequestNavigationParams; |
| 20 struct StartNavigationParams; | 19 struct StartNavigationParams; |
| 21 | 20 |
| 22 // A test class to use in RenderViewTests. | 21 // A test class to use in RenderViewTests. |
| 23 class TestRenderFrame : public RenderFrameImpl { | 22 class TestRenderFrame : public RenderFrameImpl { |
| 24 public: | 23 public: |
| 25 static RenderFrameImpl* CreateTestRenderFrame( | 24 static RenderFrameImpl* CreateTestRenderFrame( |
| 26 const RenderFrameImpl::CreateParams& params); | 25 const RenderFrameImpl::CreateParams& params); |
| 27 ~TestRenderFrame() override; | 26 ~TestRenderFrame() override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 47 const std::vector<blink::WebCompositionUnderline>& underlines); | 46 const std::vector<blink::WebCompositionUnderline>& underlines); |
| 48 | 47 |
| 49 private: | 48 private: |
| 50 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); | 49 explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
| 51 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); | 50 DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 } // namespace content | 53 } // namespace content |
| 55 | 54 |
| 56 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ | 55 #endif // CONTENT_TEST_TEST_RENDER_FRAME_H_ |
| OLD | NEW |