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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2693893007: binding: Changes the association among global-proxy/global/window-instance (2nd attempt). (Closed)
Patch Set: Fixed a typo in DOMWrapperWorld::DissociateDOMWindowWrappersInAllWorlds. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 HTMLCollection* applets(); 401 HTMLCollection* applets();
402 HTMLCollection* links(); 402 HTMLCollection* links();
403 HTMLCollection* forms(); 403 HTMLCollection* forms();
404 HTMLCollection* anchors(); 404 HTMLCollection* anchors();
405 HTMLCollection* scripts(); 405 HTMLCollection* scripts();
406 HTMLAllCollection* all(); 406 HTMLAllCollection* all();
407 407
408 HTMLCollection* WindowNamedItems(const AtomicString& name); 408 HTMLCollection* WindowNamedItems(const AtomicString& name);
409 DocumentNameCollection* DocumentNamedItems(const AtomicString& name); 409 DocumentNameCollection* DocumentNamedItems(const AtomicString& name);
410 410
411 // "defaultView" attribute defined in HTML spec.
412 LocalDOMWindow* defaultView() const;
413
411 bool IsHTMLDocument() const { return document_classes_ & kHTMLDocumentClass; } 414 bool IsHTMLDocument() const { return document_classes_ & kHTMLDocumentClass; }
412 bool IsXHTMLDocument() const { 415 bool IsXHTMLDocument() const {
413 return document_classes_ & kXHTMLDocumentClass; 416 return document_classes_ & kXHTMLDocumentClass;
414 } 417 }
415 bool IsXMLDocument() const { return document_classes_ & kXMLDocumentClass; } 418 bool IsXMLDocument() const { return document_classes_ & kXMLDocumentClass; }
416 bool IsImageDocument() const { 419 bool IsImageDocument() const {
417 return document_classes_ & kImageDocumentClass; 420 return document_classes_ & kImageDocumentClass;
418 } 421 }
419 bool IsSVGDocument() const { return document_classes_ & kSVGDocumentClass; } 422 bool IsSVGDocument() const { return document_classes_ & kSVGDocumentClass; }
420 bool IsPluginDocument() const { 423 bool IsPluginDocument() const {
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1725 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1728 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1726 1729
1727 } // namespace blink 1730 } // namespace blink
1728 1731
1729 #ifndef NDEBUG 1732 #ifndef NDEBUG
1730 // Outside the WebCore namespace for ease of invocation from gdb. 1733 // Outside the WebCore namespace for ease of invocation from gdb.
1731 CORE_EXPORT void showLiveDocumentInstances(); 1734 CORE_EXPORT void showLiveDocumentInstances();
1732 #endif 1735 #endif
1733 1736
1734 #endif // Document_h 1737 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698