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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.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/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.h b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.h
similarity index 70%
rename from third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.h
rename to third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.h
index 14c4d9c16e8de8d9f45cda800e16a08e7250be2c..6acc290f3fcca573c8067530f7ef0028370564a1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8CustomElementLifecycleCallbacks.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.h
@@ -28,36 +28,36 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef V8CustomElementLifecycleCallbacks_h
-#define V8CustomElementLifecycleCallbacks_h
+#ifndef V8V0CustomElementLifecycleCallbacks_h
+#define V8V0CustomElementLifecycleCallbacks_h
#include "bindings/core/v8/ScopedPersistent.h"
#include "bindings/core/v8/ScriptState.h"
#include "core/dom/ContextLifecycleObserver.h"
-#include "core/dom/custom/CustomElementLifecycleCallbacks.h"
+#include "core/dom/custom/V0CustomElementLifecycleCallbacks.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include <v8.h>
namespace blink {
-class CustomElementLifecycleCallbacks;
+class V0CustomElementLifecycleCallbacks;
class Element;
class V8PerContextData;
-class V8CustomElementLifecycleCallbacks final : public CustomElementLifecycleCallbacks, public ContextLifecycleObserver {
- USING_GARBAGE_COLLECTED_MIXIN(V8CustomElementLifecycleCallbacks);
+class V8V0CustomElementLifecycleCallbacks final : public V0CustomElementLifecycleCallbacks, public ContextLifecycleObserver {
+ USING_GARBAGE_COLLECTED_MIXIN(V8V0CustomElementLifecycleCallbacks);
public:
- static V8CustomElementLifecycleCallbacks* create(ScriptState*, v8::Local<v8::Object> prototype, v8::MaybeLocal<v8::Function> created, v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged);
+ static V8V0CustomElementLifecycleCallbacks* create(ScriptState*, v8::Local<v8::Object> prototype, v8::MaybeLocal<v8::Function> created, v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged);
- ~V8CustomElementLifecycleCallbacks() override;
+ ~V8V0CustomElementLifecycleCallbacks() override;
- bool setBinding(PassOwnPtr<CustomElementBinding>);
+ bool setBinding(PassOwnPtr<V0CustomElementBinding>);
DECLARE_VIRTUAL_TRACE();
private:
- V8CustomElementLifecycleCallbacks(ScriptState*, v8::Local<v8::Object> prototype, v8::MaybeLocal<v8::Function> created, v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged);
+ V8V0CustomElementLifecycleCallbacks(ScriptState*, v8::Local<v8::Object> prototype, v8::MaybeLocal<v8::Function> created, v8::MaybeLocal<v8::Function> attached, v8::MaybeLocal<v8::Function> detached, v8::MaybeLocal<v8::Function> attributeChanged);
void created(Element*) override;
void attached(Element*) override;
@@ -78,4 +78,4 @@ private:
} // namespace blink
-#endif // V8CustomElementLifecycleCallbacks_h
+#endif // V8V0CustomElementLifecycleCallbacks_h

Powered by Google App Engine
This is Rietveld 408576698