Commit Graph

1628 Commits

Author SHA1 Message Date
amaitland bfe9fe63d9 Upgrade to CEF 3.2454.1344 2015-10-30 07:47:43 +10:00
amaitland 94b77750e6 Fix #1357
In GetBrowserWrapper check if _cefBrowser has a valid pointer
Add ManagedCefBrowserAdapter IsDisposed check in JavascriptCallbackProxy::GetBrowser
Add CanExecute to check if underlying resources are still available
2015-10-26 12:04:54 +10:00
amaitland cb927c5ef6 Remove redundant else statement from StringUtils.h 2015-10-26 11:49:14 +10:00
illfang c5a9ed9038 added missing include for CI build 2015-10-23 16:51:22 +09:00
illfang bd95633741 added CreateExceptionString to the string utils which creates a verbose message from a Cef V8 exception, if possible 2015-10-23 16:40:25 +09:00
amaitland a3dff183dc Upgrade to 3.2454.1342 2015-10-21 20:07:13 +10:00
bartwe 221ec0dacc Expose explicit message loop handling. 2015-10-21 19:46:13 +10:00
amaitland 8f61fc618b Update to 3.2454.1333
https://bitbucket.org/chromiumembedded/cef/commits/a594fe2ca4bcb1a7b7bccd814fbd6a382a4dc825

Resolves #1337
2015-10-15 21:12:16 +10:00
amaitland 7aa128781d Add IsDisposed checks
Resolves #1307
2015-10-13 19:46:38 +10:00
amaitland b1053cb6a5 Merge remote-tracking branch 'remotes/upstream/master' into enhancement/v8contextperframe 2015-10-13 14:08:32 +10:00
amaitland ad9f7c70ac Add IPluginHandler.OnBeforePluginLoad
Can now be used through the RequestContext
Add Example to WPF application
2015-10-12 15:32:10 +10:00
amaitland b739c155f9 Make ICookieManager.FlushStore Async
Resolves #1276
2015-10-12 08:47:38 +10:00
amaitland 514d7e275d Add IContextMenuHandler.RunContextMenu 2015-10-12 08:08:41 +10:00
amaitland 20b8aa5732 Add IDragHandler.OnDraggableRegionsChanged 2015-10-12 07:16:33 +10:00
amaitland 2f3d9f868f Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland d1ba723bd5 Add CefSharpSettings.WcfTimeout - allow user to specify custom timeout when closing the WCF channel host
Can set to TimeSpan.Zero to Abort the channel (close without timeout)
2015-10-08 22:42:37 +10:00
amaitland c2b712f06c Update to CEF 3.2454.1326
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland 8f2dbcbe91 Remove stray quotes 2015-09-30 08:30:03 +10:00
amaitland b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
Alex Maitland d95083ae4e Merge pull request #1284 from amaitland/bug/popupjsb
Add support for JSB in Popups
2015-09-29 08:16:13 +10:00
amaitland d9c3569bd7 Add IRequestHandler.OnResourceResponse 2015-09-29 08:03:54 +10:00
amaitland d161cefa6c Merge remote-tracking branch 'remotes/upstream/master' into feature/geocallback 2015-09-28 07:21:14 +10:00
amaitland 5e2546067b Change CefRequestWrapper to return null when PostData is null; 2015-09-25 11:47:09 +10:00
amaitland 77796eb375 CefPdfPrintCallbackWrapper was not included in vcxproj 2015-09-25 07:45:39 +10:00
amaitland cb989648cb Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks 2015-09-24 21:00:53 +10:00
amaitland 8bba47d383 Add TODO about callbacks being executed in the context of a popup 2015-09-24 20:24:16 +10:00
amaitland 8a8da5b35a Async JSB now working in popups
Still have the issue of callbacks not working as expect, for some reason it can't find the context
2015-09-24 20:08:15 +10:00
amaitland a93e9e51e5 Only send kJavascriptRootObjectRequest when main browser is created (OnRenderViewReady)
Remove IsPopup check from async binding
2015-09-24 19:50:48 +10:00
amaitland dcf4eb46c2 Implement temp workaround for #1203 - enable process-per-tab by default 2015-09-24 18:46:31 +10:00
Haraguroicha 8a725bcd7b let cef.sdk reference from SolutionDir\packages not project relative parent 2015-09-23 12:27:51 +08:00
amaitland c4f99dad7f Add rough GetGeolocationAsync implementation
Not tested yet
2015-09-22 12:47:03 +10:00
amaitland 86c3fc6edb Add Cef.EnableHighDPISupport - wrapper around CefEnableHighDPISupport 2015-09-20 19:15:53 +10:00
amaitland 1843486050 Rename CefSharpPdfPrintSettings to PdfPrintSettings (inconsistent naming)
Add xml documentation to PdfPrintSettings
Change return type from Task to Task<bool> (exceptions are expensive and unnecessary)
Fix small bug in assigning HeaderFooterTitle and HeaderFooterUrl (values were switched)
Allow PrintToPdfAsync to accept nullptr for settings (use defaults)
Update xml documentation in various instances for PrintToPdfAsync
2015-09-20 18:43:06 +10:00
David Serfozo 6ecb0fc129 PrintToPdf API changed to use Tasks instead of callbacks 2015-09-19 13:28:52 +02:00
David Serfozo 8e8edf80f3 simplified PrintToPDF in CefBrowserHostWrapper 2015-09-19 13:06:08 +02:00
David Serfozo fc03b24abf added printtopdf implementation 2015-09-19 11:02:32 +02:00
David Serfozo e6338ce7e6 added printtopdf to browserhost interface 2015-09-19 10:53:46 +02:00
amaitland 9a7ca5eda0 Rename IComplectionHandler to ICompletionCallback (matches CefComplectionCallback naming)
Should be the final breaking changes before the 43.0.0 release
2015-09-18 17:21:30 +10:00
amaitland 99762a8e05 Add pointer check to CefPostDataWrapper - return an empty collection if no CefPostData was passed in
Handle the empty post data better in the example SchemeHandler
2015-09-16 16:07:40 +10:00
Alex Maitland 3ba9dc914d Merge pull request #1268 from amaitland/fix/schemeregistration
Register Custom Schemes in all sub processes
2015-09-16 09:06:41 +10:00
amaitland 7f46d90e00 Add EnableInternalPdfViewerOffScreen to simplify disabling surfaces for internal PDF viewer (offscreen rendering) 2015-09-16 07:22:18 +10:00
amaitland e492c0d21e Fixes #1263
Pass in CefCustomScheme as command line argument, as they're registered correctly in all processes
2015-09-15 15:15:26 +10:00
amaitland 19afbfe167 Add BrowserSettings.WindowlessFrameRate
Add IBrowserHost.WindowlessFrameRate
2015-09-10 15:14:37 +10:00
amaitland d4dd2bfeaf Revert "Do not self-dispose CefCallbackWrapper" Reverts commit 86c72ea1eb.
No longer keep reference to the callback wrapper in ResourceHandlerWrapper, will be disposed like all the other callbacks

Changes are still related to GitHub issue #1143
2015-09-09 09:09:51 +10:00
jankurianski 86c72ea1eb Do not self-dispose CefCallbackWrapper
Because ResourceHandlerWrapper already takes care of this.  Fixes
AccessViolationException noted in #1143
2015-09-04 14:17:10 +10:00
amaitland 63157b8e1b Add IDisplayHandler.OnFullscreenModeChange
No sample implementation as yet
2015-09-04 12:21:09 +10:00
amaitland 2a49686541 Fix some version number mistakes 2015-09-01 22:32:28 +10:00
amaitland d6e2c3233e Untabify 2015-09-01 22:15:06 +10:00
amaitland fd6e93e75c Upgrade tools version to VS2013 2015-09-01 22:14:00 +10:00
amaitland 24a423bfc7 Fixed VS2015 build errors - had to prefix array<> with cli namespace as compiler was reporting ambiguous reference (VS2013 was fine with the code)
Basic VS2015 build should now be working
2015-09-01 22:09:47 +10:00