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

Side by Side Diff: sdk/lib/html/src/KeyCode.dart

Issue 11407002: Adding 'part of html' to all files which are used by dart:html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html;
6
5 /** 7 /**
6 * Defines the keycode values for keys that are returned by 8 * Defines the keycode values for keys that are returned by
7 * KeyboardEvent.keyCode. 9 * KeyboardEvent.keyCode.
8 * 10 *
9 * Important note: There is substantial divergence in how different browsers 11 * Important note: There is substantial divergence in how different browsers
10 * handle keycodes and their variants in different locales/keyboard layouts. We 12 * handle keycodes and their variants in different locales/keyboard layouts. We
11 * provide these constants to help make code processing keys more readable. 13 * provide these constants to help make code processing keys more readable.
12 */ 14 */
13 abstract class KeyCode { 15 abstract class KeyCode {
14 // These constant names were borrowed from Closure's Keycode enumeration 16 // These constant names were borrowed from Closure's Keycode enumeration
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 static final int BACKSLASH = 220; 189 static final int BACKSLASH = 220;
188 /** 190 /**
189 * CAUTION: This constant requires localization for other locales and keyboard 191 * CAUTION: This constant requires localization for other locales and keyboard
190 * layouts. 192 * layouts.
191 */ 193 */
192 static final int CLOSE_SQUARE_BRACKET = 221; 194 static final int CLOSE_SQUARE_BRACKET = 221;
193 static final int WIN_KEY = 224; 195 static final int WIN_KEY = 224;
194 static final int MAC_FF_META = 224; 196 static final int MAC_FF_META = 224;
195 static final int WIN_IME = 229; 197 static final int WIN_IME = 229;
196 } 198 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698