Chromium Code Reviews

Unified Diff: Source/bindings/templates/dictionary_v8.h

Issue 561633003: IDL: Enumerations support in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase & style Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/bindings/templates/dictionary_v8.h
diff --git a/Source/bindings/templates/dictionary_v8.h b/Source/bindings/templates/dictionary_v8.h
index 5f6b7803ce2a8f3b9fffac5846c5c03919934eae..a14f2bf79555c3516de17c697870c154ed588558 100644
--- a/Source/bindings/templates/dictionary_v8.h
+++ b/Source/bindings/templates/dictionary_v8.h
@@ -13,9 +13,11 @@
namespace blink {
+class ExceptionState;
+
class {{v8_class}} {
public:
- static {{cpp_class}}* toImpl(v8::Isolate*, v8::Handle<v8::Value>);
+ static {{cpp_class}}* toImpl(v8::Isolate*, v8::Handle<v8::Value>, ExceptionState&);
};
v8::Handle<v8::Value> toV8({{cpp_class}}*, v8::Handle<v8::Object>, v8::Isolate*);

Powered by Google App Engine