mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 23:55:52 +03:00
a1445b757d
CW-Bug-Id: #22729
279 lines
18 KiB
C++
279 lines
18 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_142/steam_api.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_142
|
|
#include "struct_converters.h"
|
|
#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h"
|
|
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004
|
|
{
|
|
#ifdef __cplusplus
|
|
virtual ~cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004( ) = 0;
|
|
virtual bool Init( ) = 0;
|
|
virtual bool Shutdown( ) = 0;
|
|
virtual uint64_t CreateBrowser( const char *, const char * ) = 0;
|
|
virtual void RemoveBrowser( uint32_t ) = 0;
|
|
virtual void LoadURL( uint32_t, const char *, const char * ) = 0;
|
|
virtual void SetSize( uint32_t, uint32_t, uint32_t ) = 0;
|
|
virtual void StopLoad( uint32_t ) = 0;
|
|
virtual void Reload( uint32_t ) = 0;
|
|
virtual void GoBack( uint32_t ) = 0;
|
|
virtual void GoForward( uint32_t ) = 0;
|
|
virtual void AddHeader( uint32_t, const char *, const char * ) = 0;
|
|
virtual void ExecuteJavascript( uint32_t, const char * ) = 0;
|
|
virtual void MouseUp( uint32_t, uint32_t ) = 0;
|
|
virtual void MouseDown( uint32_t, uint32_t ) = 0;
|
|
virtual void MouseDoubleClick( uint32_t, uint32_t ) = 0;
|
|
virtual void MouseMove( uint32_t, int32_t, int32_t ) = 0;
|
|
virtual void MouseWheel( uint32_t, int32_t ) = 0;
|
|
virtual void KeyDown( uint32_t, uint32_t, uint32_t ) = 0;
|
|
virtual void KeyUp( uint32_t, uint32_t, uint32_t ) = 0;
|
|
virtual void KeyChar( uint32_t, uint32_t, uint32_t ) = 0;
|
|
virtual void SetHorizontalScroll( uint32_t, uint32_t ) = 0;
|
|
virtual void SetVerticalScroll( uint32_t, uint32_t ) = 0;
|
|
virtual void SetKeyFocus( uint32_t, bool ) = 0;
|
|
virtual void ViewSource( uint32_t ) = 0;
|
|
virtual void CopyToClipboard( uint32_t ) = 0;
|
|
virtual void PasteFromClipboard( uint32_t ) = 0;
|
|
virtual void Find( uint32_t, const char *, bool, bool ) = 0;
|
|
virtual void StopFind( uint32_t ) = 0;
|
|
virtual void GetLinkAtPosition( uint32_t, int32_t, int32_t ) = 0;
|
|
virtual void SetCookie( const char *, const char *, const char *, const char *, uint32_t, bool, bool ) = 0;
|
|
virtual void SetPageScaleFactor( uint32_t, float, int32_t, int32_t ) = 0;
|
|
virtual void SetBackgroundMode( uint32_t, bool ) = 0;
|
|
virtual void SetDPIScalingFactor( uint32_t, float ) = 0;
|
|
virtual void AllowStartRequest( uint32_t, bool ) = 0;
|
|
virtual void JSDialogResponse( uint32_t, bool ) = 0;
|
|
virtual void FileLoadDialogResponse( uint32_t, const char ** ) = 0;
|
|
#endif /* __cplusplus */
|
|
};
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
params->_ret = iface->Init( );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
params->_ret = iface->Shutdown( );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
params->_ret = iface->CreateBrowser( params->pchUserAgent, params->pchUserCSS );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->RemoveBrowser( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->LoadURL( params->unBrowserHandle, params->pchURL, params->pchPostData );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetSize( params->unBrowserHandle, params->unWidth, params->unHeight );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->StopLoad( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->Reload( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->GoBack( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->GoForward( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->AddHeader( params->unBrowserHandle, params->pchKey, params->pchValue );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->ExecuteJavascript( params->unBrowserHandle, params->pchScript );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->MouseUp( params->unBrowserHandle, params->eMouseButton );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->MouseDown( params->unBrowserHandle, params->eMouseButton );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->MouseDoubleClick( params->unBrowserHandle, params->eMouseButton );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->MouseMove( params->unBrowserHandle, params->x, params->y );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->MouseWheel( params->unBrowserHandle, params->nDelta );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
uint32_t lin_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode );
|
|
iface->KeyDown( params->unBrowserHandle, lin_nNativeKeyCode, params->eHTMLKeyModifiers );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
uint32_t lin_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode );
|
|
iface->KeyUp( params->unBrowserHandle, lin_nNativeKeyCode, params->eHTMLKeyModifiers );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->KeyChar( params->unBrowserHandle, params->cUnicodeChar, params->eHTMLKeyModifiers );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetHorizontalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetVerticalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetKeyFocus( params->unBrowserHandle, params->bHasKeyFocus );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->ViewSource( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->CopyToClipboard( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->PasteFromClipboard( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->Find( params->unBrowserHandle, params->pchSearchStr, params->bCurrentlyInFind, params->bReverse );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->StopFind( params->unBrowserHandle );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->GetLinkAtPosition( params->unBrowserHandle, params->x, params->y );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetCookie( params->pchHostname, params->pchKey, params->pchValue, params->pchPath, params->nExpires, params->bSecure, params->bHTTPOnly );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetPageScaleFactor( params->unBrowserHandle, params->flZoom, params->nPointX, params->nPointY );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetBackgroundMode( params->unBrowserHandle, params->bBackgroundMode );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->SetDPIScalingFactor( params->unBrowserHandle, params->flDPIScaling );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->AllowStartRequest( params->unBrowserHandle, params->bAllowed );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->JSDialogResponse( params->unBrowserHandle, params->bResult );
|
|
}
|
|
|
|
void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse( struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *params )
|
|
{
|
|
struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side;
|
|
iface->FileLoadDialogResponse( params->unBrowserHandle, params->pchSelectedFiles );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|