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 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 | 1066 |
1067 virtual PassRefPtrWillBeRawPtr<Document> cloneDocumentWithoutChildren(); | 1067 virtual PassRefPtrWillBeRawPtr<Document> cloneDocumentWithoutChildren(); |
1068 | 1068 |
1069 bool importContainerNodeChildren(ContainerNode* oldContainerNode, PassRefPtr
WillBeRawPtr<ContainerNode> newContainerNode, ExceptionState&); | 1069 bool importContainerNodeChildren(ContainerNode* oldContainerNode, PassRefPtr
WillBeRawPtr<ContainerNode> newContainerNode, ExceptionState&); |
1070 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } | 1070 void lockCompatibilityMode() { m_compatibilityModeLocked = true; } |
1071 | 1071 |
1072 private: | 1072 private: |
1073 friend class Node; | 1073 friend class Node; |
1074 friend class IgnoreDestructiveWriteCountIncrementer; | 1074 friend class IgnoreDestructiveWriteCountIncrementer; |
1075 | 1075 |
1076 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch usele
ss calls. | 1076 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // This will catch any
one doing an unnecessary check. |
1077 bool isDocumentNode() const WTF_DELETED_FUNCTION; // Hide to catch useless c
alls. | 1077 bool isDocumentNode() const WTF_DELETED_FUNCTION; // This will catch anyone
doing an unnecessary check. |
1078 bool isElementNode() const WTF_DELETED_FUNCTION; // Hide to catch useless ca
lls. | 1078 bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone d
oing an unnecessary check. |
1079 | 1079 |
1080 ScriptedAnimationController& ensureScriptedAnimationController(); | 1080 ScriptedAnimationController& ensureScriptedAnimationController(); |
1081 virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; } | 1081 virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; } |
1082 virtual EventQueue* eventQueue() const OVERRIDE FINAL; | 1082 virtual EventQueue* eventQueue() const OVERRIDE FINAL; |
1083 | 1083 |
1084 // FIXME: Rename the StyleRecalc state to RenderTreeUpdate. | 1084 // FIXME: Rename the StyleRecalc state to RenderTreeUpdate. |
1085 bool hasPendingStyleRecalc() const { return m_lifecycle.state() == DocumentL
ifecycle::VisualUpdatePending; } | 1085 bool hasPendingStyleRecalc() const { return m_lifecycle.state() == DocumentL
ifecycle::VisualUpdatePending; } |
1086 | 1086 |
1087 bool shouldScheduleRenderTreeUpdate() const; | 1087 bool shouldScheduleRenderTreeUpdate() const; |
1088 void scheduleRenderTreeUpdate(); | 1088 void scheduleRenderTreeUpdate(); |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1432 Node* eventTargetNodeForDocument(Document*); | 1432 Node* eventTargetNodeForDocument(Document*); |
1433 | 1433 |
1434 } // namespace blink | 1434 } // namespace blink |
1435 | 1435 |
1436 #ifndef NDEBUG | 1436 #ifndef NDEBUG |
1437 // Outside the WebCore namespace for ease of invocation from gdb. | 1437 // Outside the WebCore namespace for ease of invocation from gdb. |
1438 void showLiveDocumentInstances(); | 1438 void showLiveDocumentInstances(); |
1439 #endif | 1439 #endif |
1440 | 1440 |
1441 #endif // Document_h | 1441 #endif // Document_h |
OLD | NEW |