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

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: Rebase on master 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
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebInputEventFactoryTestGtk.cpp
diff --git a/Source/web/tests/WebInputEventFactoryTestGtk.cpp b/Source/web/tests/WebInputEventFactoryTestGtk.cpp
index 5093ca14120428f883a507021dfbca33b5328a74..51a884c23d616b89820bcb88b03add1d812626b3 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->location() == WebCore::KeyboardEvent::DOMKeyLocationNumpad);
+ EXPECT_TRUE(keypress->location() == WebCore::KeyboardEvent::DOM_KEY_LOCATION_NUMPAD);
WebKit::WebKeyboardEventBuilder builder(*keypress);
EXPECT_TRUE(builder.modifiers & WebInputEvent::IsKeyPad);
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698