Index: Source/core/dom/CustomEvent.h |
diff --git a/Source/core/dom/CustomEvent.h b/Source/core/dom/CustomEvent.h |
index 22466bfc4522e35099fdbca5a5dc71a14e5a9a1b..e9e164af19cc0dce397dfbd134b8be029073d5f7 100644 |
--- a/Source/core/dom/CustomEvent.h |
+++ b/Source/core/dom/CustomEvent.h |
@@ -26,12 +26,12 @@ |
#ifndef CustomEvent_h |
#define CustomEvent_h |
-#include "bindings/v8/ScriptValue.h" |
-#include "bindings/v8/SerializedScriptValue.h" |
#include "core/dom/Event.h" |
namespace WebCore { |
+class SerializedScriptValue; |
+ |
typedef EventInit CustomEventInit; |
class CustomEvent : public Event { |
@@ -54,6 +54,8 @@ public: |
SerializedScriptValue* serializedScriptValue() { return m_serializedScriptValue.get(); } |
+ void setSerializedDetail(PassRefPtr<SerializedScriptValue> detail) { m_serializedScriptValue = detail; } |
abarth-chromium
2013/07/17 23:06:44
Should we ASSERT That we don't have one already?
adamk
2013/07/17 23:45:10
Done here and in the other two events.
|
+ |
private: |
CustomEvent(); |
CustomEvent(const AtomicString& type, const CustomEventInit& initializer); |