blob: 7dc578c9864f0deff86a449a5943ae6d462047c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (c) 2011 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 CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_
#define CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_
#pragma once
#include "base/compiler_specific.h"
#include "content/browser/renderer_host/test_render_view_host.h"
class TabContentsWrapper;
class TabContentsWrapperTestHarness : public RenderViewHostTestHarness {
public:
TabContentsWrapperTestHarness();
virtual ~TabContentsWrapperTestHarness();
virtual TestTabContents* contents() OVERRIDE;
TabContentsWrapper* contents_wrapper();
void SetContents(TestTabContents* contents);
protected:
// testing::Test
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
scoped_ptr<TabContentsWrapper> contents_wrapper_;
DISALLOW_COPY_AND_ASSIGN(TabContentsWrapperTestHarness);
};
#endif // CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_WRAPPER_H_
|