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

Unified Diff: ui/events/platform/platform_event_builder.cc

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 9 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: ui/events/platform/platform_event_builder.cc
diff --git a/ui/events/platform/platform_event_builder.cc b/ui/events/platform/platform_event_builder.cc
index 2d7b1e14733a3f64c2e0ec4e9c80a2b9e241a749..e893b1609be3af11b430691566f9c70d66c6302c 100644
--- a/ui/events/platform/platform_event_builder.cc
+++ b/ui/events/platform/platform_event_builder.cc
@@ -244,11 +244,6 @@ void PlatformEventBuilder::FillKeyEventFrom(
#if defined(USE_X11)
key_event->NormalizeFlags();
#endif
-#if defined(OS_WIN)
- // Only Windows has native character events.
- if (key_event->is_char())
- key_event->set_character(native_event.wParam);
-#endif
}
// static
« no previous file with comments | « ui/events/keycodes/dom4/keycode_converter_unittest.cc ('k') | ui/events/platform/platform_event_builder_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698