| 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 10 matching lines...) Expand all Loading... |
| 21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
| 22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
| 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
| 25 * | 25 * |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef Document_h | 28 #ifndef Document_h |
| 29 #define Document_h | 29 #define Document_h |
| 30 | 30 |
| 31 #include "bindings/v8/ScriptValue.h" |
| 31 #include "core/dom/ContainerNode.h" | 32 #include "core/dom/ContainerNode.h" |
| 32 #include "core/dom/DOMTimeStamp.h" | 33 #include "core/dom/DOMTimeStamp.h" |
| 33 #include "core/dom/DocumentEventQueue.h" | 34 #include "core/dom/DocumentEventQueue.h" |
| 34 #include "core/dom/DocumentTiming.h" | 35 #include "core/dom/DocumentTiming.h" |
| 35 #include "core/dom/IconURL.h" | 36 #include "core/dom/IconURL.h" |
| 36 #include "core/dom/MutationObserver.h" | 37 #include "core/dom/MutationObserver.h" |
| 37 #include "core/dom/QualifiedName.h" | 38 #include "core/dom/QualifiedName.h" |
| 38 #include "core/dom/ScriptExecutionContext.h" | 39 #include "core/dom/ScriptExecutionContext.h" |
| 39 #include "core/dom/TreeScope.h" | 40 #include "core/dom/TreeScope.h" |
| 40 #include "core/dom/UserActionElementSet.h" | 41 #include "core/dom/UserActionElementSet.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 65 class CDATASection; | 66 class CDATASection; |
| 66 class CSSStyleDeclaration; | 67 class CSSStyleDeclaration; |
| 67 class CSSStyleSheet; | 68 class CSSStyleSheet; |
| 68 class CachedCSSStyleSheet; | 69 class CachedCSSStyleSheet; |
| 69 class CachedResourceLoader; | 70 class CachedResourceLoader; |
| 70 class CachedScript; | 71 class CachedScript; |
| 71 class CanvasRenderingContext; | 72 class CanvasRenderingContext; |
| 72 class CharacterData; | 73 class CharacterData; |
| 73 class Comment; | 74 class Comment; |
| 74 class ContextFeatures; | 75 class ContextFeatures; |
| 75 class CustomElementConstructor; | |
| 76 class CustomElementRegistry; | 76 class CustomElementRegistry; |
| 77 class DOMImplementation; | 77 class DOMImplementation; |
| 78 class DOMNamedFlowCollection; | 78 class DOMNamedFlowCollection; |
| 79 class DOMSecurityPolicy; | 79 class DOMSecurityPolicy; |
| 80 class DOMSelection; | 80 class DOMSelection; |
| 81 class DOMWindow; | 81 class DOMWindow; |
| 82 class Database; | 82 class Database; |
| 83 class DatabaseThread; | 83 class DatabaseThread; |
| 84 class DocumentFragment; | 84 class DocumentFragment; |
| 85 class DocumentLifecycleNotifier; | 85 class DocumentLifecycleNotifier; |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 | 1018 |
| 1019 IntSize viewportSize() const; | 1019 IntSize viewportSize() const; |
| 1020 IntSize initialViewportSize() const; | 1020 IntSize initialViewportSize() const; |
| 1021 | 1021 |
| 1022 Prerenderer* prerenderer() { return m_prerenderer.get(); } | 1022 Prerenderer* prerenderer() { return m_prerenderer.get(); } |
| 1023 | 1023 |
| 1024 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } | 1024 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } |
| 1025 | 1025 |
| 1026 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi
cString& typeExtension, ExceptionCode&); | 1026 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi
cString& typeExtension, ExceptionCode&); |
| 1027 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const
String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); | 1027 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const
String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); |
| 1028 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*,
const AtomicString& name, ExceptionCode&); | 1028 ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name,
ExceptionCode&); |
| 1029 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*,
const AtomicString& name, const Dictionary& options, ExceptionCode&); | 1029 ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name,
const Dictionary& options, ExceptionCode&); |
| 1030 CustomElementRegistry* registry() const { return m_registry.get(); } | 1030 CustomElementRegistry* registry() const { return m_registry.get(); } |
| 1031 CustomElementRegistry* ensureCustomElementRegistry(); | 1031 CustomElementRegistry* ensureCustomElementRegistry(); |
| 1032 | 1032 |
| 1033 HTMLImportsController* ensureImports(); | 1033 HTMLImportsController* ensureImports(); |
| 1034 HTMLImportsController* imports() const { return m_imports.get(); } | 1034 HTMLImportsController* imports() const { return m_imports.get(); } |
| 1035 bool haveImportsLoaded() const; | 1035 bool haveImportsLoaded() const; |
| 1036 void didLoadAllImports(); | 1036 void didLoadAllImports(); |
| 1037 | 1037 |
| 1038 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje
ct*); | 1038 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje
ct*); |
| 1039 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); | 1039 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1455 inline bool Node::isDocumentNode() const | 1455 inline bool Node::isDocumentNode() const |
| 1456 { | 1456 { |
| 1457 return this == documentInternal(); | 1457 return this == documentInternal(); |
| 1458 } | 1458 } |
| 1459 | 1459 |
| 1460 Node* eventTargetNodeForDocument(Document*); | 1460 Node* eventTargetNodeForDocument(Document*); |
| 1461 | 1461 |
| 1462 } // namespace WebCore | 1462 } // namespace WebCore |
| 1463 | 1463 |
| 1464 #endif // Document_h | 1464 #endif // Document_h |
| OLD | NEW |