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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementDescriptor.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/V0CustomElementDescriptor.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDescriptor.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementDescriptor.h
similarity index 82%
rename from third_party/WebKit/Source/core/dom/custom/CustomElementDescriptor.h
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementDescriptor.h
index 4b8845b93917467a339748c1e7a8d9df62bca543..24b74aa1070f6b8cec2f33e8e602bd4681cde740 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDescriptor.h
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementDescriptor.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CustomElementDescriptor_h
-#define CustomElementDescriptor_h
+#ifndef V0CustomElementDescriptor_h
+#define V0CustomElementDescriptor_h
#include "platform/heap/Handle.h"
#include "wtf/HashTableDeletedValueType.h"
@@ -37,21 +37,21 @@
namespace blink {
-struct CustomElementDescriptorHash;
+struct V0CustomElementDescriptorHash;
// A Custom Element descriptor is everything necessary to match a
// Custom Element instance to a definition.
-class CustomElementDescriptor {
+class V0CustomElementDescriptor {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
- CustomElementDescriptor(const AtomicString& type, const AtomicString& namespaceURI, const AtomicString& localName)
+ V0CustomElementDescriptor(const AtomicString& type, const AtomicString& namespaceURI, const AtomicString& localName)
: m_type(type)
, m_namespaceURI(namespaceURI)
, m_localName(localName)
{
}
- ~CustomElementDescriptor() { }
+ ~V0CustomElementDescriptor() { }
// Specifies whether the custom element is in the HTML or SVG
// namespace.
@@ -69,12 +69,12 @@ public:
// Stuff for hashing.
- CustomElementDescriptor() { }
- explicit CustomElementDescriptor(WTF::HashTableDeletedValueType value)
+ V0CustomElementDescriptor() { }
+ explicit V0CustomElementDescriptor(WTF::HashTableDeletedValueType value)
: m_type(value) { }
bool isHashTableDeletedValue() const { return m_type.isHashTableDeletedValue(); }
- bool operator==(const CustomElementDescriptor& other) const
+ bool operator==(const V0CustomElementDescriptor& other) const
{
return m_type == other.m_type
&& m_localName == other.m_localName
@@ -91,10 +91,10 @@ private:
namespace WTF {
-template<> struct DefaultHash<blink::CustomElementDescriptor> {
- typedef blink::CustomElementDescriptorHash Hash;
+template<> struct DefaultHash<blink::V0CustomElementDescriptor> {
+ typedef blink::V0CustomElementDescriptorHash Hash;
};
} // namespace WTF
-#endif // CustomElementDescriptor_h
+#endif // V0CustomElementDescriptor_h

Powered by Google App Engine
This is Rietveld 408576698