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

Unified Diff: Source/WebCore/bindings/dart/DartDOMWrapper.h

Issue 9350041: Switch to dartgenerator.py for C++ callbacks generation. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 10 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/WebCore/bindings/dart/DartDOMWrapper.h
diff --git a/Source/WebCore/bindings/dart/DartDOMWrapper.h b/Source/WebCore/bindings/dart/DartDOMWrapper.h
index 91409a7c8509bd11262d0e94bcbc06b709b5a0e5..95016070b24db421154547272a74a3b632be55d3 100644
--- a/Source/WebCore/bindings/dart/DartDOMWrapper.h
+++ b/Source/WebCore/bindings/dart/DartDOMWrapper.h
@@ -41,6 +41,7 @@
#include "SerializedScriptValue.h"
#if ENABLE(SVG)
#include "SVGPropertyTearOff.h"
+#include "SVGAnimatedEnumerationPropertyTearOff.h"
#endif
#include "VoidCallback.h"
#include "base/basictypes.h" // for COMPILE_ASSERT
@@ -190,6 +191,13 @@ Dart_Handle toDartValue(CSSMutableStyleDeclaration*);
class HTMLFormControlElement;
Dart_Handle toDartValue(HTMLFormControlElement*);
+template<typename T>
+Dart_Handle toDartValue(PassRefPtr< SVGAnimatedEnumerationPropertyTearOff<T> >)
+{
+ DART_UNIMPLEMENTED();
+ return 0;
+}
+
template <class Element>
inline Dart_Handle vectorToDartList(const Vector< RefPtr<Element> >& vector)
{
@@ -360,7 +368,7 @@ public:
{
// FIXME: support cross-domain wrappers.
if (!BindingsClass::instanceOf(wrapper)) {
- String message = String("Invalid class: expected ") + BindingsClass::dartImplementationClassName;
+ String message = String("Invalid class: expected instance of ") + BindingsClass::dartImplementationClassName;
exception = DartUtilities::stringToDartString(message);
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698