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

Unified Diff: lib/html/frog/html_frog.dart

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, 8 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/html/dartium/html_dartium.dart ('k') | tests/dom/dom.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index fc495a96c1319ba9036ccebac6145778d7315678..69de2f3b51f001301a15d6f439d92c135c30ddea 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -5693,10 +5693,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() {
@@ -5772,9 +5775,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));
@@ -17643,7 +17645,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/html/dartium/html_dartium.dart ('k') | tests/dom/dom.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698