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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 10 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: third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp b/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
index 2a1bf4ddb9f6fe87b47e37cc86f635fa2d88a790..a94e34dcc7bf8cd4a6952928037d40ecc7eb97cb 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
@@ -18,11 +18,11 @@ protected:
PassRefPtrWillBeRawPtr<PointerEvent> createAndCheckTouchCancel(
WebPointerProperties::PointerType, int rawId,
int uniqueId, bool isPrimary,
- PlatformTouchPoint::State = PlatformTouchPoint::TouchReleased);
+ PlatformTouchPoint::TouchState = PlatformTouchPoint::TouchReleased);
PassRefPtrWillBeRawPtr<PointerEvent> createAndCheckTouchEvent(
WebPointerProperties::PointerType, int rawId,
int uniqueId, bool isPrimary,
- PlatformTouchPoint::State = PlatformTouchPoint::TouchPressed);
+ PlatformTouchPoint::TouchState = PlatformTouchPoint::TouchPressed);
PassRefPtrWillBeRawPtr<PointerEvent> createAndCheckMouseEvent(
WebPointerProperties::PointerType, int rawId,
int uniqueId, bool isPrimary,
@@ -38,7 +38,7 @@ protected:
class PlatformTouchPointBuilder : public PlatformTouchPoint {
public:
PlatformTouchPointBuilder(WebPointerProperties::PointerType, int,
- PlatformTouchPoint::State);
+ PlatformTouchPoint::TouchState);
};
class PlatformMouseEventBuilder : public PlatformMouseEvent {
@@ -56,7 +56,7 @@ void PointerEventFactoryTest::SetUp()
PointerEventFactoryTest::PlatformTouchPointBuilder::PlatformTouchPointBuilder(
WebPointerProperties::PointerType pointerType, int id,
- PlatformTouchPoint::State state)
+ PlatformTouchPoint::TouchState state)
{
m_pointerProperties.id = id;
m_pointerProperties.pointerType = pointerType;
@@ -76,7 +76,7 @@ PointerEventFactoryTest::PlatformMouseEventBuilder::PlatformMouseEventBuilder(
PassRefPtrWillBeRawPtr<PointerEvent> PointerEventFactoryTest::createAndCheckTouchCancel(
WebPointerProperties::PointerType pointerType, int rawId,
int uniqueId, bool isPrimary,
- PlatformTouchPoint::State state)
+ PlatformTouchPoint::TouchState state)
{
RefPtrWillBeRawPtr<PointerEvent> pointerEvent = m_pointerEventFactory.createPointerCancel(
PointerEventFactoryTest::PlatformTouchPointBuilder(pointerType, rawId, state));
@@ -101,7 +101,7 @@ void PointerEventFactoryTest::cloneAndCheckPointerEvent(
PassRefPtrWillBeRawPtr<PointerEvent> PointerEventFactoryTest::createAndCheckTouchEvent(
WebPointerProperties::PointerType pointerType,
int rawId, int uniqueId, bool isPrimary,
- PlatformTouchPoint::State state)
+ PlatformTouchPoint::TouchState state)
{
RefPtrWillBeRawPtr<PointerEvent> pointerEvent = m_pointerEventFactory.create(
EventTypeNames::pointerdown, PointerEventFactoryTest::PlatformTouchPointBuilder(pointerType, rawId, state), PlatformEvent::NoModifiers, 0, 0, 0, 0);
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEventFactory.cpp ('k') | third_party/WebKit/Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698