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

Unified Diff: Source/bindings/dart/DartCustomElementBinding.cpp

Issue 24677002: Revert "Revert "Dartium changes for custom element lifecycle events."" (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 7 years, 3 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: Source/bindings/dart/DartCustomElementBinding.cpp
diff --git a/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp b/Source/bindings/dart/DartCustomElementBinding.cpp
similarity index 82%
copy from Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp
copy to Source/bindings/dart/DartCustomElementBinding.cpp
index 539b9ed11590c17ec5ce2bbc307520a49e6ac24e..abe0696acc348c2c2c64595f4a3ca95580e96b74 100644
--- a/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp
+++ b/Source/bindings/dart/DartCustomElementBinding.cpp
@@ -29,15 +29,18 @@
*/
#include "config.h"
-#include "V8WorkerCrypto.h"
-
-#include "V8Crypto.h"
+#include "bindings/dart/DartCustomElementBinding.h"
namespace WebCore {
-void V8WorkerCrypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
+PassOwnPtr<DartCustomElementBinding> DartCustomElementBinding::create(Dart_Handle customType)
+{
+ return adoptPtr(new DartCustomElementBinding(customType));
+}
+
+DartCustomElementBinding::DartCustomElementBinding(Dart_Handle customType)
+ : m_customType(Dart_NewPersistentHandle(customType))
{
- V8Crypto::getRandomValuesMethodCustom(args);
}
} // namespace WebCore
« no previous file with comments | « Source/bindings/dart/DartCustomElementBinding.h ('k') | Source/bindings/dart/DartCustomElementConstructorBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698