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

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

Issue 1914923002: Rename all existing custom element classes as V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CustomElementV0 -> V0CustomElement Created 4 years, 7 months 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 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 27 matching lines...) Expand all
38 #include "core/dom/DocumentLifecycle.h" 38 #include "core/dom/DocumentLifecycle.h"
39 #include "core/dom/DocumentLifecycleNotifier.h" 39 #include "core/dom/DocumentLifecycleNotifier.h"
40 #include "core/dom/DocumentLifecycleObserver.h" 40 #include "core/dom/DocumentLifecycleObserver.h"
41 #include "core/dom/DocumentTiming.h" 41 #include "core/dom/DocumentTiming.h"
42 #include "core/dom/ExecutionContext.h" 42 #include "core/dom/ExecutionContext.h"
43 #include "core/dom/MutationObserver.h" 43 #include "core/dom/MutationObserver.h"
44 #include "core/dom/TextLinkColors.h" 44 #include "core/dom/TextLinkColors.h"
45 #include "core/dom/TreeScope.h" 45 #include "core/dom/TreeScope.h"
46 #include "core/dom/UserActionElementSet.h" 46 #include "core/dom/UserActionElementSet.h"
47 #include "core/dom/ViewportDescription.h" 47 #include "core/dom/ViewportDescription.h"
48 #include "core/dom/custom/CustomElement.h" 48 #include "core/dom/custom/V0CustomElement.h"
49 #include "core/fetch/ClientHintsPreferences.h" 49 #include "core/fetch/ClientHintsPreferences.h"
50 #include "core/frame/DOMTimerCoordinator.h" 50 #include "core/frame/DOMTimerCoordinator.h"
51 #include "core/frame/LocalDOMWindow.h" 51 #include "core/frame/LocalDOMWindow.h"
52 #include "core/frame/OriginsUsingFeatures.h" 52 #include "core/frame/OriginsUsingFeatures.h"
53 #include "core/frame/VisualViewport.h" 53 #include "core/frame/VisualViewport.h"
54 #include "core/html/CollectionType.h" 54 #include "core/html/CollectionType.h"
55 #include "core/html/parser/ParserSynchronizationPolicy.h" 55 #include "core/html/parser/ParserSynchronizationPolicy.h"
56 #include "core/page/PageVisibilityState.h" 56 #include "core/page/PageVisibilityState.h"
57 #include "platform/Length.h" 57 #include "platform/Length.h"
58 #include "platform/Timer.h" 58 #include "platform/Timer.h"
(...skipping 16 matching lines...) Expand all
75 class CSSStyleSheet; 75 class CSSStyleSheet;
76 class CancellableTaskFactory; 76 class CancellableTaskFactory;
77 class CanvasFontCache; 77 class CanvasFontCache;
78 class CanvasRenderingContext2D; 78 class CanvasRenderingContext2D;
79 class CanvasRenderingContext2DOrWebGLRenderingContext; 79 class CanvasRenderingContext2DOrWebGLRenderingContext;
80 class ChromeClient; 80 class ChromeClient;
81 class CompositorPendingAnimations; 81 class CompositorPendingAnimations;
82 class Comment; 82 class Comment;
83 class ConsoleMessage; 83 class ConsoleMessage;
84 class ContextFeatures; 84 class ContextFeatures;
85 class CustomElementMicrotaskRunQueue; 85 class V0CustomElementMicrotaskRunQueue;
86 class CustomElementRegistrationContext; 86 class V0CustomElementRegistrationContext;
87 class DOMImplementation; 87 class DOMImplementation;
88 class DOMWindow; 88 class DOMWindow;
89 class DocumentFragment; 89 class DocumentFragment;
90 class DocumentLoader; 90 class DocumentLoader;
91 class DocumentMarkerController; 91 class DocumentMarkerController;
92 class DocumentNameCollection; 92 class DocumentNameCollection;
93 class DocumentParser; 93 class DocumentParser;
94 class DocumentState; 94 class DocumentState;
95 class DocumentType; 95 class DocumentType;
96 class DocumentVisibilityObserver; 96 class DocumentVisibilityObserver;
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) final; 934 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) final;
935 935
936 void initDNSPrefetch(); 936 void initDNSPrefetch();
937 937
938 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } 938 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; }
939 939
940 TextAutosizer* textAutosizer(); 940 TextAutosizer* textAutosizer();
941 941
942 Element* createElement(const AtomicString& localName, const AtomicString& ty peExtension, ExceptionState&); 942 Element* createElement(const AtomicString& localName, const AtomicString& ty peExtension, ExceptionState&);
943 Element* createElementNS(const AtomicString& namespaceURI, const AtomicStrin g& qualifiedName, const AtomicString& typeExtension, ExceptionState&); 943 Element* createElementNS(const AtomicString& namespaceURI, const AtomicStrin g& qualifiedName, const AtomicString& typeExtension, ExceptionState&);
944 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El ementRegistrationOptions&, ExceptionState&, CustomElement::NameSet validNames = CustomElement::StandardNames); 944 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El ementRegistrationOptions&, ExceptionState&, V0CustomElement::NameSet validNames = V0CustomElement::StandardNames);
945 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); } 945 V0CustomElementRegistrationContext* registrationContext() { return m_registr ationContext.get(); }
946 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); 946 V0CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
947 947
948 void setImportsController(HTMLImportsController*); 948 void setImportsController(HTMLImportsController*);
949 HTMLImportsController* importsController() const { return m_importsControlle r; } 949 HTMLImportsController* importsController() const { return m_importsControlle r; }
950 HTMLImportLoader* importLoader() const; 950 HTMLImportLoader* importLoader() const;
951 951
952 bool haveImportsLoaded() const; 952 bool haveImportsLoaded() const;
953 void didLoadAllImports(); 953 void didLoadAllImports();
954 954
955 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, LayoutObje ct&); 955 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, LayoutObje ct&);
956 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&); 956 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&);
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 DocumentTiming m_documentTiming; 1337 DocumentTiming m_documentTiming;
1338 Member<MediaQueryMatcher> m_mediaQueryMatcher; 1338 Member<MediaQueryMatcher> m_mediaQueryMatcher;
1339 bool m_writeRecursionIsTooDeep; 1339 bool m_writeRecursionIsTooDeep;
1340 unsigned m_writeRecursionDepth; 1340 unsigned m_writeRecursionDepth;
1341 1341
1342 Member<ScriptedAnimationController> m_scriptedAnimationController; 1342 Member<ScriptedAnimationController> m_scriptedAnimationController;
1343 Member<ScriptedIdleTaskController> m_scriptedIdleTaskController; 1343 Member<ScriptedIdleTaskController> m_scriptedIdleTaskController;
1344 Member<MainThreadTaskRunner> m_taskRunner; 1344 Member<MainThreadTaskRunner> m_taskRunner;
1345 Member<TextAutosizer> m_textAutosizer; 1345 Member<TextAutosizer> m_textAutosizer;
1346 1346
1347 Member<CustomElementRegistrationContext> m_registrationContext; 1347 Member<V0CustomElementRegistrationContext> m_registrationContext;
1348 Member<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; 1348 Member<V0CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue;
1349 1349
1350 void elementDataCacheClearTimerFired(Timer<Document>*); 1350 void elementDataCacheClearTimerFired(Timer<Document>*);
1351 Timer<Document> m_elementDataCacheClearTimer; 1351 Timer<Document> m_elementDataCacheClearTimer;
1352 1352
1353 Member<ElementDataCache> m_elementDataCache; 1353 Member<ElementDataCache> m_elementDataCache;
1354 1354
1355 using LocaleIdentifierToLocaleMap = HashMap<AtomicString, OwnPtr<Locale>>; 1355 using LocaleIdentifierToLocaleMap = HashMap<AtomicString, OwnPtr<Locale>>;
1356 LocaleIdentifierToLocaleMap m_localeCache; 1356 LocaleIdentifierToLocaleMap m_localeCache;
1357 1357
1358 Member<AnimationTimeline> m_timeline; 1358 Member<AnimationTimeline> m_timeline;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1431 1431
1432 } // namespace blink 1432 } // namespace blink
1433 1433
1434 #ifndef NDEBUG 1434 #ifndef NDEBUG
1435 // Outside the WebCore namespace for ease of invocation from gdb. 1435 // Outside the WebCore namespace for ease of invocation from gdb.
1436 CORE_EXPORT void showLiveDocumentInstances(); 1436 CORE_EXPORT void showLiveDocumentInstances();
1437 #endif 1437 #endif
1438 1438
1439 #endif // Document_h 1439 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMImplementation.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698