| OLD | NEW |
| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "core/frame/HostsUsingFeatures.h" | 53 #include "core/frame/HostsUsingFeatures.h" |
| 54 #include "core/html/parser/ParserSynchronizationPolicy.h" | 54 #include "core/html/parser/ParserSynchronizationPolicy.h" |
| 55 #include "core/page/PageVisibilityState.h" | 55 #include "core/page/PageVisibilityState.h" |
| 56 #include "platform/Length.h" | 56 #include "platform/Length.h" |
| 57 #include "platform/Timer.h" | 57 #include "platform/Timer.h" |
| 58 #include "platform/weborigin/KURL.h" | 58 #include "platform/weborigin/KURL.h" |
| 59 #include "platform/weborigin/ReferrerPolicy.h" | 59 #include "platform/weborigin/ReferrerPolicy.h" |
| 60 #include "public/platform/WebFocusType.h" | 60 #include "public/platform/WebFocusType.h" |
| 61 #include "public/platform/WebInsecureRequestPolicy.h" | 61 #include "public/platform/WebInsecureRequestPolicy.h" |
| 62 #include "wtf/HashSet.h" | 62 #include "wtf/HashSet.h" |
| 63 #include "wtf/Optional.h" |
| 63 #include "wtf/PassRefPtr.h" | 64 #include "wtf/PassRefPtr.h" |
| 64 #include <memory> | 65 #include <memory> |
| 65 | 66 |
| 66 namespace blink { | 67 namespace blink { |
| 67 | 68 |
| 68 class AnimationClock; | 69 class AnimationClock; |
| 69 class DocumentTimeline; | 70 class DocumentTimeline; |
| 70 class AXObjectCache; | 71 class AXObjectCache; |
| 71 class Attr; | 72 class Attr; |
| 72 class CDATASection; | 73 class CDATASection; |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 return m_resizeObserverController; | 817 return m_resizeObserverController; |
| 817 } | 818 } |
| 818 ResizeObserverController& ensureResizeObserverController(); | 819 ResizeObserverController& ensureResizeObserverController(); |
| 819 | 820 |
| 820 void updateViewportDescription(); | 821 void updateViewportDescription(); |
| 821 | 822 |
| 822 // Returns the owning element in the parent document. Returns nullptr if | 823 // Returns the owning element in the parent document. Returns nullptr if |
| 823 // this is the top level document or the owner is remote. | 824 // this is the top level document or the owner is remote. |
| 824 HTMLFrameOwnerElement* localOwner() const; | 825 HTMLFrameOwnerElement* localOwner() const; |
| 825 | 826 |
| 827 void didChangeFrameOwnerProperties(WTF::Optional<int>, |
| 828 WTF::Optional<int>, |
| 829 bool); |
| 830 |
| 826 // Returns true if this document belongs to a frame that the parent document | 831 // Returns true if this document belongs to a frame that the parent document |
| 827 // made invisible (for instance by setting as style display:none). | 832 // made invisible (for instance by setting as style display:none). |
| 828 bool isInInvisibleSubframe() const; | 833 bool isInInvisibleSubframe() const; |
| 829 | 834 |
| 830 String title() const { return m_title; } | 835 String title() const { return m_title; } |
| 831 void setTitle(const String&); | 836 void setTitle(const String&); |
| 832 | 837 |
| 833 Element* titleElement() const { return m_titleElement.get(); } | 838 Element* titleElement() const { return m_titleElement.get(); } |
| 834 void setTitleElement(Element*); | 839 void setTitleElement(Element*); |
| 835 void removeTitle(Element* titleElement); | 840 void removeTitle(Element* titleElement); |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1714 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1715 | 1720 |
| 1716 } // namespace blink | 1721 } // namespace blink |
| 1717 | 1722 |
| 1718 #ifndef NDEBUG | 1723 #ifndef NDEBUG |
| 1719 // Outside the WebCore namespace for ease of invocation from gdb. | 1724 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1720 CORE_EXPORT void showLiveDocumentInstances(); | 1725 CORE_EXPORT void showLiveDocumentInstances(); |
| 1721 #endif | 1726 #endif |
| 1722 | 1727 |
| 1723 #endif // Document_h | 1728 #endif // Document_h |
| OLD | NEW |