diff options
Diffstat (limited to 'content/test/test_render_frame_host.h')
-rw-r--r-- | content/test/test_render_frame_host.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/content/test/test_render_frame_host.h b/content/test/test_render_frame_host.h new file mode 100644 index 0000000..9f74e39 --- /dev/null +++ b/content/test/test_render_frame_host.h @@ -0,0 +1,31 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ +#define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ + +#include "base/basictypes.h" +#include "content/browser/frame_host/render_frame_host_impl.h" + +namespace content { + +class TestRenderFrameHost : public RenderFrameHostImpl { + public: + TestRenderFrameHost(RenderViewHostImpl* render_view_host, + RenderFrameHostDelegate* delegate, + FrameTree* frame_tree, + int routing_id, + bool is_swapped_out); + virtual ~TestRenderFrameHost(); + + // TODO(nick): As necessary for testing, override behavior of RenderFrameHost + // here. + + private: + DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); +}; + +} // namespace content + +#endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |