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

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

Issue 1426643008: Cleaning up PointerIdManager and add id re-mapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a link error in the shared_library case Created 5 years, 1 month 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/PointerIdManagerTest.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerIdManagerTest.cpp b/third_party/WebKit/Source/core/events/PointerIdManagerTest.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..82afff89c83d89452568dcbc42e003c926422afc
--- /dev/null
+++ b/third_party/WebKit/Source/core/events/PointerIdManagerTest.cpp
@@ -0,0 +1,269 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "core/events/PointerIdManager.h"
+
+#include "public/platform/WebPointerProperties.h"
+#include <climits>
+#include <gtest/gtest.h>
+
+namespace blink {
+
+class PointerIdManagerTest : public ::testing::Test {
+protected:
+ void SetUp() override;
+
+ PointerIdManager m_pointerIdManager;
+ unsigned m_expectedMouseId;
+ unsigned m_mappedIdStart;
+};
+
+void PointerIdManagerTest::SetUp()
+{
+ m_expectedMouseId = 1;
+ m_mappedIdStart = 2;
+
+}
+TEST_F(PointerIdManagerTest, MousePointer)
+{
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_expectedMouseId), WebPointerProperties::PointerType::Mouse);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_expectedMouseId));
+
+ m_pointerIdManager.remove(m_expectedMouseId);
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Mouse, 0));
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_expectedMouseId), WebPointerProperties::PointerType::Mouse);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_expectedMouseId));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Mouse, 0)), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Mouse, 0)), m_expectedMouseId);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_expectedMouseId), WebPointerProperties::PointerType::Mouse);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_expectedMouseId));
+}
+
+TEST_F(PointerIdManagerTest, TouchPointerPrimaryRemovedWhileAnotherIsThere)
+{
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 1)), m_mappedIdStart+1);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+
+ m_pointerIdManager.remove(m_mappedIdStart);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 5)), m_mappedIdStart+2);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+2), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+2));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart+3);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+3), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+3));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+2), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+2));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+
+}
+
+TEST_F(PointerIdManagerTest, TouchPointerReleasedAndPressedAgain)
+{
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 1)), m_mappedIdStart+1);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+
+
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0));
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 1));
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 1)), m_mappedIdStart+2);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart+3);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart+2);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+2), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart+2));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+3), WebPointerProperties::PointerType::Touch);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+3));
+
+
+ m_pointerIdManager.clear();
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart+4);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart+4);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+4), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart+4));
+
+}
+
+TEST_F(PointerIdManagerTest, TouchAndDrag)
+{
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0));
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart+1);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+
+}
+
+TEST_F(PointerIdManagerTest, MouseAndTouchAndPen)
+{
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), PointerIdManager::s_invalidId);
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Mouse, 0)), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 0)), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Pen, 0)), m_mappedIdStart+1);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_expectedMouseId), WebPointerProperties::PointerType::Mouse);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_expectedMouseId));
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Pen);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 1)), m_mappedIdStart+2);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 2)), m_mappedIdStart+3);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Pen, 0)), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Pen, 3)), m_mappedIdStart+4);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_expectedMouseId), WebPointerProperties::PointerType::Mouse);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_expectedMouseId));
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart), WebPointerProperties::PointerType::Touch);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart));
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Pen);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 1));
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, 2));
+ m_pointerIdManager.remove(m_mappedIdStart);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_expectedMouseId), WebPointerProperties::PointerType::Mouse);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_expectedMouseId));
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), m_mappedIdStart+1);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+1), WebPointerProperties::PointerType::Pen);
+ EXPECT_TRUE(m_pointerIdManager.isPrimary(m_mappedIdStart+1));
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+4), WebPointerProperties::PointerType::Pen);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+4));
+
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Pen, 0));
+ m_pointerIdManager.remove(m_mappedIdStart+4);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), PointerIdManager::s_invalidId);
+
+}
+
+TEST_F(PointerIdManagerTest, OutOfRange)
+{
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Unknown), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), PointerIdManager::s_invalidId);
+
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Mouse, 0)), m_expectedMouseId);
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Mouse, 10));
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Pen, 20));
+ m_pointerIdManager.remove(m_mappedIdStart+100);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Unknown), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getType(m_mappedIdStart+200), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(m_mappedIdStart+200));
+ EXPECT_EQ(m_pointerIdManager.getType(PointerIdManager::s_invalidId), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(PointerIdManager::s_invalidId));
+ EXPECT_EQ(m_pointerIdManager.getType(UINT_MAX-1), WebPointerProperties::PointerType::Unknown);
+ EXPECT_FALSE(m_pointerIdManager.isPrimary(UINT_MAX-1));
+
+ EXPECT_EQ(m_pointerIdManager.add(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, UINT_MAX-2)), m_mappedIdStart);
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Unknown), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), m_mappedIdStart);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), PointerIdManager::s_invalidId);
+
+ m_pointerIdManager.remove(PointerIdManager::GeneratedPointer(WebPointerProperties::PointerType::Touch, UINT_MAX-2));
+
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Unknown), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Mouse), m_expectedMouseId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Touch), PointerIdManager::s_invalidId);
+ EXPECT_EQ(m_pointerIdManager.getPrimaryId(WebPointerProperties::PointerType::Pen), PointerIdManager::s_invalidId);
+
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698