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 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 virtual bool isDocument() const OVERRIDE FINAL { return true; } | 1125 virtual bool isDocument() const OVERRIDE FINAL { return true; } |
1126 | 1126 |
1127 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 1127 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; |
1128 | 1128 |
1129 virtual String nodeName() const OVERRIDE FINAL; | 1129 virtual String nodeName() const OVERRIDE FINAL; |
1130 virtual NodeType nodeType() const OVERRIDE FINAL; | 1130 virtual NodeType nodeType() const OVERRIDE FINAL; |
1131 virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; | 1131 virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; |
1132 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE FI
NAL; | 1132 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE FI
NAL; |
1133 void cloneDataFromDocument(const Document&); | 1133 void cloneDataFromDocument(const Document&); |
1134 | 1134 |
| 1135 #if !ENABLE(OILPAN) |
1135 virtual void refExecutionContext() OVERRIDE FINAL { ref(); } | 1136 virtual void refExecutionContext() OVERRIDE FINAL { ref(); } |
1136 virtual void derefExecutionContext() OVERRIDE FINAL { deref(); } | 1137 virtual void derefExecutionContext() OVERRIDE FINAL { deref(); } |
| 1138 #endif |
1137 | 1139 |
1138 virtual const KURL& virtualURL() const OVERRIDE FINAL; // Same as url(), but
needed for ExecutionContext to implement it without a performance loss for dire
ct calls. | 1140 virtual const KURL& virtualURL() const OVERRIDE FINAL; // Same as url(), but
needed for ExecutionContext to implement it without a performance loss for dire
ct calls. |
1139 virtual KURL virtualCompleteURL(const String&) const OVERRIDE FINAL; // Same
as completeURL() for the same reason as above. | 1141 virtual KURL virtualCompleteURL(const String&) const OVERRIDE FINAL; // Same
as completeURL() for the same reason as above. |
1140 | 1142 |
1141 virtual void reportBlockedScriptExecutionToInspector(const String& directive
Text) OVERRIDE FINAL; | 1143 virtual void reportBlockedScriptExecutionToInspector(const String& directive
Text) OVERRIDE FINAL; |
1142 virtual void addMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, ScriptState*) OVERRIDE FINAL; | 1144 virtual void addMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, ScriptState*) OVERRIDE FINAL; |
1143 void internalAddMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, PassRefPtr<ScriptCallStack>, Scrip
tState*); | 1145 void internalAddMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, PassRefPtr<ScriptCallStack>, Scrip
tState*); |
1144 | 1146 |
1145 virtual double timerAlignmentInterval() const OVERRIDE FINAL; | 1147 virtual double timerAlignmentInterval() const OVERRIDE FINAL; |
1146 | 1148 |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 inline bool Node::isDocumentNode() const | 1457 inline bool Node::isDocumentNode() const |
1456 { | 1458 { |
1457 return this == document(); | 1459 return this == document(); |
1458 } | 1460 } |
1459 | 1461 |
1460 Node* eventTargetNodeForDocument(Document*); | 1462 Node* eventTargetNodeForDocument(Document*); |
1461 | 1463 |
1462 } // namespace WebCore | 1464 } // namespace WebCore |
1463 | 1465 |
1464 #endif // Document_h | 1466 #endif // Document_h |
OLD | NEW |