Commit Graph

1156 Commits

Author SHA1 Message Date
amaitland 8a9b0deb60 Upgrade to 3.2883.1552
Add isMainFrame to IRequestContextHandler.OnBeforePluginLoad (CEF API changed)
2017-02-01 13:58:51 +10:00
amaitland 64c6f4410a Update GetScreenPoint - still not ready for use as there has been limited testing 2017-01-30 09:39:11 +10:00
Alex Maitland 08d6fa902b GetScreenPoint changes not ready
Comment out code
2017-01-28 12:46:31 +10:00
amaitland c06a6bbc58 Add NativeMethodWrapper::SetWindowPosition helper method - code is duplicated and should be revisited later 2017-01-23 16:49:14 +10:00
amaitland d4ef1519b9 Add IRenderWebBrowser.GetScreenPoint - basic WPF implementation 2017-01-18 07:26:05 +10:00
amaitland 454be3cfa8 Add Crashreport functions
https://bitbucket.org/chromiumembedded/cef/src/6e0baff75ceeb3e079b1dda4099d81573334d741/include/cef_crash_util.h?at=2883&fileviewer=file-view-default
2017-01-16 11:30:37 +10:00
amaitland 8166a34c88 Upgrade to 3.2883.1545 2017-01-16 11:19:27 +10:00
amaitland db238f0838 Upgrade to 3.2883.1542 2017-01-12 13:09:35 +10:00
amaitland 2415529519 Add calls to CefDoMessageLoopWork before CefShutdown is called when settings.MultiThreadedMessageLoop = false 2017-01-06 14:08:55 +10:00
amaitland 264b42d35b Cef.Shutdown add double check lock - shouldn't be possible as it should always be run on the UI thread. Since we have the lock, best to double check
Add ManagedThreadId checking to Initialize/Shutdown - make sure they're called on the same thread.
2017-01-06 13:22:40 +10:00
amaitland 94820149ae Add IBrowserAdapter.Resize 2017-01-06 10:00:24 +10:00
amaitland fdd08896d7 Expose the IME methods/callback added with https://bitbucket.org/chromiumembedded/cef/commits/f7014be
It should now be possible for someone to implement IME support in the WPF control to resolve #1262
2016-12-14 07:32:03 +10:00
amaitland b7f7cc4dc6 Minor formatting changes to CefCertificateCallbackWrapper
Update WinFormsRequestHandler so the X509Certificate2UI.SelectFromCollection is made on the UI thread and
Follow up to #1878
2016-12-13 10:20:25 +10:00
Smaran Harihar fa41529853 Add IRequestHandler.OnSelectClientCertificate (#1878)
* wip create hooks for onSelectClientCertificate

* create interface and wrapper for callback

* get certificate from CefCertificateList, convert to X509Certificate2, add them to X509CertificateCollection and return this to ClientAdapter

* code review changes. Certificate selection in wrapper requires recreation of certificate in iteration

* added certificate dialog selection to WinFormsRequestHandler. Used VS untabify to remove all the tabs and replaced it with spaces

* missed updating a summary on ISelectClientCertificateCallback

* code review changes
2016-12-13 09:48:15 +10:00
amaitland d30e01fa1d Add ability to retrieve Ssl status from NavigationEntry
Needs to be revised as NavigationEntry and SslStatus are both structs and they should probably be wrappers
2016-12-12 06:34:33 +10:00
amaitland 6d568c7d09 Update CefSslInfoWrapper implementation and ClientAdapter::OnCertificateError so that it's now passed in as the param
(Possible to see the invalid certificate when there is an error)
2016-12-12 06:00:07 +10:00
Philip Beber b47731de5e Added DownloadItem .OriginalUrl (#1877)
* Added "OriginalUrl" property to DownloadItem which wraps "GetOriginalUrl" in CEF.

Added a sidebar to the example app which shows the DownloadItems as received by CefSharp.Core/Internals/TypeConversion.h

Added a View menu for hiding/showing the regular sidebar and the new download info sidebar.

* Pull request feedback
2016-12-04 22:26:49 +10:00
amaitland 490a5bee15 WCF communication was broken as channel argument which we previously parsed to get the parent process Id was removed in https://bitbucket.org/chromiumembedded/cef/issues/1912/notreached-in-logchannelidandcookiestores
Simply append our own command line argument with the process Id.
2016-12-02 06:44:23 +10:00
amaitland f2050a0861 Add scriptUrl and startLine to EvaluateScriptAsync 2016-12-02 06:10:40 +10:00
amaitland 87bec41ec2 Check for valid script name in StringUtils::CreateExceptionString as passing in CefString() to Eval when there is an exception will crash the render process 2016-12-01 23:11:14 +10:00
amaitland 80d6a023df Upgrade to 3.2883.1539 2016-12-01 22:56:06 +10:00
amaitland abd1ad32d8 ILifeSpanHandler.OnBeforeClose the IBrowser wrapper was already disposed, so for now just create a new wrapper and dispose of it immediately after the call 2016-10-24 12:14:07 +10:00
amaitland 1ccb55e9e0 Add IBrowserHost::GetVisibleNavigationEntry - step one in implementing #1793 2016-10-20 19:15:05 +10:00
amaitland cce8cd825d Upgrade to 3.2840.1493 (Chromium 54.0.2840.59)
Add IResponse to IRequestHandler::OnResourceRedirect
2016-10-19 08:17:50 +10:00
amaitland 5f1adc695b Move CookieManager to CefSharp.Core folder 2016-10-18 22:53:34 +10:00
amaitland e17b3383c0 Make CookieManager public and move into CefSharp.Core namespace 2016-10-18 22:47:14 +10:00
amaitland b8d2a755a7 Improve xml doc around Cef.Shutdown and Cef.Initialize 2016-10-14 14:47:14 +10:00
amaitland e59026dba2 Upgrade to 3.2785.1482 2016-10-04 13:55:05 +10:00
amaitland 5172a7740d Add DisableGpuAcceleration to CefSettings 2016-09-29 10:53:51 +10:00
amaitland 6ed54d3ad5 Update cherry picked commits to reflect IRequestContextHandler (replaced IPluginHandler) 2016-09-26 09:08:42 +10:00
amaitland 3066b19f84 Add RequestContext::CreateContext static method to create a context that shares the storage with an existing 2016-09-26 09:06:29 +10:00
amaitland fb1c70a44c Rename IPluginHandler to IRequestContextHandler
Add IRequestContextHandler.GetCookieManager() - Can now have unique CookieManager for each RequestContext
**Breaking Change**
CookieManager should be moved from the CefSharp.Internals namespace - will do that at some point later hopefully
2016-09-25 20:35:04 +10:00
amaitland 895932d05e Remove EnableInternalPdfViewerOffScreen() as disable-surfaces has been removed from Chromium.
This leaves the original https://bitbucket.org/chromiumembedded/cef/issues/1689 issue as being a problem, for now just disable GPU acceleration

Conversation about disable surfaces is http://magpcss.org/ceforum/viewtopic.php?f=6&t=14520&p=32346#p32345
2016-09-23 09:16:05 +10:00
amaitland a39ef00ac5 Upgrade to 3.2785.1480 2016-09-23 09:16:04 +10:00
amaitland 4903f12341 Upgrade to 3.2785.1478 2016-09-15 10:45:58 +10:00
amaitland 98f1dedd16 Expose CefRunMessageLoop and CefQuitMessageLoop - It may be possible to run the CEF message loop and then load the WinForms Form on the same thread. 2016-09-08 15:54:08 +10:00
amaitland 7f8cb2e580 Upgrade to 3.2785.1474 (First stable Chromium 53 release) 2016-09-05 09:34:50 +10:00
justin-caldicott 8f02008c58 Fix NRE when returning null from a scheme handler factory (#1792)
Regression in 49.0 release.  Prevented use of default CEF handler when
using a custom scheme handler.
2016-09-02 06:45:51 +10:00
amaitland e7a5c0c3dd IBrowserProcessHandler now implements IDisposable 2016-09-01 14:33:18 +10:00
amaitland 2f4e613f9a Add missing OnScheduleMessagePumpWork method to CefSharpApp 2016-09-01 11:44:40 +10:00
amaitland 4494c8ebb6 Upgrade to 3.2785.1466 - unstable version of Chromium, not recommended for production 2016-08-28 08:49:34 +10:00
amaitland d28fc1337d Resolve #1780 2016-08-26 19:44:51 +10:00
amaitland 8bf6061df6 Upgrade to 3.2743.1447 (upgrading for testing purposes only, 53.0.0 will be based on 2785) 2016-08-20 08:16:58 +10:00
Alex Maitland d4feffb554 Feature - Add IBinder (#1749)
* Add basic ModelBinding which was imported from NancyFx framework - more can be stripped out that's unused

* Add IBinder as a param when registering an object for binding
Binding is disabled by default

* Add license and remove unused using statements

* Make bind method virtual to allow for overriding
Make methods protected

* Add very basic collection support - only primitive types supported for now.
Remove unused exceptions

* Support binding a list of sub objects

* Add null check for null params

* Add BindingOptions class - remove binder and CamelCaseJavascriptNames properties - allow for additional options in the future
Breaking change.

* Add support for List<object> binding type
2016-07-20 13:38:24 +10:00
amaitland 63ef6beb5f Refactor OnContextInitialized out as part of IBrowserProcessHandler interface
Add OnScheduleMessagePumpWork for use with integrating into existing message loop - probably better for WinForms integration, will look at providing an example later
2016-07-20 13:08:47 +10:00
amaitland c8177da0b6 Upgrade to 3.2743.1441
Add TransitionType to FrameLoadStartEventArgs
2016-07-16 21:24:00 +10:00
amaitland c1eecdc709 Add IBrowserHost.HasDevTools 2016-07-15 07:31:33 +10:00
amaitland 2d062a4a1e Add IWindowInfo.ExStyle 2016-07-01 11:30:30 +10:00
Dimas Mohammad 925f36cdfc Adding List type conversion (#1719)
* Adding List type conversion
2016-06-23 14:50:13 +10:00
amaitland 84dc406c7f Upgrade to 3.2704.1432 2016-06-20 11:12:27 +10:00