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

Unified Diff: lib/html/templates/html/interface/interface_ShadowRoot.darttemplate

Issue 10987080: Adding 'supported' check for shadow root. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/templates/html/impl/impl_ShadowRoot.darttemplate ('k') | tests/html/shadow_dom_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/interface/interface_ShadowRoot.darttemplate
diff --git a/lib/html/templates/html/interface/interface_CanvasElement.darttemplate b/lib/html/templates/html/interface/interface_ShadowRoot.darttemplate
similarity index 85%
copy from lib/html/templates/html/interface/interface_CanvasElement.darttemplate
copy to lib/html/templates/html/interface/interface_ShadowRoot.darttemplate
index ca44aefd9dd087e66b47e16969e644ab826498ea..ee6915e568b18a6b6f0f3c106bd8bc90668234c4 100644
--- a/lib/html/templates/html/interface/interface_CanvasElement.darttemplate
+++ b/lib/html/templates/html/interface/interface_ShadowRoot.darttemplate
@@ -7,5 +7,5 @@
$!COMMENT
abstract class $ID$EXTENDS {
$!MEMBERS
- final CanvasRenderingContext2D context2d;
+ static bool get supported => _$(ID)Impl.supported;
}
« no previous file with comments | « lib/html/templates/html/impl/impl_ShadowRoot.darttemplate ('k') | tests/html/shadow_dom_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698