Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Unified Diff: chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h
diff --git a/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h b/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h
index 2c050ee3c0d1046edcb26e61b2cbadeef8f6008c..0efccca4d344cc21290d16b70b9cdcb98bbc0fbb 100644
--- a/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h
+++ b/chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -11,15 +11,19 @@
class TabContentsWrapper;
+namespace content {
+class WebContents;
+}
+
class TabContentsWrapperTestHarness : public ChromeRenderViewHostTestHarness {
public:
TabContentsWrapperTestHarness();
virtual ~TabContentsWrapperTestHarness();
- virtual TestTabContents* contents() OVERRIDE;
+ virtual content::WebContents* web_contents() OVERRIDE;
TabContentsWrapper* contents_wrapper();
- virtual void SetContents(TestTabContents* contents) OVERRIDE;
+ virtual void SetContents(content::WebContents* contents) OVERRIDE;
protected:
// testing::Test
« no previous file with comments | « chrome/browser/ui/select_file_dialog.cc ('k') | chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698