32 #if ENABLE(WEB_REPLAY) 33 #include "InternalNamespaceHeaderIncludeDummy.h" 34 #include <platform/ExternalNamespaceHeaderIncludeDummy.h> 41 class PlatformWheelEvent;
46 class HandleWheelEvent;
50 template<>
struct TEST_EXPORT_MACRO InputTraits<
Test::HandleWheelEvent> {
51 static InputQueue
queue() {
return InputQueue::EventLoopInput; }
54 static void encode(JSC::EncodedValue&,
const Test::HandleWheelEvent&);
55 static bool decode(JSC::EncodedValue&, std::unique_ptr<Test::HandleWheelEvent>&);
57 #if ENABLE(DUMMY_FEATURE) 58 template<>
struct TEST_EXPORT_MACRO EncodingTraits<
Test::PlatformWheelPhase> {
59 typedef Test::PlatformWheelPhase DecodedType;
61 static EncodedValue encodeValue(
const Test::PlatformWheelPhase&
value);
62 static bool decodeValue(EncodedValue&, Test::PlatformWheelPhase&
value);
64 #endif // ENABLE(DUMMY_FEATURE) 68 class HandleWheelEvent :
public EventLoopInput<HandleWheelEvent> {
70 TEST_EXPORT_MACRO HandleWheelEvent(std::unique_ptr<PlatformWheelEvent> platformEvent, PlatformWheelPhase
phase);
71 virtual ~HandleWheelEvent();
74 virtual void dispatch(ReplayController&)
final;
75 const PlatformWheelEvent& platformEvent()
const {
return *m_platformEvent; }
76 PlatformWheelPhase
phase()
const {
return m_phase; }
78 std::unique_ptr<PlatformWheelEvent> m_platformEvent;
79 PlatformWheelPhase m_phase;
87 #define TEST_REPLAY_INPUT_NAMES_FOR_EACH(macro) \ 88 macro(HandleWheelEvent) \ 90 // end of TEST_REPLAY_INPUT_NAMES_FOR_EACH 92 #endif // ENABLE(WEB_REPLAY) short encode(IlbcEncoder *iLBCenc_inst, int16_t *encoded_data, int16_t *data)
Definition: iLBC_testprogram.c:42
s decode
Definition: plot_neteq_delay.m:61
Definition: AirOpcode.h:4
char phase
Definition: event_tracer.cc:255
std::integral_constant< std::uint64_t, V > uint64_t
Definition: Brigand.h:445
#define SPECIALIZE_TYPE_TRAITS_BEGIN(ClassName)
Definition: TypeCasts.h:94
EGLAttrib * value
Definition: eglext.h:120
EGLenum type
Definition: eglext.h:63
Definition: bn_test.cc:620
string input
Definition: tokenizer_unittest.cc:198
#define SPECIALIZE_TYPE_TRAITS_END()
Definition: TypeCasts.h:102
AVCFPlayerRef CMTime dispatch_queue_t queue
Definition: AVFoundationCFSoftLinking.h:135
This file is generated by create-http-header-name-table, do not edit.
Definition: CharsetData.cpp:6