comparison win/browser.c @ 2015:c30f4354966e

Win: Added support for dw_html_javascript_run() using Edge (Chromium). OS/2: Added dw_html_javascript_run() stub for OS/2 so things compile.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 07 Nov 2019 10:12:25 +0000
parents 22e3e829be13
children f696215e6d4e
comparison
equal deleted inserted replaced
2014:b1838dd5509a 2015:c30f4354966e
1419 1419
1420 return(-5); 1420 return(-5);
1421 } 1421 }
1422 1422
1423 1423
1424 1424 /******************************* dw_html_javascript_run() ****************************
1425 * Runs a javascript in the specified browser context.
1426 *
1427 * hwnd = Handle to the window hosting the browser object.
1428 * script = Pointer to nul-terminated javascript string.
1429 * scriptdata = Pointer to user data to be passed to the callback.
1430 *
1431 * RETURNS: 0 if success, or non-zero if an error.
1432 */
1433
1434 int _dw_html_javascript_run(HWND hwnd, LPCWSTR script, void *scriptdata)
1435 {
1436 return DW_ERROR_UNKNOWN;
1437 }
1425 1438
1426 1439
1427 /******************************* ResizeBrowser() **************************** 1440 /******************************* ResizeBrowser() ****************************
1428 * Resizes the browser object for the specified window to the specified 1441 * Resizes the browser object for the specified window to the specified
1429 * width and height. 1442 * width and height.