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

Unified Diff: ui/events/cocoa/events_mac.mm

Issue 1348843002: Revert of [KeyEvent Mac] Move WebInputEventFactory into chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/cocoa/events_mac.mm
diff --git a/ui/events/cocoa/events_mac.mm b/ui/events/cocoa/events_mac.mm
index 7d540e710012da37c57e0c3aa3d1edd2147cdc81..e68c755984b066cdbff126e59e64c5050e74f052 100644
--- a/ui/events/cocoa/events_mac.mm
+++ b/ui/events/cocoa/events_mac.mm
@@ -233,7 +233,7 @@
if ([native_event type] != NSFlagsChanged)
text = [native_event characters];
- // These exceptions are based on web_input_event_builders_mac.mm:
+ // These exceptions are based on WebInputEventFactoryMac.mm:
uint32 windows_keycode = WindowsKeycodeFromNative(native_event);
if (windows_keycode == '\r')
text = @"\r";
@@ -252,7 +252,7 @@
if ([native_event type] != NSFlagsChanged)
text = [native_event charactersIgnoringModifiers];
- // These exceptions are based on web_input_event_builders_mac.mm:
+ // These exceptions are based on WebInputEventFactoryMac.mm:
uint32 windows_keycode = WindowsKeycodeFromNative(native_event);
if (windows_keycode == '\r')
text = @"\r";
« no previous file with comments | « tools/copyright_scanner/third_party_files_whitelist.txt ('k') | ui/events/keycodes/keyboard_code_conversion_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698