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

Unified Diff: tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 years, 5 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/templates/html/dartium/impl_KeyboardEvent.darttemplate
diff --git a/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate b/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate
deleted file mode 100644
index 578b645926b4a946bac8b358549fe6af59202072..0000000000000000000000000000000000000000
--- a/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012, 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 $LIBRARYNAME;
-
-
-$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
-
- factory $CLASSNAME(String type, {
- Window view,
- bool canBubble: true,
- bool cancelable: true,
- int location,
- int keyLocation, // Legacy alias for location
- bool ctrlKey: false,
- bool altKey: false,
- bool shiftKey: false,
- bool metaKey: false}) {
- if (view == null) {
- view = window;
- }
- location ??= keyLocation ?? 1;
- final e = document._createEvent("KeyboardEvent");
- e._initKeyboardEvent(type, canBubble, cancelable, view, "",
- location, ctrlKey, altKey, shiftKey, metaKey);
- return e;
- }
-
- @DomName('KeyboardEvent.keyCode')
- int get keyCode => _keyCode;
-
- @DomName('KeyboardEvent.charCode')
- int get charCode => _charCode;
-
- @DomName('KeyboardEvent.which')
- int get which => _which;
-$!MEMBERS
-}

Powered by Google App Engine
This is Rietveld 408576698