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

Unified Diff: client/dom/src/KeyName.dart

Issue 8872058: Add KeyName and KeyLocation to frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « client/dom/src/KeyLocation.dart ('k') | client/dom/wrapping_dom.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/src/KeyName.dart
diff --git a/client/dom/snippets/events/KeyboardEvent.dart.snippet b/client/dom/src/KeyName.dart
similarity index 92%
rename from client/dom/snippets/events/KeyboardEvent.dart.snippet
rename to client/dom/src/KeyName.dart
index 7631b88a7381f6fd5d0f6871235acee55cb29633..7c8aae34db41aae7897778b294576dba417f9455 100644
--- a/client/dom/snippets/events/KeyboardEvent.dart.snippet
+++ b/client/dom/src/KeyName.dart
@@ -3,48 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
/**
- * Defines the standard key locations returned by
- * KeyboardEvent.getKeyLocation.
- */
-interface KeyLocation {
-
- /**
- * The event key is not distinguished as the left or right version
- * of the key, and did not originate from the numeric keypad (or did not
- * originate with a virtual key corresponding to the numeric keypad).
- */
- static final int STANDARD = 0;
-
- /**
- * The event key is in the left key location.
- */
- static final int LEFT = 1;
-
- /**
- * The event key is in the right key location.
- */
- static final int RIGHT = 2;
-
- /**
- * The event key originated on the numeric keypad or with a virtual key
- * corresponding to the numeric keypad.
- */
- static final int NUMPAD = 3;
-
- /**
- * The event key originated on a mobile device, either on a physical
- * keypad or a virtual keyboard.
- */
- static final int MOBILE = 4;
-
- /**
- * The event key originated on a game controller or a joystick on a mobile
- * device.
- */
- static final int JOYSTICK = 5;
-}
-
-/**
* Defines the standard keyboard identifier names for keys that are returned
* by KeyEvent.getKeyboardIdentifier when the key does not have a direct
* unicode mapping.
« no previous file with comments | « client/dom/src/KeyLocation.dart ('k') | client/dom/wrapping_dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698