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

Unified Diff: client/dom/templates/html/dartium/impl_Document.darttemplate

Issue 9600035: Enable new dart:html wrapperless frog bindings and wrapper dartium bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle all code review comments Created 8 years, 10 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 | « client/dom/scripts/systemhtml.py ('k') | client/dom/templates/html/frog/html_frog.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/templates/html/dartium/impl_Document.darttemplate
diff --git a/client/dom/templates/html/dartium/impl_Document.darttemplate b/client/dom/templates/html/dartium/impl_Document.darttemplate
index 08df5eea66cd89df139cfc06d4c0ba61694161f6..2ff6d9bd8e32be7a490096c9dbc3feda0547193a 100644
--- a/client/dom/templates/html/dartium/impl_Document.darttemplate
+++ b/client/dom/templates/html/dartium/impl_Document.darttemplate
@@ -6,7 +6,7 @@ class $CLASSNAME extends _ElementImpl
implements Document {
$!MEMBERS
- final dom.Document _documentPtr;
+ final dom.HTMLDocument _documentPtr;
final _NodeImpl _wrappedDocumentPtr;
_DocumentImpl._wrap(ptr) :
@@ -15,12 +15,6 @@ _DocumentImpl._wrap(ptr) :
_wrappedDocumentPtr = ptr.parentNode != null ?
new _SecretHtmlDocumentImpl._wrap(ptr.parentNode) : null;
- // TODO(jacobr): remove these methods and let them be generated automatically
- // once dart supports defining fields with the same name in an interface and
- // its parent interface.
- String get title() => _documentPtr.title;
- void set title(String value) => _documentPtr.title = title;
-
// For efficiency and simplicity, we always use the HtmlElement as the
// Document but sometimes internally we need the real JS document object.
_NodeImpl get _rawDocument() => _wrappedDocumentPtr;
« no previous file with comments | « client/dom/scripts/systemhtml.py ('k') | client/dom/templates/html/frog/html_frog.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698