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

Unified Diff: Source/WebCore/bindings/dart/DartCallback.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
« no previous file with comments | « no previous file | Source/WebCore/bindings/dart/DartDOMWrapper.h » ('j') | Source/WebCore/dom/Node.idl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/bindings/dart/DartCallback.h
diff --git a/Source/WebCore/bindings/dart/DartCallback.h b/Source/WebCore/bindings/dart/DartCallback.h
index 4d5fef58000d80b7573332d1cbf3a7e1fa313d65..3f5066fca2b0d3b23be345aa49d4f5a596fe3ca4 100644
--- a/Source/WebCore/bindings/dart/DartCallback.h
+++ b/Source/WebCore/bindings/dart/DartCallback.h
@@ -44,6 +44,14 @@ public:
~DartCallback();
+ bool handleEvent()
+ {
+ DartIsolateState::Scope scope(m_isolate);
+ DartApiScope apiScope;
+
+ return handleEventInternal(0, 0);
+ }
+
template <class WebKitType>
bool handleEvent(WebKitType argument)
{
« no previous file with comments | « no previous file | Source/WebCore/bindings/dart/DartDOMWrapper.h » ('j') | Source/WebCore/dom/Node.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698