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

Unified Diff: Source/platform/mac/ScrollElasticityControllerTest.mm

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/platform/mac/ScrollElasticityController.mm ('k') | Source/platform/mac/ThemeMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/ScrollElasticityControllerTest.mm
diff --git a/Source/platform/mac/ScrollElasticityControllerTest.mm b/Source/platform/mac/ScrollElasticityControllerTest.mm
index 149266cb32093a79077b33b73e7c2b7a60ac23f3..0474a25d23fbac0f5a6475fb3e14b8bd50add1eb 100644
--- a/Source/platform/mac/ScrollElasticityControllerTest.mm
+++ b/Source/platform/mac/ScrollElasticityControllerTest.mm
@@ -10,7 +10,7 @@
#include "platform/mac/ScrollElasticityController.h"
#include "platform/PlatformWheelEvent.h"
-namespace WebCore {
+namespace blink {
class MockScrollElasticityControllerClient : public ScrollElasticityControllerClient {
public:
@@ -26,7 +26,7 @@ public:
virtual bool canScrollVertically() OVERRIDE { return true; }
// Return the absolute scroll position, not relative to the scroll origin.
- virtual WebCore::IntPoint absoluteScrollPosition() OVERRIDE { return IntPoint(m_stretchX, 0); }
+ virtual blink::IntPoint absoluteScrollPosition() OVERRIDE { return IntPoint(m_stretchX, 0); }
virtual void immediateScrollBy(const FloatSize& size) OVERRIDE { m_stretchX += size.width(); }
virtual void immediateScrollByWithoutContentEdgeConstraints(const FloatSize& size) OVERRIDE { m_stretchX += size.width(); }
@@ -170,4 +170,4 @@ TEST_F(ScrollElasticityControllerTest, zeroDeltaEventsIgnored)
EXPECT_TRUE(handleWheelEvent(AllowRubberband, DisallowScroll, PlatformWheelEventPhaseEnded, deltaNone));
}
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/platform/mac/ScrollElasticityController.mm ('k') | Source/platform/mac/ThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698