| 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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1114 void didAssociateFormControl(Element*); | 1114 void didAssociateFormControl(Element*); |
| 1115 | 1115 |
| 1116 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me
ssage, unsigned long requestIdentifier = 0); | 1116 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me
ssage, unsigned long requestIdentifier = 0); |
| 1117 | 1117 |
| 1118 virtual const SecurityOrigin* topOrigin() const OVERRIDE; | 1118 virtual const SecurityOrigin* topOrigin() const OVERRIDE; |
| 1119 | 1119 |
| 1120 PassRefPtr<FontLoader> fontloader(); | 1120 PassRefPtr<FontLoader> fontloader(); |
| 1121 | 1121 |
| 1122 virtual void visitWith(Visitor*) const; | 1122 virtual void visitWith(Visitor*) const; |
| 1123 | 1123 |
| 1124 virtual void acceptHeapVisitor(Visitor*) const; | |
| 1125 | |
| 1126 using Node::accept; | 1124 using Node::accept; |
| 1127 | 1125 |
| 1128 void clearWeakPointers(Visitor*); | 1126 void clearWeakPointers(Visitor*); |
| 1129 | 1127 |
| 1130 protected: | 1128 protected: |
| 1131 Document(Frame*, const KURL&, bool isXHTML, bool isHTML); | 1129 Document(Frame*, const KURL&, bool isXHTML, bool isHTML); |
| 1132 | 1130 |
| 1133 virtual void didUpdateSecurityOrigin() OVERRIDE; | 1131 virtual void didUpdateSecurityOrigin() OVERRIDE; |
| 1134 | 1132 |
| 1135 void clearXMLVersion() { m_xmlVersion = String(); } | 1133 void clearXMLVersion() { m_xmlVersion = String(); } |
| 1136 | 1134 |
| 1137 Handle<Document> selfHandle() { return adoptRawResult(this); } | 1135 Handle<Document> selfHandle() { return adoptRawResult(this); } |
| 1138 Handle<const Document> selfHandle() const { return adoptRawResult(this); } | 1136 Handle<const Document> selfHandle() const { return adoptRawResult(this); } |
| 1139 | 1137 |
| 1138 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 1139 |
| 1140 private: | 1140 private: |
| 1141 friend class Node; | 1141 friend class Node; |
| 1142 friend class IgnoreDestructiveWriteCountIncrementer; | 1142 friend class IgnoreDestructiveWriteCountIncrementer; |
| 1143 | 1143 |
| 1144 void detachParser(); | 1144 void detachParser(); |
| 1145 | 1145 |
| 1146 typedef void (*ArgumentsCallback)(const String& keyString, const String& val
ueString, Handle<Document>, void* data); | 1146 typedef void (*ArgumentsCallback)(const String& keyString, const String& val
ueString, Handle<Document>, void* data); |
| 1147 void processArguments(const String& features, void* data, ArgumentsCallback)
; | 1147 void processArguments(const String& features, void* data, ArgumentsCallback)
; |
| 1148 | 1148 |
| 1149 virtual bool isDocument() const OVERRIDE { return true; } | 1149 virtual bool isDocument() const OVERRIDE { return true; } |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1528 trackForDebugging(); | 1528 trackForDebugging(); |
| 1529 #endif | 1529 #endif |
| 1530 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1530 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
| 1531 } | 1531 } |
| 1532 | 1532 |
| 1533 Node* eventTargetNodeForDocument(Handle<Document>); | 1533 Node* eventTargetNodeForDocument(Handle<Document>); |
| 1534 | 1534 |
| 1535 } // namespace WebCore | 1535 } // namespace WebCore |
| 1536 | 1536 |
| 1537 #endif // Document_h | 1537 #endif // Document_h |
| OLD | NEW |