| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 11 |
| 12 class TabContents; |
| 13 |
| 14 namespace content { |
| 15 class WebContents; |
| 16 } |
| 17 |
| 18 class TabContentsTestHarness : public ChromeRenderViewHostTestHarness { |
| 19 public: |
| 20 TabContentsTestHarness(); |
| 21 virtual ~TabContentsTestHarness(); |
| 22 |
| 23 virtual content::WebContents* web_contents() OVERRIDE; |
| 24 TabContents* tab_contents(); |
| 25 |
| 26 virtual void SetContents(content::WebContents* contents) OVERRIDE; |
| 27 |
| 28 protected: |
| 29 // testing::Test |
| 30 virtual void SetUp() OVERRIDE; |
| 31 virtual void TearDown() OVERRIDE; |
| 32 |
| 33 scoped_ptr<TabContents> tab_contents_; |
| 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(TabContentsTestHarness); |
| 36 }; |
| 37 |
| 38 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ |
| OLD | NEW |