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

Unified Diff: tools/dom/templates/html/impl/impl_Selection.darttemplate

Issue 2669103003: Add Selection.toString() calling the native method (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Previous merge was a mistake, undoing Created 3 years, 10 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 | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Selection.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_ImageData.darttemplate b/tools/dom/templates/html/impl/impl_Selection.darttemplate
similarity index 58%
copy from tools/dom/templates/html/impl/impl_ImageData.darttemplate
copy to tools/dom/templates/html/impl/impl_Selection.darttemplate
index dd04deedcc784a23b0ac47e56b21526f604ee431..ed9f52abefdd5a55187958812e98715aaa2dbf38 100644
--- a/tools/dom/templates/html/impl/impl_ImageData.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Selection.darttemplate
@@ -1,19 +1,16 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2017, 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 {
-$if DARTIUM
Alan Knight 2017/02/03 18:06:37 Note: this is bogus. The file is a new addition, a
- List<int> __data;
+// WARNING: Do not edit - generated code.
- List<int> get data {
- if (__data == null) {
- __data = _data;
- }
- return __data;
- }
-$endif
+part of $LIBRARYNAME;
+$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
$!MEMBERS
+$if DART2JS
+ @DomName('Selection.toString')
+ @DocsEditable()
+ String toString() native;
+$endif
}
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698