Project

General

Profile

SO3Engine
SCOLWebNavigator.cpp File Reference

Go to the source code of this file.

Functions

 WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (OnExternalCall, WEB_NAVIGATOR_JS_ON_EXTERNAL_CALL_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnExternalCallStr
 WebNavigatorCbOnExternalCall : Called when a javascript external called is performed.
 
int destroyWebNavigatorObj (mmachine m, SCOL_PTR_TYPE handsys, int webNavigatorIndex)
 
int SO3WebNavigatorCreate (mmachine m)
 WebNavigatorCreate : This function create a new Embedded Web Navigator Object.
 
int SO3WebNavigatorCreateOffscreen (mmachine m)
 WebNavigatorCreateOffscreen : This function create a new Embedded Web Navigator Object which render it's content "offscreen".
 
int SO3WebNavigatorDestroy (mmachine m)
 WebNavigatorDestroy : This function destroy a Embedded Web Navigator Object.
 
int SO3WebNavigatorLoadURL (mmachine m)
 WebNavigatorLoadURL : Load the given url.
 
int SO3WebNavigatorLoadFile (mmachine m)
 WebNavigatorLoadFile : Load the given file.
 
int SO3WebNavigatorLoadHTML (mmachine m)
 WebNavigatorLoadHTML : Load the given html text.
 
int SO3WebNavigatorActionUndo (mmachine m)
 WebNavigatorActionUndo : Execute undo on a frame.
 
int SO3WebNavigatorActionRedo (mmachine m)
 WebNavigatorActionRedo : Execute redo on a frame.
 
int SO3WebNavigatorActionCut (mmachine m)
 WebNavigatorActionCut : Execute cut on a frame.
 
int SO3WebNavigatorActionCopy (mmachine m)
 WebNavigatorActionCopy : Execute copy on a frame.
 
int SO3WebNavigatorActionPaste (mmachine m)
 WebNavigatorActionPaste : Execute paste on a frame.
 
int SO3WebNavigatorActionDelete (mmachine m)
 WebNavigatorActionDelete : Execute delete on a frame.
 
int SO3WebNavigatorActionSelectAll (mmachine m)
 WebNavigatorActionSelectAll : Execute select all on a frame.
 
int SO3WebNavigatorPrint (mmachine m)
 WebNavigatorPrint : Execute printing on a frame. The user will be prompted with the print dialog appropriate to the operating system.
 
int SO3WebNavigatorViewSource (mmachine m)
 WebNavigatorViewSource : Save a frame's HTML source to a temporary file and open it in the default text viewing application.
 
int SO3WebNavigatorGetSource (mmachine m)
 WebNavigatorGetSource : Returns a frame's HTML source as a string.
 
int SO3WebNavigatorGetText (mmachine m)
 WebNavigatorGetText : Returns a frame's display text as a string.
 
int SO3WebNavigatorExecuteJavaScript (mmachine m)
 WebNavigatorExecuteJavaScript : Execute a string of JavaScript code in this frame. The |script_url| parameter is the URL where the script in question can be found, if any. The renderer may request this URL to show the developer the source of the error. The |start_line| parameter is the base line number to use for error reporting.
 
int SO3WebNavigatorGetURL (mmachine m)
 WebNavigatorGetURL : Returns the URL currently loaded in a frame.
 
int SO3WebNavigatorCanGoBack (mmachine m)
 WebNavigatorCanGoBack : Does the browser can navigate backward?
 
int SO3WebNavigatorGoBack (mmachine m)
 WebNavigatorGoBack : Navigate backward.
 
int SO3WebNavigatorCanGoForward (mmachine m)
 WebNavigatorCanGoForward : Does the browser can navigate forward?
 
int SO3WebNavigatorGoForward (mmachine m)
 WebNavigatorGoForward : Navigate forward.
 
int SO3WebNavigatorReload (mmachine m)
 WebNavigatorReload : Reload the current page.
 
int SO3WebNavigatorReloadIgnoreCache (mmachine m)
 WebNavigatorReloadIgnoreCache : Reload the current page ignoring any cached data.
 
int SO3WebNavigatorStopLoad (mmachine m)
 WebNavigatorStopLoad : Stop loading the page.
 
int SO3WebNavigatorFind (mmachine m)
 WebNavigatorFind : Search for text in the current page.
 
int SO3WebNavigatorStopFinding (mmachine m)
 WebNavigatorStopFinding : Cancel all searches that are currently going on.
 
int SO3WebNavigatorGetZoomLevel (mmachine m)
 WebNavigatorGetZoomLevel : Get the zoom level.
 
int SO3WebNavigatorSetZoomLevel (mmachine m)
 WebNavigatorSetZoomLevel : Change the zoom level.
 
int SO3WebNavigatorClearHistory (mmachine m)
 WebNavigatorClearHistory : Clear the back/forward browsing history.
 
int SO3WebNavigatorShowDevTools (mmachine m)
 WebNavigatorShowDevTools : Open developer tools window.
 
int SO3WebNavigatorCloseDevTools (mmachine m)
 WebNavigatorCloseDevTools : Close the developer tools window if one exists for this browser instance.
 
int SO3WebNavigatorGetSize (mmachine m)
 WebNavigatorGetSize : Retrieve the size of a web navigator object.
 
int SO3WebNavigatorSetSize (mmachine m)
 WebNavigatorSetSize : Set the size of a web navigator object.
 
int SO3WebNavigatorGetPosition (mmachine m)
 WebNavigatorGetPosition : Retrieve the position of a web navigator object.
 
int SO3WebNavigatorSetPosition (mmachine m)
 WebNavigatorSetPosition : Set the position of a web navigator object in his parent window.
 
int SO3WebNavigatorBlitOffscreen (mmachine m)
 WebNavigatorBlitOffscreen : Copy the content of an offscreen web navigator to the destination bitmap.
 
int SO3WebNavigatorBlitOffscreenAlpha (mmachine m)
 WebNavigatorBlitOffscreenAlpha : Copy the content of an offscreen web navigator to the destination alpha bitmap.
 
int SO3WebNavigatorInjectKeyDown (mmachine m)
 WebNavigatorInjectKeyDown : Send "key down" event to the web navigator.
 
int SO3WebNavigatorInjectKeyUp (mmachine m)
 WebNavigatorInjectKeyUp : Send "key up" event to the web navigator.
 
int SO3WebNavigatorInjectKeyMessage (mmachine m)
 WebNavigatorInjectKeyMessage : Send "key message" event to the web navigator.
 
int SO3WebNavigatorInjectMouseClick (mmachine m)
 WebNavigatorInjectMouseClick : Send "mouse click" event to the web navigator.
 
int SO3WebNavigatorInjectMouseUnClick (mmachine m)
 WebNavigatorInjectMouseClick : Send "mouse unclick" event to the web navigator.
 
int SO3WebNavigatorInjectMouseMove (mmachine m)
 WebNavigatorInjectMouseMove : Send "mouse move" event to the web navigator.
 
int SO3WebNavigatorInjectMouseWheel (mmachine m)
 WebNavigatorInjectMouseWheel : Send "mouse wheel" event to the web navigator.
 
int SO3WebNavigatorInjectFocus (mmachine m)
 WebNavigatorSetFocus : Send "focus" event to the web navigator.
 
int SO3WebNavigatorSetCookie (mmachine m)
 SO3WebNavigatorSetCookie : Create a domain cookie.
 
int SO3WebNavigatorDeleteCookies (mmachine m)
 SO3WebNavigatorDeleteCookies : Delete one or more cookie(s)
 
 WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (OnNavStateChange, WEB_NAVIGATOR_DISPLAY_ON_NAV_STATE_CHANGE_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnAddressChange
 SO3WebNavigatorCbOnNavStateChange : Called when the navigation state has changed.
 
WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (OnTitleChange, WEB_NAVIGATOR_DISPLAY_ON_TITLE_CHANGE_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnTooltip
 SO3WebNavigatorCbOnTitleChange : Called when the page title changes.
 
WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_DISPLAY_ON_TOOLTIP_CB WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (OnStatusMessage, WEB_NAVIGATOR_DISPLAY_ON_STATUS_MESSAGE_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnConsoleMessage
 WebNavigatorCbOnStatusMessage : Called when the browser receives a status message. |text| contains the text that will be displayed in the status message and |type| indicates the status message type.
 
WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_DISPLAY_ON_TOOLTIP_CB WEB_NAVIGATOR_DISPLAY_ON_CONSOLE_MESSAGE_CB WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (OnFindResult, WEB_NAVIGATOR_FIND_ON_RESULT_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnPopup
 SO3WebNavigatorCbOnFindResult : Called to report find results returned by CefBrowser::Find(). |identifer| is the identifier passed to 'Find' function, |count| is the number of matches currently identified, |selectionRect| is the location of where the match was found (in window coordinates), |activeMatchOrdinal| is the current position in the search results, and |finalUpdate| is true if this is the last find notification.
 
WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_DISPLAY_ON_TOOLTIP_CB WEB_NAVIGATOR_DISPLAY_ON_CONSOLE_MESSAGE_CB WEB_NAVIGATOR_LIFESPAN_ON_POPUP_CB WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (RunModal, WEB_NAVIGATOR_LIFESPAN_RUN_MODAL_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnLoadStart
 SO3WebNavigatorCbRunModal : Called when a modal window is about to display and the modal loop should begin running. Return false to use the default modal loop implementation or true to use a custom implementation.
 
WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_DISPLAY_ON_TOOLTIP_CB WEB_NAVIGATOR_DISPLAY_ON_CONSOLE_MESSAGE_CB WEB_NAVIGATOR_LIFESPAN_ON_POPUP_CB WEB_NAVIGATOR_LOAD_ON_START_CB WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION (OnLoadEnd, WEB_NAVIGATOR_LOAD_ON_END_CB) WEB_NAVIGATOR_GENERATE_SCOL_ADD_CB_FUNCTION(OnLoadError
 SO3WebNavigatorCbOnLoadEnd : Called when the browser is done loading a frame. The |frame| value will never be empty – call the IsMain() method to check if this frame is the main frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method will always be called for all frames irrespective of whether the request completes successfully.
 

Variables

int(* CallMainThread )(void *, mmachine m)
 main include
 
int OBJWEBNAVIGATORSCOL
 
WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_DISPLAY_ON_TOOLTIP_CB WEB_NAVIGATOR_DISPLAY_ON_CONSOLE_MESSAGE_CB WEB_NAVIGATOR_LIFESPAN_ON_POPUP_CB WEB_NAVIGATOR_LOAD_ON_START_CB WEB_NAVIGATOR_LOAD_ON_ERROR_CB NativeDefinition natSO3WebNavigator []
 

Function Documentation

◆ destroyWebNavigatorObj()

int destroyWebNavigatorObj ( mmachine  m,
SCOL_PTR_TYPE  handsys,
int  webNavigatorIndex 
)

Scol CallBack for ObjWebNavigator destruction

Definition at line 426 of file SCOLWebNavigator.cpp.

Variable Documentation

◆ CallMainThread

int(* CallMainThread) (void *, mmachine m) ( void *  ,
mmachine  m 
)
extern

main include

Definition at line 84 of file SO3SCOL.cpp.

◆ natSO3WebNavigator

WEB_NAVIGATOR_DISPLAY_ON_ADDRESS_CHANGE_CB WEB_NAVIGATOR_DISPLAY_ON_TOOLTIP_CB WEB_NAVIGATOR_DISPLAY_ON_CONSOLE_MESSAGE_CB WEB_NAVIGATOR_LIFESPAN_ON_POPUP_CB WEB_NAVIGATOR_LOAD_ON_START_CB WEB_NAVIGATOR_LOAD_ON_ERROR_CB NativeDefinition natSO3WebNavigator[]

Definition at line 2882 of file SCOLWebNavigator.cpp.

◆ OBJWEBNAVIGATORSCOL

int OBJWEBNAVIGATORSCOL

Definition at line 53 of file SCOLWebNavigator.cpp.