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/V0CustomElementUpgradeCandidateMap.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/V0CustomElementUpgradeCandidateMap.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
similarity index 79%
rename from third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
index dbc26b5f3d6a922b2f224371b4e73f5a8bb298f6..0d2b88a552ce845b5965e6de6ebb8ec1dfe4cb03 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
@@ -28,22 +28,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "core/dom/custom/CustomElementUpgradeCandidateMap.h"
+#include "core/dom/custom/V0CustomElementUpgradeCandidateMap.h"
#include "core/dom/Element.h"
namespace blink {
-CustomElementUpgradeCandidateMap* CustomElementUpgradeCandidateMap::create()
+V0CustomElementUpgradeCandidateMap* V0CustomElementUpgradeCandidateMap::create()
{
- return new CustomElementUpgradeCandidateMap();
+ return new V0CustomElementUpgradeCandidateMap();
}
-CustomElementUpgradeCandidateMap::~CustomElementUpgradeCandidateMap()
+V0CustomElementUpgradeCandidateMap::~V0CustomElementUpgradeCandidateMap()
{
}
-void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descriptor, Element* element)
+void V0CustomElementUpgradeCandidateMap::add(const V0CustomElementDescriptor& descriptor, Element* element)
{
observe(element);
@@ -59,9 +59,9 @@ void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descri
elements->add(element);
}
-void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
+void V0CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
{
- CustomElementObserver::elementWasDestroyed(element);
+ V0CustomElementObserver::elementWasDestroyed(element);
UpgradeCandidateMap::iterator candidate = m_upgradeCandidates.find(element);
ASSERT_WITH_SECURITY_IMPLICATION(candidate != m_upgradeCandidates.end());
@@ -71,7 +71,7 @@ void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
m_upgradeCandidates.remove(candidate);
}
-CustomElementUpgradeCandidateMap::ElementSet* CustomElementUpgradeCandidateMap::takeUpgradeCandidatesFor(const CustomElementDescriptor& descriptor)
+V0CustomElementUpgradeCandidateMap::ElementSet* V0CustomElementUpgradeCandidateMap::takeUpgradeCandidatesFor(const V0CustomElementDescriptor& descriptor)
{
ElementSet* candidates = m_unresolvedDefinitions.take(descriptor);
@@ -85,11 +85,11 @@ CustomElementUpgradeCandidateMap::ElementSet* CustomElementUpgradeCandidateMap::
return candidates;
}
-DEFINE_TRACE(CustomElementUpgradeCandidateMap)
+DEFINE_TRACE(V0CustomElementUpgradeCandidateMap)
{
visitor->trace(m_upgradeCandidates);
visitor->trace(m_unresolvedDefinitions);
- CustomElementObserver::trace(visitor);
+ V0CustomElementObserver::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698