|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_DOMTriggers.h>
Details of a page passed to a View's DOM triggers filter (see ULDOMTriggersInjectionFilterCallback).
New members may be added at the end in later versions, so don't create or copy this struct yourself.
Public Attributes | |
| ULView | view |
| The View loading the page. | |
| ULDOMTriggers | triggers |
| The set of DOM listeners being decided on. | |
| const char * | origin |
| The page's origin, serialized (eg, "https://example.com" or "file://"). | |
| bool | is_main_frame |
| Whether or not the page is in the View's main frame. | |
| bool | rules_allow |
| Whether or not the origin rules allow the page. | |
| bool is_main_frame |
Whether or not the page is in the View's main frame.
| const char* origin |
The page's origin, serialized (eg, "https://example.com" or "file://").
Opaque origins serialize as "null".
| bool rules_allow |
Whether or not the origin rules allow the page.
| ULDOMTriggers triggers |
The set of DOM listeners being decided on.
It's the handle ulCreateDOMTriggers() returned, so you can compare it with yours. It's valid only during the callback (call ulCreateDOMTriggersBorrowedRef() to keep it).
| ULView view |
The View loading the page.