Chromium Code Reviews

Side by Side Diff: Source/core/dom/Document.h

Issue 14776002: Create wrappers for unresolved Custom Elements at the correct type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use toV8 in the constructor. Remove unused variable. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1047 matching lines...)
1058 1058
1059 Prerenderer* prerenderer() { return m_prerenderer.get(); } 1059 Prerenderer* prerenderer() { return m_prerenderer.get(); }
1060 1060
1061 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1061 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1062 1062
1063 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1063 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1064 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1064 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1065 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1065 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1066 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1066 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1067 CustomElementRegistry* registry() const { return m_registry.get(); } 1067 CustomElementRegistry* registry() const { return m_registry.get(); }
1068 CustomElementRegistry* ensureCustomElementRegistry();
1068 1069
1069 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*); 1070 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*);
1070 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); 1071 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*);
1071 1072
1072 bool hasActiveParser(); 1073 bool hasActiveParser();
1073 unsigned activeParserCount() { return m_activeParserCount; } 1074 unsigned activeParserCount() { return m_activeParserCount; }
1074 void incrementActiveParserCount() { ++m_activeParserCount; } 1075 void incrementActiveParserCount() { ++m_activeParserCount; }
1075 void decrementActiveParserCount(); 1076 void decrementActiveParserCount();
1076 1077
1077 void setContextFeatures(PassRefPtr<ContextFeatures>); 1078 void setContextFeatures(PassRefPtr<ContextFeatures>);
(...skipping 430 matching lines...)
1508 trackForDebugging(); 1509 trackForDebugging();
1509 #endif 1510 #endif
1510 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1511 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1511 } 1512 }
1512 1513
1513 Node* eventTargetNodeForDocument(Document*); 1514 Node* eventTargetNodeForDocument(Document*);
1514 1515
1515 } // namespace WebCore 1516 } // namespace WebCore
1516 1517
1517 #endif // Document_h 1518 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine