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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElement.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/V0CustomElement.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElement.h
similarity index 87%
rename from third_party/WebKit/Source/core/dom/custom/CustomElement.h
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElement.h
index 5e44f16e76300e6a111bfcb65a9b33566ad1e1d6..c37fbe2afe5cca3b6d45ed2f684643dac1635dc7 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElement.h
@@ -28,11 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CustomElement_h
-#define CustomElement_h
+#ifndef V0CustomElement_h
+#define V0CustomElement_h
#include "core/CoreExport.h"
-#include "core/dom/custom/CustomElementDefinition.h"
+#include "core/dom/custom/V0CustomElementDefinition.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/Vector.h"
@@ -40,12 +40,12 @@
namespace blink {
-class CustomElementMicrotaskImportStep;
+class V0CustomElementMicrotaskImportStep;
class Document;
class HTMLImportChild;
-class CORE_EXPORT CustomElement {
- STATIC_ONLY(CustomElement);
+class CORE_EXPORT V0CustomElement {
+ STATIC_ONLY(V0CustomElement);
public:
enum NameSet {
EmbedderNames = 1 << 0,
@@ -56,11 +56,11 @@ public:
static void addEmbedderCustomElementName(const AtomicString& name);
// API to notify of document-level changes
- static CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*);
+ static V0CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*);
static void didFinishLoadingImport(Document& master);
// API for registration contexts
- static void define(Element*, CustomElementDefinition*);
+ static void define(Element*, V0CustomElementDefinition*);
// API for Element to kick off changes
@@ -75,4 +75,4 @@ private:
} // namespace blink
-#endif // CustomElement_h
+#endif // V0CustomElement_h

Powered by Google App Engine
This is Rietveld 408576698