summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/KeyEventAndroid.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-01-20 14:03:58 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-01-20 14:03:58 -0800
commit528e2187562372a650037bc65fc4446ac2ff0772 (patch)
tree7756338cdd4ec7c9704774933ba8bc2f43accada /WebCore/platform/android/KeyEventAndroid.cpp
parent7a355dabbffb876b2e08cf63ac4fc28a39c19c6a (diff)
downloadexternal_webkit-528e2187562372a650037bc65fc4446ac2ff0772.zip
external_webkit-528e2187562372a650037bc65fc4446ac2ff0772.tar.gz
external_webkit-528e2187562372a650037bc65fc4446ac2ff0772.tar.bz2
auto import from //branches/cupcake/...@127101
Diffstat (limited to 'WebCore/platform/android/KeyEventAndroid.cpp')
-rw-r--r--WebCore/platform/android/KeyEventAndroid.cpp12
1 files changed, 6 insertions, 6 deletions
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 <ui/KeycodeLabels.h>
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: