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

Unified Diff: content/renderer/mouse_lock_dispatcher_browsertest.cc

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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/renderer/mouse_lock_dispatcher.cc ('k') | content/renderer/notification_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mouse_lock_dispatcher_browsertest.cc
===================================================================
--- content/renderer/mouse_lock_dispatcher_browsertest.cc (revision 163045)
+++ content/renderer/mouse_lock_dispatcher_browsertest.cc (working copy)
@@ -13,6 +13,7 @@
using ::testing::_;
+namespace content {
namespace {
class MockLockTarget : public MouseLockDispatcher::LockTarget {
@@ -25,18 +26,17 @@
// MouseLockDispatcher is a RenderViewObserver, and we test it by creating a
// fixture containing a RenderViewImpl view() and interacting to that interface.
-class MouseLockDispatcherTest
- : public content::RenderViewTest {
+class MouseLockDispatcherTest : public RenderViewTest {
public:
virtual void SetUp() {
- content::RenderViewTest::SetUp();
+ RenderViewTest::SetUp();
route_id_ = view()->GetRoutingID();
target_ = new MockLockTarget();
alternate_target_ = new MockLockTarget();
}
virtual void TearDown() {
- content::RenderViewTest::TearDown();
+ RenderViewTest::TearDown();
delete target_;
delete alternate_target_;
}
@@ -230,3 +230,4 @@
EXPECT_FALSE(dispatcher()->IsMouseLockedTo(target_));
}
+} // namespace content
« no previous file with comments | « content/renderer/mouse_lock_dispatcher.cc ('k') | content/renderer/notification_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698