Commit Graph

2317 Commits

Author SHA1 Message Date
amaitland 44eff69334 Simplify add/update of ResourceHandler 2014-12-09 16:07:35 +10:00
amaitland 534e8a87a1 Update LoadHtml xml comment 2014-12-09 15:26:48 +10:00
amaitland b104cd7b12 Fix bug where calling RegisterHandler with the same url twice would throw and exception
All user to specify Comparer for dictionary
2014-12-09 15:16:45 +10:00
amaitland e9a7708d05 Untabify 2014-12-09 12:59:52 +10:00
amaitland 5a869771e7 Update WinForms and WPF examples to represent the ResourceHandler changes 2014-12-09 12:50:37 +10:00
amaitland 695e797f92 Add license disclaimer 2014-12-09 12:41:29 +10:00
amaitland ba06c3d892 Change LoadHtml to register a ResourceHandler 2014-12-09 12:41:21 +10:00
amaitland 3e2511bb81 Add DefaultResourceHandler implementation 2014-12-09 12:37:21 +10:00
amaitland 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +10:00
Alex Maitland ded432c352 Merge pull request #673 from amaitland/feature/draghandler
Feature - CefDragHandler
2014-12-09 08:24:16 +10:00
amaitland 74f130d456 Add license disclaimer 2014-12-09 08:21:30 +10:00
amaitland 9d0f62f589 Code Cleanup - Add license disclaimer, fix file encoding and remove extra whitespace 2014-12-09 08:17:41 +10:00
amaitland 49cd9aa015 Code Cleanup - Reorder properties and fix whitespace 2014-12-08 22:22:57 +10:00
amaitland 2f85dbb460 Add CefDragData GetFileContents stub method (need to implement CefStreamWriter wrapper before this method can be implemented) 2014-12-08 22:20:10 +10:00
amaitland aff2a76dbe Implement CefDragData ResetFileContents 2014-12-08 22:15:16 +10:00
amaitland bca7086167 Implement CefDragData AddFile 2014-12-08 22:13:39 +10:00
amaitland 44fa848682 First attempt at implementing CefDragDataWrapper which provides a clr wrapper around CefDragData 2014-12-08 22:08:38 +10:00
amaitland e8583f6631 Cleanup ClientAdapter.cpp usings 2014-12-08 21:07:17 +10:00
amaitland 75afc17981 Cleanup - Remove old unused JavascriptBinding files (not used anymore) 2014-12-08 21:04:21 +10:00
amaitland b0affbf607 Cleanup - Remove CefSubprocessWrapper.h (old file that's not used anymore) 2014-12-08 21:02:37 +10:00
amaitland 6d91ca5fcf Use uint instead of Uint32 for consistency (even though they're exactly the same) 2014-12-08 20:55:23 +10:00
amaitland fc1dee29a0 Change DragOperationsMask to uint and make Every = UInt32.MaxValue 2014-12-08 20:55:23 +10:00
amaitland 3c5e26b8d9 Remove redundant handled variable 2014-12-08 20:55:23 +10:00
amaitland f94ccdf1bf Revert change to .gitignore 2014-12-08 20:55:23 +10:00
amaitland 159d2e71a9 Populate DragData and pass through to IDragHandler 2014-12-08 20:55:22 +10:00
amaitland df4bff8343 Rename DragData properties 2014-12-08 20:55:22 +10:00
amaitland de5c3db54d Rename DragOperationsMask enum values
Apply flags attribute and implement `Every` option
2014-12-08 20:55:22 +10:00
amaitland a3972986d8 Re-add params to IDragHandler
Re-add DragOperationsMask
2014-12-08 20:55:22 +10:00
daveaton 6b3a6ddef1 Added Drag Data Class Back
Need to figure out why DataClass is not accepted
2014-12-08 20:55:22 +10:00
daveaton b415ec99a3 Removed header not needed
It appears that I  did not need to include the cef_drag_handler.h file,
seems to work fine without it.
2014-12-08 20:55:22 +10:00
daveaton 9b99097f56 Removed Extra Values I could not get working. 2014-12-08 20:55:21 +10:00
daveaton 83602ace7d One small issue how to handle
Maybe I am over thinking it ... It probably should be handled like this.

http://www.eatoncode.com/shareit/2014-11-28_2031.png

but I still got an issue.
2014-12-08 20:55:21 +10:00
daveaton b0832243ad Testing Use ability
Completed DragData.cs and DragOperationsMask.cs

When you return true from OnDragEnter I was expecting to cancel all
requests  But if you Drag an image from one url to another it still does
not prevent this from happening.. more research is needed.
2014-12-08 20:55:21 +10:00
daveaton 6a7b146d5e Spacing Corrections
Spacing corrections
2014-12-08 20:55:21 +10:00
daveaton 175ed7c972 Added Missing Include and included missing get sets
The project will build now..  got to figure out what's needed for
DragData.cs and DragOperationsMask.cs
2014-12-08 20:55:21 +10:00
daveaton dd6044a497 Implement Drag Handler
Trying to learn how to Implement a feature for Dragging  Objects into
CefSharp
2014-12-08 20:55:20 +10:00
amaitland 056448d135 Add IsBrowserInitializedChanged and IsLoadingChanged event handler stubs to WinForms example 2014-12-08 14:19:16 +10:00
Alex Maitland 2c4723e610 Merge pull request #667 from numbersint/feature/event-flags
Use the typed enum CefEventFlags for modifiers in keyboard events.
v37.0.0-pre02
2014-12-04 17:05:24 +10:00
jankurianski 04e12908d8 Remove KeyTypeToManaged as implicit cast is OK. 2014-12-04 17:55:50 +11:00
jankurianski 81a2048853 Use the typed enum CefEventFlags for modifiers in keyboard events. 2014-12-04 17:16:51 +11:00
amaitland 69de9372fc Backport part of #661 so that when size of WinForms browser is 0x0, it's set to SWP_NOMOVE && SWP_NOACTIVATE 2014-12-04 16:12:21 +10:00
Alex Maitland 349edc7448 Merge pull request #666 from amaitland/fix/jsb-memoryleak
Fix JavaScript Binding Memoryleak
2014-12-04 14:38:01 +10:00
amaitland 843d4eaac7 Merge remote-tracking branch 'remotes/upstream/master' into fix/jsb-memoryleak 2014-12-04 14:24:27 +10:00
amaitland bff700a965 Add TODO about strongly typing variable 2014-12-04 14:13:36 +10:00
amaitland 186306e13d Add missing pragma once 2014-12-04 13:47:23 +10:00
amaitland e750874edf Manually fix some merge issues 2014-12-04 13:40:41 +10:00
amaitland b782371fff Rename DeleteGetterSetter to Cleanup and fix formatting 2014-12-04 13:36:45 +10:00
amaitland b893d9ad00 Merge branch 'memleak' of https://github.com/Octopus-ITSM/CefSharp into fix/jsb-memoryleak 2014-12-04 13:34:53 +10:00
amaitland aee3c83b70 Update project references in nuget props files 2014-11-28 12:23:51 +10:00
Bodekaer e7c4bc6656 Cleaner naming of CefSharp dll references when automatically imported from NuGet to VS 2014-11-28 12:23:51 +10:00