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