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

Side by Side Diff: tools/dom/src/html_native_DOMImplementation.dart

Issue 260893007: Initial overloading implementation in _blink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Eliminated duplicate entry in dart.idl Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 class _ConsoleVariables { 7 class _ConsoleVariables {
8 Map<String, Object> _data = new Map<String, Object>(); 8 Map<String, Object> _data = new Map<String, Object>();
9 9
10 /** 10 /**
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 _DOMStringMap.internal(); 485 _DOMStringMap.internal();
486 486
487 bool containsValue(String value) => Maps.containsValue(this, value); 487 bool containsValue(String value) => Maps.containsValue(this, value);
488 bool containsKey(String key) => _blink.Native_DOMStringMap_containsKey(this, k ey); 488 bool containsKey(String key) => _blink.Native_DOMStringMap_containsKey(this, k ey);
489 String operator [](String key) => _blink.Native_DOMStringMap_item(this, key); 489 String operator [](String key) => _blink.Native_DOMStringMap_item(this, key);
490 void operator []=(String key, String value) => _blink.Native_DOMStringMap_setI tem(this, key, value); 490 void operator []=(String key, String value) => _blink.Native_DOMStringMap_setI tem(this, key, value);
491 String putIfAbsent(String key, String ifAbsent()) => Maps.putIfAbsent(this, ke y, ifAbsent); 491 String putIfAbsent(String key, String ifAbsent()) => Maps.putIfAbsent(this, ke y, ifAbsent);
492 String remove(String key) => _blink.Native_DOMStringMap_remove(this, key); 492 String remove(String key) => _blink.Native_DOMStringMap_remove(this, key);
493 void clear() => Maps.clear(this); 493 void clear() => Maps.clear(this);
494 void forEach(void f(String key, String value)) => Maps.forEach(this, f); 494 void forEach(void f(String key, String value)) => Maps.forEach(this, f);
495 Iterable<String> get keys => _blink.Native_DOMStringMap_get_keys(this, keys); 495 Iterable<String> get keys => _blink.Native_DOMStringMap_get_keys(this);
496 Iterable<String> get values => Maps.getValues(this); 496 Iterable<String> get values => Maps.getValues(this);
497 int get length => Maps.length(this); 497 int get length => Maps.length(this);
498 bool get isEmpty => Maps.isEmpty(this); 498 bool get isEmpty => Maps.isEmpty(this);
499 bool get isNotEmpty => Maps.isNotEmpty(this); 499 bool get isNotEmpty => Maps.isNotEmpty(this);
500 void addAll(Map<String, String> other) { 500 void addAll(Map<String, String> other) {
501 other.forEach((key, value) => this[key] = value); 501 other.forEach((key, value) => this[key] = value);
502 } 502 }
503 } 503 }
504 504
505 final _printClosure = window.console.log; 505 final _printClosure = window.console.log;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 _scheduleImmediateHelper._schedule(callback); 599 _scheduleImmediateHelper._schedule(callback);
600 }; 600 };
601 601
602 get _pureIsolateScheduleImmediateClosure => ((void callback()) => 602 get _pureIsolateScheduleImmediateClosure => ((void callback()) =>
603 throw new UnimplementedError("scheduleMicrotask in background isolates " 603 throw new UnimplementedError("scheduleMicrotask in background isolates "
604 "are not supported in the browser")); 604 "are not supported in the browser"));
605 605
606 void _initializeCustomElement(Element e) { 606 void _initializeCustomElement(Element e) {
607 _Utils.initializeCustomElement(e); 607 _Utils.initializeCustomElement(e);
608 } 608 }
OLDNEW
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | tools/dom/templates/html/dartium/_blink_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698