80#ifndef ULTRALIGHT_CAPI_VIEW_H
81#define ULTRALIGHT_CAPI_VIEW_H
626 bool add_to_history);
663 double device_scale);
1006 unsigned int line_number,
unsigned int column_number,
1018 ULString target_url,
bool is_popup,
1072 ULString error_domain,
int error_code);
1085 unsigned long long frame_id,
bool is_main_frame,
1324 long long expected_content_length);
An RGBA color value in a certain color space (with CSS parsing helpers).
struct C_JSContext * ULJSContext
Opaque handle to a JavaScript context (see <Ultralight/CAPI/CAPI_JSValue.h>).
Definition CAPI_DOMDocument.h:758
Text-editing interface for a View.
JavaScript context and value handles for interacting with page script in C.
void(*) ULChangeTooltipCallback(void *user_data, ULView caller, ULString tooltip)
Definition CAPI_View.h:934
void ulViewConfigSetEnableCompositorDebugInfo(ULViewConfig config, bool enabled)
Set whether or not to display compositor debug information.
void ulViewFireMouseEvent(ULView view, ULMouseEvent mouse_event)
Fire a mouse event.
ULMessageSource
The source of a console message.
Definition CAPI_View.h:97
@ kMessageSource_CSS
Definition CAPI_View.h:105
@ kMessageSource_JS
Definition CAPI_View.h:99
@ kMessageSource_Network
Definition CAPI_View.h:100
@ kMessageSource_Media
Definition CAPI_View.h:108
@ kMessageSource_PaymentRequest
Definition CAPI_View.h:113
@ kMessageSource_AppCache
Definition CAPI_View.h:103
@ kMessageSource_WebRTC
Definition CAPI_View.h:110
@ kMessageSource_ContentBlocker
Definition CAPI_View.h:107
@ kMessageSource_NativeAPI
Diagnostics from application-bound JavaScript APIs.
Definition CAPI_View.h:115
@ kMessageSource_MediaSource
Definition CAPI_View.h:109
@ kMessageSource_ITPDebug
Definition CAPI_View.h:111
@ kMessageSource_XML
Definition CAPI_View.h:98
@ kMessageSource_Rendering
Definition CAPI_View.h:104
@ kMessageSource_Security
Definition CAPI_View.h:106
@ kMessageSource_Storage
Definition CAPI_View.h:102
@ kMessageSource_ConsoleAPI
Definition CAPI_View.h:101
@ kMessageSource_Other
Definition CAPI_View.h:114
@ kMessageSource_PrivateClickMeasurement
Definition CAPI_View.h:112
void ulViewConfigSetInitialFocus(ULViewConfig config, bool is_focused)
Set whether or not the View should initially have input focus.
void ulViewConfigSetFontFamilyPictograph(ULViewConfig config, ULString font_name)
Set the default font family for the CSS -webkit-pictograph generic.
ULView ulCreateView(ULRenderer renderer, unsigned int width, unsigned int height, ULViewConfig view_config, ULSession session)
Create a View with certain size (in pixels).
void ulViewConfigSetIsTransparent(ULViewConfig config, bool is_transparent)
Set whether or not the View should support transparent backgrounds.
void ulViewCreateLocalInspectorView(ULView view)
Create an Inspector View to inspect / debug this View locally.
JSContextRef ulViewLockJSContext(ULView view)
Acquire the page's JSContext for use with JavaScriptCore API.
void ulViewReload(ULView view)
Reload current page.
void ulViewSetChangeEditableStateCallback(ULView view, ULChangeEditableStateCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the editable state changes.
void(*) ULChangeCursorCallback(void *user_data, ULView caller, ULCursor cursor)
Definition CAPI_View.h:950
void ulViewSetChangeCursorCallback(ULView view, ULChangeCursorCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the mouse cursor changes.
ULString ulViewGetTitle(ULView view)
Get current title.
void ulViewSetFinishLoadingCallback(ULView view, ULFinishLoadingCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a load ends (whether or not it succeeded).
void ulViewConfigSetFontSizeDefault(ULViewConfig config, unsigned int size)
Set the default font size, in pixels (Default = 16).
void ulViewConfigSetFontFamilyFixed(ULViewConfig config, ULString font_name)
Set the default monospace font family, eg, for pre and code (Default = Courier New).
void ulViewSetMaxRenderFps(ULView view, unsigned int fps)
Set the maximum rate, in frames per second, at which the View advances its animations and repaints.
void ulViewSetDownloadNextIdCallback(ULView view, ULDownloadNextIdCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for generating unique download ids.
ULString ulViewGetURL(ULView view)
Get current URL.
void ulViewConfigSetJavaScriptCanOpenWindowsAutomatically(ULViewConfig config, bool enabled)
Set whether or not a script can open a window with window.open() without a user gesture (Default = Fa...
void ulViewConfigSetAllowUniversalAccessFromFileURLs(ULViewConfig config, bool enabled)
Set whether or not pages loaded from file:/// URLs can access content from any origin (Default = True...
void ulViewSetDownloadReceiveDataCallback(ULView view, ULDownloadReceiveDataCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when download data is received.
ULViewConfig ulCreateViewConfig(void)
Create view configuration with default values (see <Ultralight/View.h>).
bool ulViewHasFocus(ULView view)
Whether or not the View has focus.
ULRenderTarget ulViewGetRenderTarget(ULView view)
Get the RenderTarget for the View.
void ulViewSetPageSettledCallback(ULView view, ULPageSettledCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the page has settled and is ready to capture or display (resources have loaded,...
void * ulViewJavaScriptVMWithFrame(ULView view, ULString frame)
Get a handle to the internal JavaScriptCore VM for a specific frame.
void ulViewSetUpdateHistoryCallback(ULView view, ULUpdateHistoryCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the main frame's back-forward history changes.
void ulViewResizeWithScale(ULView view, unsigned int width, unsigned int height, double device_scale)
Resize view and apply a new device scale in the same pass.
void ulViewSetChangeURLCallback(ULView view, ULChangeURLCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the main frame loads a new page.
void(*) ULChangeTitleCallback(void *user_data, ULView caller, ULString title)
Definition CAPI_View.h:916
void(*) ULRequestCloseCallback(void *user_data, ULView caller)
Definition CAPI_View.h:1271
double ulViewGetDeviceScale(ULView view)
Get the device scale, ie.
void ulViewConfigSetEnableHiddenTimerThrottling(ULViewConfig config, bool enabled)
Set whether to throttle JavaScript timers (setTimeout / setInterval) while the View is hidden (Defaul...
bool ulViewGetNeedsPaint(ULView view)
Whether or not a view should be painted during the next call to ulRender().
JSContextRef ulViewLockJSContextWithFrame(ULView view, ULString frame)
Acquire the JSContext of a specific frame for use with JavaScriptCore API.
void(*) ULDOMReadyCallback(void *user_data, ULView caller, unsigned long long frame_id, bool is_main_frame, ULString url)
Definition CAPI_View.h:1100
bool(*) ULDownloadRequestCallback(void *user_data, ULView caller, unsigned int id, ULString url)
Callback for when the page wants to download a file.
Definition CAPI_View.h:1313
unsigned int(*) ULDownloadNextIdCallback(void *user_data, ULView caller)
Callback for when the View needs an ID for a new download.
Definition CAPI_View.h:1306
void ulViewGoForward(ULView view)
Navigate forwards in history.
void ulViewSetCreateInspectorViewCallback(ULView view, ULCreateInspectorViewCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the inspector needs a View to display in (after ulViewCreateLocalInspectorView(...
void ulViewSetCreateChildViewCallback(ULView view, ULCreateChildViewCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the page wants to open a new window (a link with target="_blank" or a call to w...
void ulDestroyViewConfig(ULViewConfig config)
Destroy a view configuration created by ulCreateViewConfig().
void ulViewCancelDownload(ULView view, unsigned int id)
Cancel an active download.
void(*) ULDiscardCompositionCallback(void *user_data, ULView caller)
Definition CAPI_View.h:990
bool ulViewIsVisible(ULView view)
Whether or not this View is visible.
void(*) ULDownloadReceiveDataCallback(void *user_data, ULView caller, unsigned int id, ULBuffer data)
Callback for when a download receives data (usually several times per download).
Definition CAPI_View.h:1333
ULMessageLevel
The severity level of a console message.
Definition CAPI_View.h:123
@ kMessageLevel_Debug
Definition CAPI_View.h:127
@ kMessageLevel_Warning
Definition CAPI_View.h:125
@ kMessageLevel_Info
Definition CAPI_View.h:128
@ kMessageLevel_Error
Definition CAPI_View.h:126
@ kMessageLevel_Log
Definition CAPI_View.h:124
ULSurface ulViewGetSurface(ULView view)
Get the Surface for the View (native pixel buffer that the CPU renderer draws into).
void ulViewSetNetworkRequestCallback(ULView view, ULNetworkRequestCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the View is about to begin a network request.
void ulViewConfigSetMaxRenderFps(ULViewConfig config, unsigned int fps)
Set the maximum rate, in frames per second, at which the View advances its animations and repaints.
void(*) ULUpdateHistoryCallback(void *user_data, ULView caller)
Definition CAPI_View.h:1112
ULCursor
Cursor types.
Definition CAPI_View.h:136
@ kCursor_NorthEastSouthWestResize
Definition CAPI_View.h:153
@ kCursor_NorthWestSouthEastResize
Definition CAPI_View.h:154
@ kCursor_Cell
Definition CAPI_View.h:168
@ kCursor_SouthWestPanning
Definition CAPI_View.h:164
@ kCursor_Cross
Definition CAPI_View.h:138
@ kCursor_Progress
Definition CAPI_View.h:171
@ kCursor_Copy
Definition CAPI_View.h:173
@ kCursor_SouthEastPanning
Definition CAPI_View.h:163
@ kCursor_ZoomIn
Definition CAPI_View.h:176
@ kCursor_SouthWestResize
Definition CAPI_View.h:149
@ kCursor_NorthWestResize
Definition CAPI_View.h:146
@ kCursor_MiddlePanning
Definition CAPI_View.h:157
@ kCursor_ContextMenu
Definition CAPI_View.h:169
@ kCursor_Hand
Definition CAPI_View.h:139
@ kCursor_ZoomOut
Definition CAPI_View.h:177
@ kCursor_Wait
Definition CAPI_View.h:141
@ kCursor_Grabbing
Definition CAPI_View.h:179
@ kCursor_NoDrop
Definition CAPI_View.h:172
@ kCursor_SouthPanning
Definition CAPI_View.h:162
@ kCursor_Grab
Definition CAPI_View.h:178
@ kCursor_VerticalText
Definition CAPI_View.h:167
@ kCursor_Move
Definition CAPI_View.h:166
@ kCursor_WestPanning
Definition CAPI_View.h:165
@ kCursor_SouthEastResize
Definition CAPI_View.h:148
@ kCursor_EastResize
Definition CAPI_View.h:143
@ kCursor_EastPanning
Definition CAPI_View.h:158
@ kCursor_None
Definition CAPI_View.h:174
@ kCursor_EastWestResize
Definition CAPI_View.h:152
@ kCursor_RowResize
Definition CAPI_View.h:156
@ kCursor_NorthEastPanning
Definition CAPI_View.h:160
@ kCursor_SouthResize
Definition CAPI_View.h:147
@ kCursor_ColumnResize
Definition CAPI_View.h:155
@ kCursor_NorthResize
Definition CAPI_View.h:144
@ kCursor_IBeam
Definition CAPI_View.h:140
@ kCursor_NorthEastResize
Definition CAPI_View.h:145
@ kCursor_WestResize
Definition CAPI_View.h:150
@ kCursor_NorthSouthResize
Definition CAPI_View.h:151
@ kCursor_Pointer
Definition CAPI_View.h:137
@ kCursor_NorthWestPanning
Definition CAPI_View.h:161
@ kCursor_Custom
Definition CAPI_View.h:180
@ kCursor_NotAllowed
Definition CAPI_View.h:175
@ kCursor_Alias
Definition CAPI_View.h:170
@ kCursor_NorthPanning
Definition CAPI_View.h:159
@ kCursor_Help
Definition CAPI_View.h:142
void ulViewGoToHistoryOffset(ULView view, int offset)
Navigate to an arbitrary offset in history.
void ulViewConfigSetUserAgent(ULViewConfig config, ULString agent_string)
Set user agent string (See <Ultralight/platform/Config.h> for the default).
unsigned int ulViewGetHeight(ULView view)
Get the height, in pixels.
void ulViewSetDOMReadyCallback(ULView view, ULDOMReadyCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a frame's document has been parsed and the DOM is ready.
void ulViewSetDeviceScale(ULView view, double scale)
Set the device scale.
void ulViewFireScrollEvent(ULView view, ULScrollEvent scroll_event)
Fire a scroll event.
void ulViewFocus(ULView view)
Give focus to the View.
void ulViewLoadURL(ULView view, ULString url_string)
Load a URL, the View will navigate to it as a new page.
void ulViewSetRequestCloseCallback(ULView view, ULRequestCloseCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the page asks to close (window.close() in a window that script opened,...
void(*) ULChangeURLCallback(void *user_data, ULView caller, ULString url)
Definition CAPI_View.h:925
void ulViewConfigSetMatchNativeEditingBehavior(ULViewConfig config, bool enabled)
Set whether text editing should follow the host OS's native conventions instead of the library's cros...
void ulViewSetDownloadBeginCallback(ULView view, ULDownloadBeginCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a download begins.
void ulViewSetDiscardCompositionCallback(ULView view, ULDiscardCompositionCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the page ends the active composition on its own (eg, on navigation or when the ...
void ulViewLoadHTML(ULView view, ULString html_string)
Load a raw string of HTML, the View will navigate to it as a new page.
bool ulViewIsLoading(ULView view)
Check if the main frame of the page is currently loading.
void ulViewSetNeedsPaint(ULView view, bool needs_paint)
Set whether or not a view should be repainted during the next call to ulRender().
void ulViewConfigSetFontFamilySerif(ULViewConfig config, ULString font_name)
Set the default font family for the CSS serif generic (Default = Times New Roman).
ULView(*) ULCreateChildViewCallback(void *user_data, ULView caller, ULString opener_url, ULString target_url, bool is_popup, ULIntRect popup_rect)
Definition CAPI_View.h:1017
ULString ulViewEvaluateScript(ULView view, ULString js_string, ULString *exception)
Evaluate a string of JavaScript and return result.
void ulViewUnfocus(ULView view)
Remove focus from the View.
void ulViewSetCompositorDebugInfoEnabled(ULView view, bool enabled)
Set whether or not to display compositor debug information.
bool ulViewIsTransparent(ULView view)
Whether or not the View supports transparent backgrounds.
void ulViewConfigSetIsAccelerated(ULViewConfig config, bool is_accelerated)
Set whether to render using the GPU renderer (accelerated) or the CPU renderer (unaccelerated).
void ulViewSetWindowObjectReadyCallback(ULView view, ULWindowObjectReadyCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for before a frame's scripts run.
void ulViewStop(ULView view)
Stop all page loads.
void ulViewConfigSetFontFamilyCursive(ULViewConfig config, ULString font_name)
Set the default font family for the CSS cursive generic (Default = Comic Sans MS).
void ulViewConfigSetEnableCompositor(ULViewConfig config, bool enabled)
Set whether or not compositing should be enabled.
bool ulViewCanGoForward(ULView view)
Whether or not the View can navigate forward in history.
unsigned int ulViewGetWidth(ULView view)
Get the width, in pixels.
void(*) ULDownloadBeginCallback(void *user_data, ULView caller, unsigned int id, ULString url, ULString filename, long long expected_content_length)
Callback for when a download starts.
Definition CAPI_View.h:1322
void(*) ULWindowObjectReadyCallback(void *user_data, ULView caller, unsigned long long frame_id, bool is_main_frame, ULString url)
Definition CAPI_View.h:1084
void(*) ULDownloadFailCallback(void *user_data, ULView caller, unsigned int id)
Callback for when a download fails.
Definition CAPI_View.h:1348
ULString ulViewEvaluateScriptWithFrame(ULView view, ULString js_string, ULString *exception, ULString frame)
Evaluate a string of JavaScript in a specific frame and return the result.
void ulViewSetFailLoadingCallback(ULView view, ULFailLoadingCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a load fails (just before the finish-loading callback).
void ulViewConfigSetEnableCanvasFilters(ULViewConfig config, bool enabled)
Set whether or not the HTML5 Canvas Filters API (CanvasRenderingContext2D.filter) is enabled.
void ulViewConfigSetInitialDeviceScale(ULViewConfig config, double initial_device_scale)
Set the initial device scale, ie.
void ulViewSetDisplayId(ULView view, unsigned int display_id)
Set the display id of the View.
void ulViewConfigSetEnableImages(ULViewConfig config, bool enabled)
Set whether images should be enabled (Default = True).
ULColorScheme ulViewGetPreferredColorScheme(ULView view)
Get the color scheme this View reports to pages.
void ulViewConfigSetFontFamilySansSerif(ULViewConfig config, ULString font_name)
Set the default font family for the CSS sans-serif generic (Default = Arial).
void ulViewSetDownloadFinishCallback(ULView view, ULDownloadFinishCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a download finishes.
bool ulViewCanGoBack(ULView view)
Whether or not the View can navigate back in history.
void ulViewSetPreferredColorScheme(ULView view, ULColorScheme scheme)
Set the color scheme this View reports to pages via the prefers-color-scheme CSS media feature.
bool(*) ULNetworkRequestCallback(void *user_data, ULView caller, ULString url)
Callback for before the View sends a network request.
Definition CAPI_View.h:1418
void ulViewLoadHTMLWithParams(ULView view, ULString html_string, ULString url, bool add_to_history)
Load a raw string of HTML with additional options.
void ulViewGoBack(ULView view)
Navigate backwards in history.
void ulViewSetAddConsoleMessageCallback(ULView view, ULAddConsoleMessageCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the page adds a message to the console (useful for errors and debugging).
void ulViewConfigSetPreferredColorScheme(ULViewConfig config, ULColorScheme scheme)
Set the color scheme the View reports to pages via the prefers-color-scheme CSS media feature.
void ulViewFireKeyEvent(ULView view, ULKeyEvent key_event)
Fire a keyboard event.
void ulViewSetDownloadRequestCallback(ULView view, ULDownloadRequestCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the View requests a download.
void(*) ULDownloadFinishCallback(void *user_data, ULView caller, unsigned int id)
Callback for when a download finishes.
Definition CAPI_View.h:1341
void ulViewConfigSetDisplayId(ULViewConfig config, unsigned int display_id)
Set a user-generated id of the display (monitor, TV, or screen) that the View will be shown on.
void ulViewUnlockJSContext(ULView view)
Unlock the page's JSContext after a previous call to ulViewLockJSContext().
void(*) ULUpdateCompositionCallback(void *user_data, ULView caller)
Definition CAPI_View.h:977
void ulViewConfigSetFontSizeFixed(ULViewConfig config, unsigned int size)
Set the default font size for monospace text, eg, pre and code, in pixels (Default = 13).
unsigned int ulViewGetDisplayId(ULView view)
Get the display id of the View.
bool ulViewIsAccelerated(ULView view)
Whether or not the View is GPU-accelerated.
ULJSContext ulViewGetJSContext(ULView view)
Get a ULJS handle to the main frame's JavaScript context.
void ulDestroyView(ULView view)
Destroy a View previously created with ulCreateView().
void(*) ULChangeEditableStateCallback(void *user_data, ULView caller, ULEditableState state)
Definition CAPI_View.h:959
void ulViewSetBeginLoadingCallback(ULView view, ULBeginLoadingCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a load starts (see "Load Events" in the file description).
void ulViewConfigSetFontFamilyFantasy(ULViewConfig config, ULString font_name)
Set the default font family for the CSS fantasy generic (Default = Impact).
void(*) ULAddConsoleMessageCallback(void *user_data, ULView caller, ULMessageSource source, ULMessageLevel level, ULString message, unsigned int line_number, unsigned int column_number, ULString source_id)
Definition CAPI_View.h:1004
void ulViewConfigSetBackgroundColor(ULViewConfig config, ULColor color)
Set the base background color the page renders on before any page styling applies,...
void(*) ULFinishLoadingCallback(void *user_data, ULView caller, unsigned long long frame_id, bool is_main_frame, ULString url)
Definition CAPI_View.h:1060
void ulViewSetChangeTooltipCallback(ULView view, ULChangeTooltipCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the tooltip under the mouse changes (the text is empty when there's no tooltip)...
void ulViewConfigSetClipboardReadPolicy(ULViewConfig config, ULClipboardReadPolicy policy)
Set which pages may read the clipboard from script, eg, a page's own Paste button calling document....
void ulViewConfigSetFontFamilyStandard(ULViewConfig config, ULString font_name)
Set the default font family, used for text that doesn't set one (Default = Times New Roman).
void ulViewSetUpdateCompositionCallback(ULView view, ULUpdateCompositionCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for after every change to the active composition.
void ulViewUnlockJSContextWithFrame(ULView view, ULString frame)
Unlock the JSContext of a specific frame after a previous call to ulViewLockJSContextWithFrame().
bool ulViewIsSettled(ULView view)
Check whether the page has settled after loading.
void ulViewSetVisible(ULView view, bool visible)
Set whether or not this View is visible.
void(*) ULPageSettledCallback(void *user_data, ULView caller, ULString url)
Definition CAPI_View.h:1121
void ulViewSetChangeTitleCallback(ULView view, ULChangeTitleCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when the page title changes.
void ulViewConfigSetEnableJavaScript(ULViewConfig config, bool enabled)
Set whether JavaScript should be enabled (Default = True).
unsigned int ulViewGetMaxRenderFps(ULView view)
Get the frame-rate cap (in FPS) set for the View, or 0 if none is set.
bool ulViewGetCompositorDebugInfoEnabled(ULView view)
Whether or not compositor debug information is enabled.
void(*) ULBeginLoadingCallback(void *user_data, ULView caller, unsigned long long frame_id, bool is_main_frame, ULString url)
Definition CAPI_View.h:1050
bool ulViewHasInputFocus(ULView view)
Whether or not the View has an input element with visible keyboard focus (indicated by a blinking car...
void ulViewResize(ULView view, unsigned int width, unsigned int height)
Resize view to a certain width and height (in pixels).
void ulViewSetDownloadFailCallback(ULView view, ULDownloadFailCallback callback, void *user_data, ULUserDataDestroyCallback destroy_user_data)
Set callback for when a download fails.
void(*) ULFailLoadingCallback(void *user_data, ULView caller, unsigned long long frame_id, bool is_main_frame, ULString url, ULString description, ULString error_domain, int error_code)
Definition CAPI_View.h:1070
ULView(*) ULCreateInspectorViewCallback(void *user_data, ULView caller, bool is_local, ULString inspected_url)
Definition CAPI_View.h:1035
const struct OpaqueJSContext * JSContextRef
Definition JSBase.h:43
Various defines and utility functions for the C API.
struct C_View * ULView
Opaque handle to a View object.
Definition CAPI_Defines.h:87
struct C_String * ULString
Opaque handle to a String object.
Definition CAPI_Defines.h:96
struct C_Session * ULSession
Opaque handle to a Session object.
Definition CAPI_Defines.h:81
#define ULExport
Definition CAPI_Defines.h:42
struct C_Surface * ULSurface
Opaque handle to a Surface object.
Definition CAPI_Defines.h:122
ULClipboardReadPolicy
Policy governing script-initiated clipboard reads.
Definition CAPI_Defines.h:158
struct C_MouseEvent * ULMouseEvent
Opaque handle to a MouseEvent object.
Definition CAPI_Defines.h:107
struct C_ViewConfig * ULViewConfig
Opaque handle to a ViewConfig object.
Definition CAPI_Defines.h:84
void(*) ULUserDataDestroyCallback(void *user_data)
Callback invoked exactly once when the library finally drops a piece of user data.
Definition CAPI_Defines.h:139
struct C_ScrollEvent * ULScrollEvent
Opaque handle to a ScrollEvent object.
Definition CAPI_Defines.h:110
ULColorScheme
A page color scheme, as reported to pages via the prefers-color-scheme CSS media feature.
Definition CAPI_Defines.h:147
struct C_Buffer * ULBuffer
Opaque handle to a Buffer object.
Definition CAPI_Defines.h:99
struct C_Renderer * ULRenderer
Opaque handle to a Renderer object.
Definition CAPI_Defines.h:78
struct C_KeyEvent * ULKeyEvent
Opaque handle to a KeyEvent object.
Definition CAPI_Defines.h:104
A color value.
Definition CAPI_ColorTypes.h:45
The conditions that decide whether an input method should be active.
Definition CAPI_Editor.h:519
Integer rectangle defined by left, top, right, and bottom coordinates.
Definition CAPI_Defines.h:548
Offscreen render target, used when rendering Views via the GPU renderer.
Definition CAPI_Defines.h:564