summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h
blob: 2c050ee3c0d1046edcb26e61b2cbadeef8f6008c (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 "chrome/test/base/chrome_render_view_host_test_harness.h"

class TabContentsWrapper;

class TabContentsWrapperTestHarness : public ChromeRenderViewHostTestHarness {
 public:
  TabContentsWrapperTestHarness();
  virtual ~TabContentsWrapperTestHarness();

  virtual TestTabContents* contents() OVERRIDE;
  TabContentsWrapper* contents_wrapper();

  virtual void SetContents(TestTabContents* contents) OVERRIDE;

 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_