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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskImportStep.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskImportStep.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskImportStep.h
similarity index 77%
rename from third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskImportStep.h
index 53eae0d43905d0649e2cc1a50cd394fd4321918d..be096b297d019d3449b089f810fcb5bdf88203bd 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskImportStep.h
@@ -28,15 +28,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CustomElementMicrotaskImportStep_h
-#define CustomElementMicrotaskImportStep_h
+#ifndef V0CustomElementMicrotaskImportStep_h
+#define V0CustomElementMicrotaskImportStep_h
-#include "core/dom/custom/CustomElementMicrotaskStep.h"
+#include "core/dom/custom/V0CustomElementMicrotaskStep.h"
#include "platform/heap/Handle.h"
namespace blink {
-class CustomElementSyncMicrotaskQueue;
+class V0CustomElementSyncMicrotaskQueue;
class HTMLImportChild;
// Processes the Custom Elements in an HTML Import. This is a
@@ -45,14 +45,14 @@ class HTMLImportChild;
//
// This step blocks further Custom Element microtask processing if its
// import isn't "ready" (finished parsing and running script.)
-class CustomElementMicrotaskImportStep final : public CustomElementMicrotaskStep {
+class V0CustomElementMicrotaskImportStep final : public V0CustomElementMicrotaskStep {
public:
- static CustomElementMicrotaskImportStep* create(HTMLImportChild* import)
+ static V0CustomElementMicrotaskImportStep* create(HTMLImportChild* import)
{
- return new CustomElementMicrotaskImportStep(import);
+ return new V0CustomElementMicrotaskImportStep(import);
}
- ~CustomElementMicrotaskImportStep() override;
+ ~V0CustomElementMicrotaskImportStep() override;
// API for HTML Imports
void invalidate();
@@ -61,21 +61,21 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- explicit CustomElementMicrotaskImportStep(HTMLImportChild*);
+ explicit V0CustomElementMicrotaskImportStep(HTMLImportChild*);
void didUpgradeAllCustomElements();
bool shouldWaitForImport() const;
- // CustomElementMicrotaskStep
+ // V0CustomElementMicrotaskStep
Result process() final;
#if !defined(NDEBUG)
void show(unsigned indent) override;
#endif
WeakMember<HTMLImportChild> m_import;
- Member<CustomElementSyncMicrotaskQueue> m_queue;
+ Member<V0CustomElementSyncMicrotaskQueue> m_queue;
};
} // namespace blink
-#endif // CustomElementMicrotaskImportStep_h
+#endif // V0CustomElementMicrotaskImportStep_h

Powered by Google App Engine
This is Rietveld 408576698