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

Unified Diff: sdk/lib/html/src/KeyLocation.dart

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « sdk/lib/html/src/KeyCode.dart ('k') | sdk/lib/html/src/KeyName.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/src/KeyLocation.dart
diff --git a/sdk/lib/html/src/KeyLocation.dart b/sdk/lib/html/src/KeyLocation.dart
deleted file mode 100644
index 33d28870aff2c56a9fb33ffb02c637164374069a..0000000000000000000000000000000000000000
--- a/sdk/lib/html/src/KeyLocation.dart
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of html;
-
-/**
- * Defines the standard key locations returned by
- * KeyboardEvent.getKeyLocation.
- */
-abstract class 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 const int STANDARD = 0;
-
- /**
- * The event key is in the left key location.
- */
- static const int LEFT = 1;
-
- /**
- * The event key is in the right key location.
- */
- static const int RIGHT = 2;
-
- /**
- * The event key originated on the numeric keypad or with a virtual key
- * corresponding to the numeric keypad.
- */
- static const int NUMPAD = 3;
-
- /**
- * The event key originated on a mobile device, either on a physical
- * keypad or a virtual keyboard.
- */
- static const int MOBILE = 4;
-
- /**
- * The event key originated on a game controller or a joystick on a mobile
- * device.
- */
- static const int JOYSTICK = 5;
-}
« no previous file with comments | « sdk/lib/html/src/KeyCode.dart ('k') | sdk/lib/html/src/KeyName.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698