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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementDefinition.cpp

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/V0CustomElementDefinition.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementDefinition.cpp
similarity index 79%
rename from third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementDefinition.cpp
index bbd5a4951ce409a4acf1c850a4c96a4262ac141d..c1014d39e49383d5b1a9c5ee2b3922fed9bbdba6 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementDefinition.cpp
@@ -28,22 +28,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "core/dom/custom/CustomElementDefinition.h"
+#include "core/dom/custom/V0CustomElementDefinition.h"
namespace blink {
-CustomElementDefinition* CustomElementDefinition::create(const CustomElementDescriptor& descriptor, CustomElementLifecycleCallbacks* callbacks)
+V0CustomElementDefinition* V0CustomElementDefinition::create(const V0CustomElementDescriptor& descriptor, V0CustomElementLifecycleCallbacks* callbacks)
{
- return new CustomElementDefinition(descriptor, callbacks);
+ return new V0CustomElementDefinition(descriptor, callbacks);
}
-CustomElementDefinition::CustomElementDefinition(const CustomElementDescriptor& descriptor, CustomElementLifecycleCallbacks* callbacks)
+V0CustomElementDefinition::V0CustomElementDefinition(const V0CustomElementDescriptor& descriptor, V0CustomElementLifecycleCallbacks* callbacks)
: m_descriptor(descriptor)
, m_callbacks(callbacks)
{
}
-DEFINE_TRACE(CustomElementDefinition)
+DEFINE_TRACE(V0CustomElementDefinition)
{
visitor->trace(m_callbacks);
}

Powered by Google App Engine
This is Rietveld 408576698