Commit Graph

157 Commits

Author SHA1 Message Date
João Neves 402b2b9980 Add BindingOptions.MethodInterceptor (#2015)
* Added managed methods interception mechanism
* Introduced requested changes (improved comments and namming)
2017-06-01 10:58:43 +10:00
Chris 2b7bdf863f Updated OnTooltipChanged to allow for modifying text (#1953)
* Updated OnTooltipChanged to allow for modifying text

* Updated examples
2017-05-15 02:52:02 +02:00
amaitland 04ff93817e Add https://pixabay.com/en/beach-pacific-coastline-ocean-coast-2089936/ to CefSharp.Example as embedded resource - test loading of image using browser.RegisterResourceHandler 2017-03-06 08:57:11 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +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 6ed54d3ad5 Update cherry picked commits to reflect IRequestContextHandler (replaced IPluginHandler) 2016-09-26 09:08:42 +10:00
amaitland 2b419cd29f Add example of setting preference on RequestContext you just created 2016-09-26 09:06:29 +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 4a8b7c559a Re-enable the WPF LifespanHandler just comment the code out - add experimental note 2016-05-27 12:04:06 +10:00
amaitland 165cc1f88a Add a more complex example of using a non draggable region within a draggable one
Switched to using System.Drawing.Region for proper region handle
2016-04-13 11:35:40 +10:00
amaitland 4c4eb210f4 Add WPF Draggable Regions Test
Remove old generic DragHandler - maybe someone will write a WinForms specific one?
Remove some unused references from CefSharp.csproj
2016-04-12 16:57:47 +10:00
amaitland c3f3331148 Add InMemorySchemeAndResourceHandlerFactory to demo how easy it is to implement a IResourceHandlerFactory/ISchemeHandlerFactory
Both implementations are included in the single file so it's easy to compare the two, the implementation is almost identical for the method body.
2016-03-29 13:04:06 +10:00
amaitland 7df38978c5 Disable touch scrolling implementation as it doesn't work correctly 2016-02-29 12:13:29 +10:00
amaitland 84f7c5dc62 WPF - Hack together a slightly more complete context menu example 2016-02-10 09:57:41 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
Alex Maitland db1b23f7b2 Merge pull request #1540 from amaitland/enhancement/bitmapscalingbinding
Add BitmapScalingMode binding and demo
2016-01-11 11:15:28 +10:00
amaitland 31891e5de3 Touch scroll basics working (only tested on one device - Surface Pro)
As the code is not well tested and I'd like to merge into the next release I'm disabling this by default
IsManipulationEnabled = true can manually be set on the ChromiumWebBrowser instance to enable.
Enabled by default in the WPF Example
2016-01-05 21:47:41 +10:00
amaitland 5ebed6d26f Build complete BitmapScalingMode enum list using ObjectDataProvider 2015-12-28 21:56:42 +10:00
gayak 1f6dc69dee Add BitmapScalingMode demo.
Add BitmapScalingMode binding.
2015-12-28 21:33:14 +10:00
amaitland d33c41ec5d Remove unused include
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
Rich McNeary 7d4e074ef4 Move OnFocusedNodeChanged into new IRenderProcessMessageHandler. 2015-12-08 09:32:54 -05:00
amaitland cf9f9a1461 Comment out RequestContext from WPF example - it's not required.
Add a comment about OnBeforePluginLoad
2015-10-13 13:00:49 +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 190178e79e Only enable WCF if a bound object has been registered
Fixes #1272
2015-09-18 13:56:43 +10:00
amaitland 5958763c9c Problems with custom popups so commenting out the example LifeSpanHandler 2015-09-16 16:19:22 +10:00
amaitland acee61066c Remove old commented out code 2015-09-01 22:07:44 +10:00
amaitland 9b5cb27fb0 Add DevTools commands to WPF Example 2015-08-30 19:22:17 +10:00
amaitland c7c90581da Remove IME workaround and add comment 2015-08-27 07:34:09 +10:00
amaitland 7588f8c24f Set type param to Char for IME WPF example of PreviewTextInput 2015-08-06 21:36:57 +10:00
amaitland 58d03f6b47 Looks like I broke the WPF example - commenting out IME fix for now - will need to see what happened when mapping it to the browser host SendKeyEvent method 2015-08-06 21:03:12 +10:00
cefsharp-ms 0b300d5dda Merged master 2015-07-31 17:41:00 +02:00
cefsharp-ms f74b245e9b added examples for async bindings 2015-07-31 17:17:48 +02:00
amaitland 9a0d7688a0 Merge branch 'cef/2272' 2015-07-28 17:17:12 +10:00
amaitland a8e038ac6d Simplify LifespanHandler 2015-07-28 16:05:09 +10:00
amaitland f90ee3ea9c Remove the WPF SendKeyEvent and use the IBrowser.SendKeyEvent function instead 2015-07-27 13:32:34 +10:00
cefsharp-ms 0e073bcd0a added message to transmit async bound jsrootobject to render process 2015-07-23 15:10:52 +02:00
amaitland 819dfd54f9 Move WcfEnabled option into CefSharpSettings class
Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions
2015-06-29 13:20:47 +10:00
David Serfozo b1c7a2b791 CefWcfRenderProcess removed;;examples updated;;added exceptions 2015-06-24 21:38:51 +02:00
amaitland ce70ea25e4 Import basic error handling code from cefclient example (only added to WPF example for now) 2015-06-05 12:30:30 +10:00
jamespearce2006 e20fad9081 Simplify XAML example 2015-05-08 11:14:29 +01:00
jamespearce2006 9422537738 Windowless Popup work 2015-05-07 21:55:17 +01:00
jamespearce2006 8213471364 Testing changes to OnPopup 2015-05-05 17:31:46 +01:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
ralphmayr 7eafe6211c Fixed #583: Handle IME input in the WPF example
Reverted changes from 77b433bb69 and
instead exposed SendKeyEvent in the ChromiumWebBrowser to be able to
move the handler for OnPreviewTextInput to the WPF example.
2015-04-10 06:57:16 +02:00
amaitland 38e60a97f3 Merge branch 'feature/2171-drag-drop' of https://github.com/Bodekaer/CefSharp into enhancement/focus-take4 2015-02-03 22:54:46 +10:00
amaitland 0efce4e836 Add DownloadHandler to both WinForms and Wpf examples 2015-01-30 15:02:01 +10:00
pushplay aba800a9c3 Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests. 2015-01-26 14:16:46 -08:00
Bodekaer 3407a91d1d Added drag-drop support, to allow dragging files, text and links into the browser (WPF-only currently) 2015-01-07 16:10:56 +01:00
amaitland e355484853 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-18 22:25:28 +10:00
jornh cdae40c09c Fix commented out example code s/WebView/ChromiumWebBrowser/ 2014-12-18 00:38:13 +01:00