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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2617733004: binding: Changes the association among global-proxy/global/window-instance. (Closed)
Patch Set: Fixed Document.defaultView Created 3 years, 11 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
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 427d76815975c1889ce98601a04d309f01c485f5..2b1c20dee45e2c6f7e8ea7d4bf0177315e880b20 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -413,6 +413,9 @@ class CORE_EXPORT Document : public ContainerNode,
HTMLCollection* windowNamedItems(const AtomicString& name);
DocumentNameCollection* documentNamedItems(const AtomicString& name);
+ // "defaultView" attribute defined in HTML spec.
+ LocalDOMWindow* defaultView() const;
+
bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; }
bool isXHTMLDocument() const {
return m_documentClasses & XHTMLDocumentClass;

Powered by Google App Engine
This is Rietveld 408576698