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

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

Issue 2655873003: Remove PlatformEvent it is no longer used. (Closed)
Patch Set: Remove PlatformEvent it is no longer used. Created 3 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 6ba73ee6aef5c05c1a9dc2a36242daf8a69b5fb1..5914aa621e8e85d006c94adb80f11a5055179e96 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
@@ -51,7 +51,7 @@ class PointerEventFactoryTest : public ::testing::Test {
int rawId,
int uniqueId,
bool isPrimary,
- PlatformEvent::Modifiers = PlatformEvent::NoModifiers,
+ WebInputEvent::Modifiers = WebInputEvent::NoModifiers,
size_t coalescedEventCount = 0);
void createAndCheckPointerTransitionEvent(PointerEvent*, const AtomicString&);
@@ -70,7 +70,7 @@ class PointerEventFactoryTest : public ::testing::Test {
public:
WebMouseEventBuilder(WebPointerProperties::PointerType,
int,
- PlatformEvent::Modifiers);
+ WebInputEvent::Modifiers);
};
};
@@ -92,7 +92,7 @@ PointerEventFactoryTest::WebTouchPointBuilder::WebTouchPointBuilder(
PointerEventFactoryTest::WebMouseEventBuilder::WebMouseEventBuilder(
WebPointerProperties::PointerType pointerTypeParam,
int idParam,
- PlatformEvent::Modifiers modifiersParam) {
+ WebInputEvent::Modifiers modifiersParam) {
pointerType = pointerTypeParam;
id = idParam;
m_modifiers = modifiersParam;
@@ -159,7 +159,7 @@ PointerEvent* PointerEventFactoryTest::createAndCheckMouseEvent(
int rawId,
int uniqueId,
bool isPrimary,
- PlatformEvent::Modifiers modifiers,
+ WebInputEvent::Modifiers modifiers,
size_t coalescedEventCount) {
Vector<WebMouseEvent> coalescedEvents;
for (size_t i = 0; i < coalescedEventCount; i++) {
@@ -194,7 +194,7 @@ TEST_F(PointerEventFactoryTest, MousePointer) {
WebPointerProperties::PointerType::Mouse, 0, m_expectedMouseId, true);
PointerEvent* pointerEvent2 = createAndCheckMouseEvent(
WebPointerProperties::PointerType::Mouse, 0, m_expectedMouseId, true,
- PlatformEvent::LeftButtonDown);
+ WebInputEvent::LeftButtonDown);
createAndCheckPointerTransitionEvent(pointerEvent1,
EventTypeNames::pointerout);
@@ -445,7 +445,7 @@ TEST_F(PointerEventFactoryTest, OutOfRange) {
TEST_F(PointerEventFactoryTest, CoalescedEvents) {
createAndCheckMouseEvent(WebPointerProperties::PointerType::Mouse, 0,
- m_expectedMouseId, true, PlatformEvent::NoModifiers,
+ m_expectedMouseId, true, WebInputEvent::NoModifiers,
4);
createAndCheckTouchEvent(WebPointerProperties::PointerType::Touch, 0,
m_mappedIdStart, true, WebTouchPoint::StateMoved, 3);
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEventFactory.cpp ('k') | third_party/WebKit/Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698