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

Unified Diff: Source/web/tests/WebInputEventFactoryTestGtk.cpp

Issue 20986003: Define DOM_KEY_LOCATION_* constants on KeyboardEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits Created 7 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
Index: Source/web/tests/WebInputEventFactoryTestGtk.cpp
diff --git a/Source/web/tests/WebInputEventFactoryTestGtk.cpp b/Source/web/tests/WebInputEventFactoryTestGtk.cpp
index 47f8cc83dee777c80e1a071907620f7635f34e53..c133a4b6e417fda2d98d2bc121f622b419021c4e 100644
--- a/Source/web/tests/WebInputEventFactoryTestGtk.cpp
+++ b/Source/web/tests/WebInputEventFactoryTestGtk.cpp
@@ -194,7 +194,7 @@ TEST(WebInputEventFactoryTest, NumPadConversion)
// Round-trip through the WebCore KeyboardEvent class.
WebKit::PlatformKeyboardEventBuilder platformBuilder(webEvent);
RefPtr<WebCore::KeyboardEvent> keypress = WebCore::KeyboardEvent::create(platformBuilder, 0);
- EXPECT_TRUE(keypress->keyLocation() == WebCore::KeyboardEvent::DOMKeyLocationNumpad);
+ EXPECT_TRUE(keypress->keyLocation() == WebCore::KeyboardEvent::DOM_KEY_LOCATION_NUMPAD);
WebKit::WebKeyboardEventBuilder builder(*keypress);
EXPECT_TRUE(builder.modifiers & WebInputEvent::IsKeyPad);
« Source/core/dom/KeyboardEvent.h ('K') | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698