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

Unified Diff: sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years 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/templates/html/impl/impl_DocumentFragment.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate b/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
index 6fa79c81da5f58cb86a89f31f9831d62df297468..e94e2f00043b0ad5debed66a54eac786ecc45df7 100644
--- a/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
@@ -4,9 +4,9 @@
part of html;
-Future<CSSStyleDeclaration> _emptyStyleFuture() {
+Future<CssStyleDeclaration> _emptyStyleFuture() {
return _createMeasurementFuture(() => new Element.tag('div').style,
- new Completer<CSSStyleDeclaration>());
+ new Completer<CssStyleDeclaration>());
}
class _FrozenCssClassSet extends CssClassSet {
@@ -152,10 +152,10 @@ $endif
Map<String, String> get attributes => const {};
CssClassSet get classes => new _FrozenCssClassSet();
Map<String, String> get dataAttributes => const {};
- CSSStyleDeclaration get style => new Element.tag('div').style;
- Future<CSSStyleDeclaration> get computedStyle =>
+ CssStyleDeclaration get style => new Element.tag('div').style;
+ Future<CssStyleDeclaration> get computedStyle =>
_emptyStyleFuture();
- Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) =>
+ Future<CssStyleDeclaration> getComputedStyle(String pseudoElement) =>
_emptyStyleFuture();
bool matchesSelector(String selectors) => false;

Powered by Google App Engine
This is Rietveld 408576698