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

Unified Diff: sky/engine/core/events/CustomEvent.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/engine/core/events/CompositionEvent.idl ('k') | sky/engine/core/events/CustomEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/CustomEvent.h
diff --git a/sky/engine/core/events/CustomEvent.h b/sky/engine/core/events/CustomEvent.h
index 9b4a7a8c93e9422bd2062841d2092c74ec409589..3e91826e773babd04c57b4e633b343a12e26e229 100644
--- a/sky/engine/core/events/CustomEvent.h
+++ b/sky/engine/core/events/CustomEvent.h
@@ -26,19 +26,16 @@
#ifndef SKY_ENGINE_CORE_EVENTS_CUSTOMEVENT_H_
#define SKY_ENGINE_CORE_EVENTS_CUSTOMEVENT_H_
-#include "sky/engine/bindings/core/v8/SerializedScriptValue.h"
#include "sky/engine/core/events/Event.h"
namespace blink {
-class SerializedScriptValue;
-
typedef EventInit CustomEventInit;
class CustomEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- virtual ~CustomEvent();
+ ~CustomEvent() override;
static PassRefPtr<CustomEvent> create()
{
@@ -50,23 +47,11 @@ public:
return adoptRef(new CustomEvent(type, initializer));
}
- void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue>);
-
- virtual const AtomicString& interfaceName() const override;
-
- SerializedScriptValue* serializedDetail() { return m_serializedDetail.get(); }
-
- void setSerializedDetail(PassRefPtr<SerializedScriptValue> detail)
- {
- ASSERT(!m_serializedDetail);
- m_serializedDetail = detail;
- }
+ const AtomicString& interfaceName() const override;
private:
CustomEvent();
CustomEvent(const AtomicString& type, const CustomEventInit& initializer);
-
- RefPtr<SerializedScriptValue> m_serializedDetail;
};
} // namespace blink
« no previous file with comments | « sky/engine/core/events/CompositionEvent.idl ('k') | sky/engine/core/events/CustomEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698