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

Unified Diff: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10257022: Add AudioElement constructor to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix status Created 8 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:
Download patch
« no previous file with comments | « lib/dom/templates/html/interface/interface_AudioContext.darttemplate ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 319513d74d2edaa79adea728053513ea6c9e2861..dbd0d5dcab3fab5fa8824cc0a96b23f1fb882791 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -591,6 +591,12 @@ _wrap(raw) {
}
}
+spawnDomIsolate(Window targetWindow, String entryPoint) =>
+ dom.spawnDomIsolateImpl(_unwrap(targetWindow), entryPoint);
+
+dom.LayoutTestController get layoutTestController() =>
+ dom.layoutTestController;
+
class _AbstractWorkerImpl extends _EventTargetImpl implements AbstractWorker {
_AbstractWorkerImpl._wrap(ptr) : super._wrap(ptr);
@@ -7942,10 +7948,13 @@ class _ElementAttributeMap implements AttributeMap {
if (!containsKey(key)) {
this[key] = ifAbsent();
}
+ return this[key];
}
String remove(String key) {
+ String value = _element.$dom_getAttribute(key);
_element.$dom_removeAttribute(key);
+ return value;
}
void clear() {
@@ -8021,9 +8030,8 @@ class _DataAttributeMap implements AttributeMap {
$dom_attributes[_attr(key)] = '$value';
}
- String putIfAbsent(String key, String ifAbsent()) {
+ String putIfAbsent(String key, String ifAbsent()) =>
$dom_attributes.putIfAbsent(_attr(key), ifAbsent);
- }
String remove(String key) => $dom_attributes.remove(_attr(key));
@@ -23104,7 +23112,8 @@ interface AudioChannelSplitter extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName AudioContext
-interface AudioContext extends EventTarget {
+interface AudioContext extends EventTarget default _AudioContextFactoryProvider {
+ AudioContext();
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
« no previous file with comments | « lib/dom/templates/html/interface/interface_AudioContext.darttemplate ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698