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

Unified Diff: content/browser/tab_contents/web_drag_dest_mac_unittest.mm

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
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/web_drag_dest_mac_unittest.mm
diff --git a/content/browser/tab_contents/web_drag_dest_mac_unittest.mm b/content/browser/tab_contents/web_drag_dest_mac_unittest.mm
index e48d3babdae5b020019a42ca686615a04be58eb4..0502581b5f486ef51aeeb714b94f419985b80aaa 100644
--- a/content/browser/tab_contents/web_drag_dest_mac_unittest.mm
+++ b/content/browser/tab_contents/web_drag_dest_mac_unittest.mm
@@ -15,6 +15,8 @@
#import "ui/base/test/ui_cocoa_test_helper.h"
#include "webkit/glue/webdropdata.h"
+using content::RenderViewHostImplTestHarness;
+
namespace {
NSString* const kCrCorePasteboardFlavorType_url =
@"CorePasteboardFlavorType 0x75726C20"; // 'url ' url
@@ -22,10 +24,10 @@ NSString* const kCrCorePasteboardFlavorType_urln =
@"CorePasteboardFlavorType 0x75726C6E"; // 'urln' title
} // namespace
-class WebDragDestTest : public RenderViewHostTestHarness {
+class WebDragDestTest : public RenderViewHostImplTestHarness {
public:
virtual void SetUp() {
- RenderViewHostTestHarness::SetUp();
+ RenderViewHostImplTestHarness::SetUp();
drag_dest_.reset([[WebDragDest alloc] initWithTabContents:contents()]);
}
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698