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

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

Issue 1312833006: Remove ui::KeyEvent::platform_keycode_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « mojo/converters/input_events/input_events_type_converters.cc ('k') | ui/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/cocoa/events_mac.mm
diff --git a/ui/events/cocoa/events_mac.mm b/ui/events/cocoa/events_mac.mm
index e68c755984b066cdbff126e59e64c5050e74f052..be575cbe8ca38926c1c1662ff937be038b2ba3a8 100644
--- a/ui/events/cocoa/events_mac.mm
+++ b/ui/events/cocoa/events_mac.mm
@@ -220,10 +220,6 @@ DomCode CodeFromNative(const base::NativeEvent& native_event) {
return CodeFromNSEvent(native_event);
}
-uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) {
- return native_event.keyCode;
-}
-
uint32 WindowsKeycodeFromNative(const base::NativeEvent& native_event) {
return static_cast<uint32>(KeyboardCodeFromNSEvent(native_event));
}
« no previous file with comments | « mojo/converters/input_events/input_events_type_converters.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698