1582 Commits

Author SHA1 Message Date
amaitland 2ded106d59 Upgrade to 3.2883.1552
Add isMainFrame to IRequestContextHandler.OnBeforePluginLoad (CEF API changed)
2017-02-01 14:01:52 +10:00
amaitland 92a2a610e7 IGeolocationHandler.OnRequestGeolocationPermission - improve comment
GeolocationHandler Example - upgrade to properly use the callback.
2017-02-01 14:01:51 +10:00
amaitland 11fd871547 Add chrome_elf.dll to DependencyChecker (crashpad support) 2017-01-09 14:13:13 +10:00
Chris 08bc409047 Added a missing space and made two letters lowercase (#1909) 2017-01-07 07:23:41 +10:00
amaitland 43f2a3faba WinForms LifeSpanHandler - Check browser.IsDisposed (should only happen when disposing)
Update ILifeSpanHandler.DoClose comment
2017-01-06 13:08:39 +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
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
amaitland 9df1bc132c Add RegisterResourceHandler and UnRegisterResourceHandler to simplify using the DefaultResourceHandlerFactory 2016-12-08 22:14:09 +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
GrabzIt 1f18ba9c6e Minor Typo (#1854) 2016-11-09 08:07:45 +10:00
amaitland 1c0fb61932 Change WCF timeout from 10 seconds to 2 seconds 2016-10-24 10:43:01 +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 662ef561b5 ILifeSpanHandler.OnBeforePopup - Add comment about setting newBrowser to null 2016-10-12 12:43:11 +10:00
amaitland b30d615c6d Update to 55 version number - don't get too excited we're still 2-3 months away 2016-09-25 20:42:45 +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
Kevin Driedger 11dee93bf3 Fix spelling error (#1) (#1797) 2016-09-13 16:57:02 -05:00
amaitland e7a5c0c3dd IBrowserProcessHandler now implements IDisposable 2016-09-01 14:33:18 +10:00
amaitland 96742a1ed3 Update build version to 53.0.0 2016-08-28 20:28:18 +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 20503f2289 Upgrade dev build version to 52.0.0 2016-07-18 09:21:49 +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
PrinceOfEgypt 652a09bf6a Add overloads for EvaluateScriptAsync to support methodName and args (#1738)
* Add overloads for EvaluateScriptAsync to support passing in methodName and args

* Fixing typo (teh => the)
2016-07-13 09:11:32 +10:00
amaitland 6a52dad66e DynamicDictionary Add implicit conversions back to Dictionary 2016-07-06 11:06:40 +10:00
chylex 2532c80971 Fix bool, number culture, and string escaping in ExecuteScriptAsync with parameters (#1731) 2016-07-05 11:23:01 +10:00
amaitland b9084796d4 Add basic DynamicDictionary for use with JS binding 2016-07-05 11:20:16 +10:00
amaitland 2d062a4a1e Add IWindowInfo.ExStyle 2016-07-01 11:30:30 +10:00
amaitland ca2085ef05 Add FolderSchemeHandlerFactory - maps request urls to files on disk within a specified folder.
Resolve #1717
2016-06-22 12:23:50 +10:00
amaitland 153296df63 Add ErrorCode to ResourceHandler - can now set the IResponse.ErrorCode without having to manually implement IResourceHandler 2016-06-22 11:52:15 +10:00
amaitland c5a15b709d Remove CefLoader class - it's not possible to call this class using the AnyCPU method as it's not loaded in time to be useful 2016-06-20 13:10:17 +10:00
amaitland 60a1e615fc Upgrade to 3.2704.1429 - Required for following changes as cef.redist targets files have changed
Update CefSharp.Common.targets so it copies the cef.redist packages
Add support for Win32 target (obviously uses x86 files)
Update CefSharp.Native.props to copy the files also for local builds
Add AnyCPU target
Add CefLoader helper class for AssemblyResolver
2016-06-17 10:35:12 +10:00
amaitland 04d2a8ede8 Add ResourceHandler.FromFilePath method that takes in a MimeType
Make ResourceHandler.FromFileName obsolete
2016-06-16 15:16:30 +10:00
amaitland 6ac19aaf50 Remove IsWindowsXp from DependencyChecker 2016-06-16 08:01:15 +10:00
amaitland 933bad3dcc Add a more detailed description of what thread events are executed on
Should be enough to generate some meaningful API docs now
2016-06-15 14:14:39 +10:00
amaitland 56eda64d8a Improve IKeyboardHandler doc 2016-06-15 13:58:36 +10:00
amaitland afe758eb51 Use GhostDoc to generate bulk xml documentation - it's not perfect at least a lot of the interface doco has been copied into the
ChromiumWebBrowser instance classes
2016-06-15 13:44:16 +10:00
amaitland 101b473f51 CefLibraryHandle.IsInvalid was correct in the first place - revert back 2016-06-13 20:12:52 +10:00
amaitland 9c055dcbf6 CefLibraryHandle - Fix IsInvalid 2016-06-13 19:55:52 +10:00
amaitland 3568629535 Remove Cef.LoadLibCefLibrary - needs to be called before the managed wrapper is loaded
Added CefLibraryHandle - uses P/Invoke to call LoadLibraryEx
2016-06-13 09:27:21 +10:00
amaitland 40f00d2ce8 Implement IBrowserHost.GetNavigationEntries
Added TaskNavigationEntryVisitor - currently there is no async method exposed on IBrowserHost (be nice if someone else contributed a PR that implemented this).
Resolve #1503
2016-06-07 12:32:34 +10:00
amaitland 2d72e1f07c Add more xml doc 2016-06-06 15:11:03 +10:00
amaitland 9d5abddc9a Fix typos 2016-06-01 16:30:34 +10:00
amaitland e97fe18165 ResourceHandler - Add AutoDisposeStream (Stream will be disposed when the ResourceHandler is Disposed) 2016-06-01 15:09:58 +10:00