1
- // Generated by WebF TSDL, don't edit this file directly.
2
- // Generate command: node scripts/generate_binding_code.js
3
- // clang-format off
4
- /*
5
- * Copyright (C) 2022-present The WebF authors. All rights reserved.
6
- */
7
- #ifndef WEBF_CORE_WEBF_API_PLUGIN_API_ANIMATION_EVENT_H_
8
- #define WEBF_CORE_WEBF_API_PLUGIN_API_ANIMATION_EVENT_H_
9
- #include < stdint.h>
10
- #include " script_value_ref.h"
11
- #include " event.h"
12
- namespace webf {
13
- class SharedExceptionState ;
14
- class ExecutingContext ;
15
- class AnimationEvent ;
16
- typedef struct ScriptValueRef ScriptValueRef;
17
- using PublicAnimationEventGetAnimationName = const char * (*)(AnimationEvent*);
18
- using PublicAnimationEventDupAnimationName = const char * (*)(AnimationEvent*);
19
- using PublicAnimationEventGetElapsedTime = double (*)(AnimationEvent*);
20
- using PublicAnimationEventGetPseudoElement = const char * (*)(AnimationEvent*);
21
- using PublicAnimationEventDupPseudoElement = const char * (*)(AnimationEvent*);
22
- struct AnimationEventPublicMethods : public WebFPublicMethods {
23
- static const char * AnimationName (AnimationEvent* animation_event);
24
- static const char * DupAnimationName (AnimationEvent* animation_event);
25
- static double ElapsedTime (AnimationEvent* animation_event);
26
- static const char * PseudoElement (AnimationEvent* animation_event);
27
- static const char * DupPseudoElement (AnimationEvent* animation_event);
28
- double version{1.0 };
29
- EventPublicMethods event;
30
- PublicAnimationEventGetAnimationName animation_event_get_animation_name{AnimationName};
31
- PublicAnimationEventDupAnimationName animation_event_dup_animation_name{DupAnimationName};
32
- PublicAnimationEventGetElapsedTime animation_event_get_elapsed_time{ElapsedTime};
33
- PublicAnimationEventGetPseudoElement animation_event_get_pseudo_element{PseudoElement};
34
- PublicAnimationEventDupPseudoElement animation_event_dup_pseudo_element{DupPseudoElement};
35
- };
36
- } // namespace webf
37
- #endif // WEBF_CORE_WEBF_API_PLUGIN_API_ANIMATION_EVENT_H_
1
+ // Generated by WebF TSDL, don't edit this file directly.
2
+ // Generate command: node scripts/generate_binding_code.js
3
+ // clang-format off
4
+ /*
5
+ * Copyright (C) 2022-present The WebF authors. All rights reserved.
6
+ */
7
+ #ifndef WEBF_CORE_WEBF_API_PLUGIN_API_ANIMATION_EVENT_H_
8
+ #define WEBF_CORE_WEBF_API_PLUGIN_API_ANIMATION_EVENT_H_
9
+ #include < stdint.h>
10
+ #include " script_value_ref.h"
11
+ #include " event.h"
12
+ namespace webf {
13
+ class SharedExceptionState ;
14
+ class ExecutingContext ;
15
+ class AnimationEvent ;
16
+ typedef struct ScriptValueRef ScriptValueRef;
17
+ using PublicAnimationEventGetAnimationName = const char * (*)(AnimationEvent*);
18
+ using PublicAnimationEventDupAnimationName = const char * (*)(AnimationEvent*);
19
+ using PublicAnimationEventGetElapsedTime = double (*)(AnimationEvent*);
20
+ using PublicAnimationEventGetPseudoElement = const char * (*)(AnimationEvent*);
21
+ using PublicAnimationEventDupPseudoElement = const char * (*)(AnimationEvent*);
22
+ struct AnimationEventPublicMethods : public WebFPublicMethods {
23
+ static const char * AnimationName (AnimationEvent* animation_event);
24
+ static const char * DupAnimationName (AnimationEvent* animation_event);
25
+ static double ElapsedTime (AnimationEvent* animation_event);
26
+ static const char * PseudoElement (AnimationEvent* animation_event);
27
+ static const char * DupPseudoElement (AnimationEvent* animation_event);
28
+ double version{1.0 };
29
+ EventPublicMethods event;
30
+ PublicAnimationEventGetAnimationName animation_event_get_animation_name{AnimationName};
31
+ PublicAnimationEventDupAnimationName animation_event_dup_animation_name{DupAnimationName};
32
+ PublicAnimationEventGetElapsedTime animation_event_get_elapsed_time{ElapsedTime};
33
+ PublicAnimationEventGetPseudoElement animation_event_get_pseudo_element{PseudoElement};
34
+ PublicAnimationEventDupPseudoElement animation_event_dup_pseudo_element{DupPseudoElement};
35
+ };
36
+ } // namespace webf
37
+ #endif // WEBF_CORE_WEBF_API_PLUGIN_API_ANIMATION_EVENT_H_
0 commit comments