• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
7 
8 #include "base/basictypes.h"
9 #include "content/browser/frame_host/render_frame_host_impl.h"
10 
11 namespace content {
12 
13 class TestRenderFrameHost : public RenderFrameHostImpl {
14  public:
15   TestRenderFrameHost(RenderViewHostImpl* render_view_host,
16                       RenderFrameHostDelegate* delegate,
17                       FrameTree* frame_tree,
18                       FrameTreeNode* frame_tree_node,
19                       int routing_id,
20                       bool is_swapped_out);
21   virtual ~TestRenderFrameHost();
22 
23   // TODO(nick): As necessary for testing, override behavior of RenderFrameHost
24   // here.
25 
26  private:
27   DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
28 };
29 
30 }  // namespace content
31 
32 #endif  // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
33