Commit Graph

2231 Commits

Author SHA1 Message Date
amaitland 1238392642 Allow for custom rendering in OffScreen project
- Add BitmapFactory property
- Expose InvokeRenderAsync as virtual
2015-10-15 21:45:07 +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 efb841fdca Add CefSharpSettings.ShutdownOnExit - all the user to disable the inbuilt call to Cef.Shutdown
(Also needs to set shutdownOnProcessExit:false when calling Cef.Initialize, or the ParentProcessExitHandler will be called to Shutdown Cef)
2015-10-08 22:37:14 +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
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 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 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 10ebd0d8cd Remove unused MethodInvocation constructor 2015-09-24 19:56:01 +10:00
amaitland c4f99dad7f Add rough GetGeolocationAsync implementation
Not tested yet
2015-09-22 12:47:03 +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 5b7ed651a3 removed unnecessary dependency 2015-09-19 13:02:06 +02:00
David Serfozo ebd4cb26ab added PrintToPdf extension methods 2015-09-19 12:26:26 +02:00
David Serfozo e6338ce7e6 added printtopdf to browserhost interface 2015-09-19 10:53:46 +02:00
amaitland 1a3583aca8 Add some basic doco to ICompletionCallback 2015-09-18 17:21:30 +10: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 00b782e993 A very quick attempt to improve some of the Interface documentation before the official 43.0.0 release 2015-09-18 17:21:30 +10:00
amaitland 5b383526fa Add experimental keyword to newBrowser param on ILifeSpanHandler.OnBeforePopup 2015-09-18 17:21:30 +10:00
amaitland 190178e79e Only enable WCF if a bound object has been registered
Fixes #1272
2015-09-18 13:56:43 +10:00
amaitland 3fac742403 Demo Post data for #1267 2015-09-16 16:01:48 +10:00
amaitland 6939b3e0d5 Add cef_extensions.pak as a dependency
Remove ffmpeg as it's now statically linked see https://codereview.chromium.org/1141703002
2015-09-16 13:53:12 +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
illfang aad399ba5f detailed exception string generation for exceptions in injected native functions / properties 2015-09-08 10:49:33 +09:00
cefsharp-ms 38fe85cf71 TargetInvocationException is converted properly in JavascriptObjectRepository.TryCallMethod 2015-09-04 13:31:23 +02:00
amaitland 63157b8e1b Add IDisplayHandler.OnFullscreenModeChange
No sample implementation as yet
2015-09-04 12:21:09 +10:00
Alex Maitland 12a5c89de8 Merge pull request #1243 from amaitland/cefsharp/45
Update to 2454
2015-09-03 20:40:42 +10:00
amaitland 45e5da8d7b Remove obsolete methods 2015-09-01 22:49:17 +10:00
amaitland 6e49e11af2 Update string version numbers to 45 2015-09-01 22:07:44 +10:00
amaitland 6e67ef9446 IFrame.EvaluateScriptAsync default timeout to null (default value on interface)
Change String to string for consistency
2015-09-01 19:16:32 +10:00
amaitland ac269e860c Add more IsDispoed properties 2015-08-31 14:41:47 +10:00
amaitland 330e6b38b0 Add IsDisposed property to interface objects
Fixes #1223
2015-08-31 13:32:48 +10:00
amaitland fc4307629b Improve IMenuModel xml documentation
Add NotFound to CefMenuCommand
Strongly type some more of the params for IMenuModel
2015-08-31 12:12:56 +10:00
amaitland fa7728b0d0 Strongly type commandId
Add example of using custom menu id numbers
2015-08-31 11:36:49 +10:00
amaitland 5ec43558c7 Merge branch 'master' of https://github.com/zkovacs1/CefSharp 2015-08-31 11:25:47 +10:00
zkovacs1 0c4dd367eb Exposing menu commands enum from Cef 2015-08-28 00:24:08 +03:00
amaitland 36bf1c5c58 Refactor GetScreenInfo - add GetViewRect method so closer match cefclient example
Add note about GetViewRect
2015-08-26 20:13:07 +10:00
amaitland 73e01e09e6 Merge branch 'features/HighDpiAgain' of https://github.com/bjarteskogoy/CefSharp 2015-08-26 15:18:29 +10:00
zkovacs1 43eb12e9c2 Some code beautifying 2015-08-25 04:32:54 +03:00
zkovacs1 cb3455f14f Exposing more methods in IMenuModel to facilitate context menu customizations 2015-08-25 03:28:30 +03:00
mmamone cb96ce1437 Implement start drag for WPF browser
Exposed the necessary functions for start drag to work:
* StartDragging (RenderClientAdapter)
* OnDragSourceEndedAt (ManagedCefBrowserAdapter)
* OnDragSourceSystemDragEnded (ManagedCefBrowserAdapter)

Implemented IRenderWebBrowser.StartDragging for the WPF
ChromiumWebBrowser.

TODO: Would like to add an adorner layer for the dragged text (using the
supplied fragment html), but feels like a project for later.
2015-08-19 13:03:18 +10:00
Bjarte Skogøy 4bbd9e7b09 A start. Need to test popups and test on high dpi screen. 2015-08-18 14:17:20 +02:00