Commit Graph

708 Commits

Author SHA1 Message Date
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
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 cb238ba001 WpfBrowserProcessHandler - Simplify even further, when delay <= 0 in OnScheduleMessagePumpWork fire immediately otherwise wait for the timer to execute (will only be a matter of ms difference between when it's called hopefully
Can successfully open a few tabs and run the FishGl test
2016-09-08 09:33:45 +10:00
amaitland 8a3685d320 Add WpfBrowserProcessHandler example implementation - not ready for production use.
Better integration with message loop does appear to have some benefits with context menus etc
2016-09-07 13:54:28 +10:00
amaitland 3084e3b4b3 Upgrade versions to 53.0.0 2016-09-07 13:35:32 +10:00
amaitland 7f8cb2e580 Upgrade to 3.2785.1474 (First stable Chromium 53 release) 2016-09-05 09:34:50 +10:00
amaitland 9fbde82ef0 Experimental implementation of IBrowserProcessHandler.OnScheduleMessagePumpWork
NOT READY FOR PRODUCTION USE
2016-09-01 16:51:20 +10:00
amaitland cb53751729 Add ZoomIn, ZoomRest command to WPF Example 2016-08-31 09:16:33 +10:00
amaitland c2bf9fb314 WPF - Custom context menu not working, revert to using the built in context menu (which didn't work previously, one thing fixed, another broken)
At some point this will need to be reported upstream
2016-08-28 08:55:33 +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
campersau 4a639128b2 Fix hadle -> handle in comment (#1776) 2016-08-20 21:51:36 +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
amaitland 4a9bc29971 Update the GelocationHandler example - seems people are still struggling with the callback concept. 2016-07-31 19:00:48 +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 c8177da0b6 Upgrade to 3.2743.1441
Add TransitionType to FrameLoadStartEventArgs
2016-07-16 21:24:00 +10:00
amaitland e48d0f7bd6 Set per monitor DPI aware attribute in app.manifest
Resolves #1720
2016-07-13 09:12:55 +10:00
amaitland 6f6ecd3090 Add TooltipTestUrl to WPF Example menu 2016-06-29 12:05:19 +10:00
amaitland 84dc406c7f Upgrade to 3.2704.1432 2016-06-20 11:12:27 +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 ae8e9314a4 Upgrade to 3.2704.1418
Remove $(SolutionDir) and revert to relative path (Nuget keeps changing it when we upgrade and it's annoying to manually edit those files for something that's
not required for the core project to work)o
2016-06-06 20:33:48 +10:00
amaitland 28f6abd508 Update to 51.0.0 2016-05-30 07:59:51 +10:00
amaitland 33006a030a Update to CEF 3.2704.1415 2016-05-30 07:52:05 +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 d1d754cf58 Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland 87dcecd749 Upgrade to 3.2623.1401 2016-05-16 21:12:52 +10:00
amaitland 54f7fccdaa Upgrade to .Net 4.5.2
Resolve #1572
2016-05-10 20:28:21 +10:00
amaitland ad71cf547f Add ShowDevtools menu item to WPF example 2016-04-19 14:52:52 +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 e5a6c6c32c Upgrade to 3.2623.1396 2016-04-04 07:57:25 +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 cad16c40e4 CEF API Changes for 2623 upgrade
Update IGeolocationHandler.OnCancelGeolocationPermission - remove requestUrl
2016-03-18 08:47:24 +10:00
amaitland 57a6ac84d6 Upgrade to 2623.1395 2016-03-18 08:47:23 +10:00
amaitland dd7ea823a3 Add PopupFeatures and BrowserSettings to OnBeforePopup
Update WinForms popup example - comment out experimental feature

Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)

Resolves #1586
2016-03-07 18:58:56 +10:00
amaitland 7df38978c5 Disable touch scrolling implementation as it doesn't work correctly 2016-02-29 12:13:29 +10:00
amaitland be593403b2 Upgrade version numbers to 49.0.0 - less confusion when downloading the packages from MyGet
Obviously the Chromium version hasn't been updated as yet, still waiting on cefbuilds.com to output the relevant packages.
2016-02-26 14:39:32 +10:00
amaitland 2aa5603dfb Add WPF SimpleMainWindow - bare minimum example 2016-02-25 08:18:57 +10:00
amaitland b89377e630 WPF Custom context menu - let CEF know when the menu has been closed 2016-02-12 11:55:11 +10:00
amaitland f238b2bf50 Add Filter test url to WPF Example 2016-02-11 11:33:44 +10:00
amaitland 84f7c5dc62 WPF - Hack together a slightly more complete context menu example 2016-02-10 09:57:41 +10:00
amaitland b220db31a0 Re-add the dpiAware attribute to the WinForms Example (no harm having it)
Add a list of supported applications including Windows 10
2016-01-12 18:21:06 +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 b18e74be1e Upgrade to 3.2526.1362 (Chromium 47.0.2526.80) 2015-12-17 11:47:35 +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