Commit Graph

331 Commits

Author SHA1 Message Date
amaitland 4903f12341 Upgrade to 3.2785.1478 2016-09-15 10:45:58 +10:00
amaitland 289fbf244a Update WinFormsBrowserProcessHandler to use the simplest possible approach - NOT PRODUCTION READY 2016-09-09 13:21:48 +10:00
amaitland 3f70d10538 Only hook into the Chromium message loop if we're using multiThreadedMessageLoop - no need if they're running in the same thread 2016-09-08 08:53: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 31b1dd97eb Winforms example - delay creation of the tab required for previous commit 2016-09-01 16:52:52 +10:00
amaitland 9fbde82ef0 Experimental implementation of IBrowserProcessHandler.OnScheduleMessagePumpWork
NOT READY FOR PRODUCTION USE
2016-09-01 16:51:20 +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 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 79f3844cab Follow up to #1764
- Call SetHandlersToNull() in a consistent fashion across all three implementations
- Reword comments slightly
2016-08-09 12:40:58 +10:00
Dan Backes 7108ae3f43 Fix LifeSpanHandler not Called During Dispose (#1764)
- Make it so that the lifespan handler is still called when the
  ChromiumWebBrowser is disposed We need to make sure that the
  LifeSpanHandler is still around when `managedCefBrowserAdapter`
  is disposed since it is going to call `CloseBrowser`. That way,
  we can implement LifeSpanHandler and reject closing the entire
  application as described in #1574
2016-08-09 12:32:41 +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 2c4f577820 Add experimental note about hosting devtools as a tab 2016-07-04 08:18:44 +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 04885eb6d5 Add webkit.webprefs.minimum_font_size example, see that preferences are being set correctly 2016-06-13 19:07:26 +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 a94bbdd593 Demo loading a base64 data encoded url 2016-05-28 07:24:14 +10:00
amaitland 7524a71332 Change task Status check - was a mistake before, wasn't checking for success, just that it finished. 2016-05-24 19:09:56 +10:00
amaitland 885e0d685f Forgot to comment out the experimental window hosting 2016-05-19 17:56:10 +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 1a0c08afa0 Add another experimental ILifeSpanHandler.OnBeforePopup option 2016-05-04 23:34:33 +10:00
amaitland 6644fd7208 Update KeyboardHandler to ignore left, right, up, down as they were being cancelled
Some resharper inspired cleanup as well
2016-04-21 07:03:19 +10:00
amaitland b78e166340 Example below shows how to use a control to host DevTools (in this case it's added as a new TabPage) 2016-04-20 22:25:25 +10:00
amaitland 509ab98b05 Add example of disable spell checking through preferences 2016-04-20 07:45:54 +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 ca074ab4f2 Add PrintToPdf example to WinForms example project 2016-04-12 12:39:38 +10:00
amaitland 38254a59d5 Rewrite ChromeWidgetHandleFinder to use a GCHandle - much cleaner method of interfacing with dllimport 2016-04-11 07:52:10 +10:00
amaitland e5a6c6c32c Upgrade to 3.2623.1396 2016-04-04 07:57:25 +10:00
amaitland 7f1f1c5f21 Add example IDisplayHandler.OnFullscreenModeChange to WinForms example - reparent ChromiumWebBrowser control to demo switching to fullscreen, little bit of screen resize which isn't perfect, it works ok though. 2016-03-30 10:58:05 +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 c4f6a4538e Running without multithreadedmessageloop would have shown the messagebox when mouse down 2016-03-02 08:32:55 +10:00
amaitland 919c43df19 Demo forwarding left mouse button down - show message box on click, currently commented out 2016-03-02 07:50:54 +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 8de2257e27 Remove some unused code from the WinForms example 2016-02-25 08:23:10 +10:00
amaitland 8a93ba6564 Demo setting and then getting a reference - using enable_do_not_track an example 2016-02-02 07:35:38 +10:00
amaitland 072ca4cc97 Add IResourceHandlerFactory and IResourceHandler example - downloads a specific swf file using the .Net WebRequest class and returns the response 2016-01-18 18:32:44 +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
amaitland 36b0b95d55 Remove dpiAware tag from app.manifest for both WinForms example and BrowserSubProcess
Use new CefEnableHighDPISupport method for on all processes
2016-01-06 11:50:18 +10:00
amaitland af05e56c12 Reformat inline js (use @ notation so much of the string encapsulation can be removed)
Make ScriptedMethods class static and convert the methods into extension methods (really just for the hell of it)
Make some of the comments a little less verbose in terms of number of lines
Some Resharper inspired simplifications
Other code reformatting to make consistent with other parts of the project (switch case statements should have braces, ContinueWith blocks reformatted to match others)
Untabify ScriptedMethodsTest.html
Remove unused usings from ScriptedMethods
Add a few comments about camelCaseJavascriptNames
2015-12-30 09:57:34 +10:00
amaitland 3008241de9 Merge branch 'example-script' of https://github.com/rlmcneary2/CefSharp 2015-12-30 09:24:43 +10:00