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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac_unittest.mm

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
===================================================================
--- content/browser/renderer_host/render_widget_host_view_mac_unittest.mm (revision 147462)
+++ content/browser/renderer_host/render_widget_host_view_mac_unittest.mm (working copy)
@@ -13,9 +13,7 @@
#import "ui/base/test/ui_cocoa_test_helper.h"
#include "webkit/plugins/npapi/webplugin.h"
-using content::BrowserThread;
-using content::BrowserThreadImpl;
-using content::RenderViewHostImplTestHarness;
+namespace content {
class RenderWidgetHostViewMacTest : public RenderViewHostImplTestHarness {
public:
@@ -31,7 +29,7 @@
// Owned by its |cocoa_view()|, i.e. |rwhv_cocoa_|.
rwhv_mac_ = static_cast<RenderWidgetHostViewMac*>(
- content::RenderWidgetHostView::CreateViewForWidget(rvh()));
+ RenderWidgetHostView::CreateViewForWidget(rvh()));
rwhv_cocoa_.reset([rwhv_mac_->cocoa_view() retain]);
}
virtual void TearDown() {
@@ -79,7 +77,7 @@
// This class isn't derived from PlatformTest.
base::mac::ScopedNSAutoreleasePool pool_;
- content::RenderWidgetHostView* old_rwhv_;
+ RenderWidgetHostView* old_rwhv_;
protected:
RenderWidgetHostViewMac* rwhv_mac_;
@@ -206,3 +204,5 @@
rwhv_mac_->InitAsFullscreen(NULL);
EXPECT_TRUE(rwhv_mac_->pepper_fullscreen_window());
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698