Files
sdk/tools/dom/templates/html/impl/impl_Touch.darttemplate
T
efortuna@google.com 90873051ad Making almost all dom_ methods private. Exceptions will be addressed in a later CL.
Current ones that still remain to be made private include createElement(NS),
createRange, all the Element properties, and childNodes.

BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//23055008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26605 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 18:25:40 +00:00

23 lines
669 B
Plaintext

// 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;
@DocsEditable()
$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
$!MEMBERS
@DomName('Touch.clientX')
@DomName('Touch.clientY')
Point get client => new Point(_clientX, _clientY);
@DomName('Touch.pageX')
@DomName('Touch.pageY')
Point get page => new Point(_pageX, _pageY);
@DomName('Touch.screenX')
@DomName('Touch.screenY')
Point get screen => new Point(_screenX, _screenY);
}