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 r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 Element* rootScroller() const; | 1085 Element* rootScroller() const; |
1086 void setRootScroller(Element*, ExceptionState&); | 1086 void setRootScroller(Element*, ExceptionState&); |
1087 RootScrollerController* rootScrollerController() const { return m_rootScroll
erController.get(); } | 1087 RootScrollerController* rootScrollerController() const { return m_rootScroll
erController.get(); } |
1088 | 1088 |
1089 // TODO(bokan): Temporarily added to allow ScrollCustomization to properly | 1089 // TODO(bokan): Temporarily added to allow ScrollCustomization to properly |
1090 // opt out for wheel scrolls. crbug.com/623079. | 1090 // opt out for wheel scrolls. crbug.com/623079. |
1091 bool isViewportScrollCallback(const ScrollStateCallback*); | 1091 bool isViewportScrollCallback(const ScrollStateCallback*); |
1092 | 1092 |
1093 bool isInMainFrame() const; | 1093 bool isInMainFrame() const; |
1094 | 1094 |
| 1095 void purgeMemory(); |
| 1096 |
1095 protected: | 1097 protected: |
1096 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1098 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
1097 | 1099 |
1098 void didUpdateSecurityOrigin() final; | 1100 void didUpdateSecurityOrigin() final; |
1099 | 1101 |
1100 void clearXMLVersion() { m_xmlVersion = String(); } | 1102 void clearXMLVersion() { m_xmlVersion = String(); } |
1101 | 1103 |
1102 virtual Document* cloneDocumentWithoutChildren(); | 1104 virtual Document* cloneDocumentWithoutChildren(); |
1103 | 1105 |
1104 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN
ode* newContainerNode, ExceptionState&); | 1106 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN
ode* newContainerNode, ExceptionState&); |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1460 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1459 | 1461 |
1460 } // namespace blink | 1462 } // namespace blink |
1461 | 1463 |
1462 #ifndef NDEBUG | 1464 #ifndef NDEBUG |
1463 // Outside the WebCore namespace for ease of invocation from gdb. | 1465 // Outside the WebCore namespace for ease of invocation from gdb. |
1464 CORE_EXPORT void showLiveDocumentInstances(); | 1466 CORE_EXPORT void showLiveDocumentInstances(); |
1465 #endif | 1467 #endif |
1466 | 1468 |
1467 #endif // Document_h | 1469 #endif // Document_h |
OLD | NEW |