From 528e2187562372a650037bc65fc4446ac2ff0772 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 20 Jan 2009 14:03:58 -0800 Subject: auto import from //branches/cupcake/...@127101 --- WebCore/platform/android/KeyEventAndroid.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'WebCore/platform/android/KeyEventAndroid.cpp') diff --git a/WebCore/platform/android/KeyEventAndroid.cpp b/WebCore/platform/android/KeyEventAndroid.cpp index 7260320..1a245a4 100644 --- a/WebCore/platform/android/KeyEventAndroid.cpp +++ b/WebCore/platform/android/KeyEventAndroid.cpp @@ -24,16 +24,17 @@ */ #include "config.h" +#include "PlatformKeyboardEvent.h" + #include "KeyboardCodes.h" #include "NotImplemented.h" -#include "PlatformKeyboardEvent.h" #include namespace WebCore { // compare to same function in gdk/KeyEventGdk.cpp static int windowsKeyCodeForKeyEvent(unsigned int keyCode) { -// Does not provide all key codes, and does not handle all keys. + // Does not provide all key codes, and does not handle all keys. switch(keyCode) { case kKeyCodeDel: return VK_BACK; @@ -161,9 +162,8 @@ static int windowsKeyCodeForKeyEvent(unsigned int keyCode) { static String keyIdentifierForAndroidKeyCode(int keyCode) { -/* Does not return all of the same key identifiers, and - * does not handle all the keys. - */ + // Does not return all of the same key identifiers, and + // does not handle all the keys. switch (keyCode) { case kKeyCodeClear: return "Clear"; @@ -180,7 +180,7 @@ static String keyIdentifierForAndroidKeyCode(int keyCode) return "Right"; case kKeyCodeDpadUp: return "Up"; - // Standard says that DEL becomes U+00007F. + // Standard says that DEL becomes U+00007F. case kKeyCodeDel: return "U+00007F"; default: -- cgit v1.1