Commit Graph

1411 Commits

Author SHA1 Message Date
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
amaitland 5901cb60b0 Remove StreamAdapter - no longer used 2015-09-01 22:07:55 +10:00
amaitland c9f9fdb26a Add missing return 2015-09-01 22:07:44 +10:00
amaitland 0ce2562e1e Update to 2454.1317 2015-09-01 22:07:43 +10:00
amaitland 4a1b4aba18 Remove stray semi colon 2015-09-01 22:07:43 +10:00
amaitland de7f6e186e Remove lock from StreamAdapter (was only used one, so not required)
Remove lock from ResourceHandlerWrapper - seemed kinda pointless and the cef implementation doesn't have one.
https://bitbucket.org/chromiumembedded/cef/src/4a8546efd70700eed1e1f921e85293abf90d2691/libcef_dll/wrapper/cef_stream_resource_handler.cc?at=master#cef_stream_resource_handler.cc-140
2015-09-01 18:59:33 +10:00
Bjarte Skogøy c9d01fa298 Fix issue with disposed tasks in .Net 4.0. 2015-09-01 09:40:07 +02:00
amaitland a63f11e4ea Tweak ThrowIfDisposed to output the first interface of the object - should work for all current classes that inherit from CefWrapper 2015-09-01 15:42:39 +10:00
Jan Kurianski 511b99ae41 Merge pull request #1237 from NumbersInternational/build/enable-cefsharpcore-pdb
Generate CefSharp.Core.pdb file for Release builds
2015-09-01 12:20:24 +10:00
amaitland 72b1bcab49 Add CefWrapper object to abstract some of the boiler plate stuff like ThrowIfDisposed and IsDisposed
Fix up incorrect namespaces (move to Internals)
2015-09-01 12:10:42 +10:00
jankurianski 38268f463d Generate CefSharp.Core.pdb file for Release builds 2015-09-01 11:43:39 +10:00
amaitland 51b699ef56 Add hasparent check to OnAfterCreated when retrieving the popup instance 2015-08-31 14:54:30 +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
amaitland c3c68ebff2 Move the LifeSpanHandler.OnBeforeClose call higher in the execution order
Fixes #1228
2015-08-30 20:00:37 +10:00