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

Unified Diff: lib/dom/src/KeyLocation.dart

Issue 10880068: - Change "static final" to "static const" in the lib/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months 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 | « lib/dom/scripts/systeminterface.py ('k') | lib/dom/src/KeyName.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/src/KeyLocation.dart
===================================================================
--- lib/dom/src/KeyLocation.dart (revision 11400)
+++ lib/dom/src/KeyLocation.dart (working copy)
@@ -13,33 +13,33 @@
* 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;
+ static const int STANDARD = 0;
/**
* The event key is in the left key location.
*/
- static final int LEFT = 1;
+ static const int LEFT = 1;
/**
* The event key is in the right key location.
*/
- static final int RIGHT = 2;
+ static const 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;
+ static const 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;
+ static const int MOBILE = 4;
/**
* The event key originated on a game controller or a joystick on a mobile
* device.
*/
- static final int JOYSTICK = 5;
+ static const int JOYSTICK = 5;
}
« no previous file with comments | « lib/dom/scripts/systeminterface.py ('k') | lib/dom/src/KeyName.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698