Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

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

Issue 2334223005: 2nd arg of document.createElement should be an object (Closed)
Patch Set: Remove deprecation warning for now. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 class ScriptableDocumentParser; 155 class ScriptableDocumentParser;
156 class ScriptedAnimationController; 156 class ScriptedAnimationController;
157 class ScriptedIdleTaskController; 157 class ScriptedIdleTaskController;
158 class ScrollStateCallback; 158 class ScrollStateCallback;
159 class SecurityOrigin; 159 class SecurityOrigin;
160 class SegmentedString; 160 class SegmentedString;
161 class SelectorQueryCache; 161 class SelectorQueryCache;
162 class SerializedScriptValue; 162 class SerializedScriptValue;
163 class Settings; 163 class Settings;
164 class SnapCoordinator; 164 class SnapCoordinator;
165 class StringOrDictionary;
165 class StyleEngine; 166 class StyleEngine;
166 class StyleResolver; 167 class StyleResolver;
167 class StyleSheet; 168 class StyleSheet;
168 class StyleSheetList; 169 class StyleSheetList;
169 class Text; 170 class Text;
170 class TextAutosizer; 171 class TextAutosizer;
171 class Touch; 172 class Touch;
172 class TouchList; 173 class TouchList;
173 class TransformSource; 174 class TransformSource;
174 class TreeWalker; 175 class TreeWalker;
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 EventTarget* errorEventTarget() final; 1138 EventTarget* errorEventTarget() final;
1138 void exceptionThrown(ErrorEvent*) final; 1139 void exceptionThrown(ErrorEvent*) final;
1139 1140
1140 void initDNSPrefetch(); 1141 void initDNSPrefetch();
1141 1142
1142 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } 1143 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; }
1143 1144
1144 TextAutosizer* textAutosizer(); 1145 TextAutosizer* textAutosizer();
1145 1146
1146 Element* createElement(const AtomicString& localName, 1147 Element* createElement(const AtomicString& localName,
1147 const AtomicString& typeExtension, 1148 const StringOrDictionary&,
1148 ExceptionState&); 1149 ExceptionState&);
1149 Element* createElementNS(const AtomicString& namespaceURI, 1150 Element* createElementNS(const AtomicString& namespaceURI,
1150 const AtomicString& qualifiedName, 1151 const AtomicString& qualifiedName,
1151 const AtomicString& typeExtension, 1152 const StringOrDictionary&,
1152 ExceptionState&); 1153 ExceptionState&);
1153 ScriptValue registerElement( 1154 ScriptValue registerElement(
1154 ScriptState*, 1155 ScriptState*,
1155 const AtomicString& name, 1156 const AtomicString& name,
1156 const ElementRegistrationOptions&, 1157 const ElementRegistrationOptions&,
1157 ExceptionState&, 1158 ExceptionState&,
1158 V0CustomElement::NameSet validNames = V0CustomElement::StandardNames); 1159 V0CustomElement::NameSet validNames = V0CustomElement::StandardNames);
1159 V0CustomElementRegistrationContext* registrationContext() { 1160 V0CustomElementRegistrationContext* registrationContext() {
1160 return m_registrationContext.get(); 1161 return m_registrationContext.get();
1161 } 1162 }
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1721 1722
1722 } // namespace blink 1723 } // namespace blink
1723 1724
1724 #ifndef NDEBUG 1725 #ifndef NDEBUG
1725 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1726 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1727 #endif 1728 #endif
1728 1729
1729 #endif // Document_h 1730 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698