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

Unified Diff: tools/dom/src/dartium_KeyEvent.dart

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/dom/src/dartium_KeyEvent.dart
diff --git a/tools/dom/src/dartium_KeyEvent.dart b/tools/dom/src/dartium_KeyEvent.dart
index 5be433b3e2c624175bb2475b2770c6df577c6474..6be8d67ffbd36850fdff0fca274c0d821f43d26d 100644
--- a/tools/dom/src/dartium_KeyEvent.dart
+++ b/tools/dom/src/dartium_KeyEvent.dart
@@ -84,18 +84,18 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent {
/** True if the shift key was pressed during this event. */
bool get shiftKey => _parent.shiftKey;
Window get view => _parent.view;
- void $dom_initUIEvent(String type, bool canBubble, bool cancelable,
+ void _initUIEvent(String type, bool canBubble, bool cancelable,
Window view, int detail) {
throw new UnsupportedError("Cannot initialize a UI Event from a KeyEvent.");
}
- String get _shadowKeyIdentifier => _parent.$dom_keyIdentifier;
+ String get _shadowKeyIdentifier => _parent._keyIdentifier;
- int get $dom_charCode => charCode;
- int get $dom_keyCode => keyCode;
- String get $dom_keyIdentifier {
+ int get _charCode => charCode;
+ int get _keyCode => keyCode;
+ String get _keyIdentifier {
throw new UnsupportedError("keyIdentifier is unsupported.");
}
- void $dom_initKeyboardEvent(String type, bool canBubble, bool cancelable,
+ void _initKeyboardEvent(String type, bool canBubble, bool cancelable,
Window view, String keyIdentifier, int keyLocation, bool ctrlKey,
bool altKey, bool shiftKey, bool metaKey,
bool altGraphKey) {
« no previous file with comments | « tools/dom/src/dart2js_KeyEvent.dart ('k') | tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698