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

Unified Diff: sdk/lib/html/scripts/systemhtml.py

Issue 11280103: Splitting out the Audio library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing. Created 8 years, 1 month 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
Index: sdk/lib/html/scripts/systemhtml.py
diff --git a/sdk/lib/html/scripts/systemhtml.py b/sdk/lib/html/scripts/systemhtml.py
index 9bb8186ba9337b07fa5e299d20fb71734b12ffa9..833604422408baa2a1607b082ce8287f508536bc 100644
--- a/sdk/lib/html/scripts/systemhtml.py
+++ b/sdk/lib/html/scripts/systemhtml.py
@@ -201,11 +201,16 @@ _svg_element_constructors = {
}
_element_constructors = {
+ 'audio': {},
'html': _html_element_constructors,
- 'svg': _svg_element_constructors
+ 'svg': _svg_element_constructors,
}
_factory_ctr_strings = {
+ 'audio': {
Emily Fortuna 2012/11/20 22:38:17 :-)
+ 'provider_name': 'document',
+ 'constructor_name': '$dom_createElement'
+ },
'html': {
'provider_name': 'document',
'constructor_name': '$dom_createElement'
@@ -981,8 +986,9 @@ class DartLibrary():
class DartLibraries():
def __init__(self, template_loader, library_type, output_dir):
self._libraries = {
- 'svg': DartLibrary('svg', template_loader, library_type, output_dir),
+ 'audio': DartLibrary('audio', template_loader, library_type, output_dir),
'html': DartLibrary('html', template_loader, library_type, output_dir),
+ 'svg': DartLibrary('svg', template_loader, library_type, output_dir),
}
def AddFile(self, basename, library_name, path):

Powered by Google App Engine
This is Rietveld 408576698