Commit Graph

168 Commits

Author SHA1 Message Date
amaitland 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +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 3c5e26b8d9 Remove redundant handled variable 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 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
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 eab35e7306 Merge branch 'feature/focus-handler-ext' of https://github.com/numbersint/CefSharp 2014-11-26 13:32:40 +10:00
Sylvain Hamel 492d22c8a3 Feature: Expose OnCertificateError to allow host application to decide whether or not it should continue 2014-11-25 15:51:55 -05:00
jankurianski 25bfc512f1 Untabify 2014-11-25 22:33:12 +11:00
jankurianski 3bbb01c6ef Added IFocusHandler and WinForms example. 2014-11-25 22:29:35 +11:00
jankurianski 87667f2635 Pulling in amaitland:CefSharp feature/focus-handler changes 2014-11-25 21:50:42 +11:00
amaitland ad907f622f Fix spacing - See if latest change to build.ps1 will skip PR's 2014-11-18 12:05:55 +10:00
amaitland a6eaf93994 Add missing ResponseAction::Cancel if statement 2014-11-18 12:04:00 +10:00
amaitland fd9dd81166 Accidentally removed comment - revert 2014-11-18 12:04:00 +10:00
amaitland 1724238753 Example crashes, revert to using CefStreamResourceHandler(mimeType, stream) as it's working - possibly a problem with the HeaderMap 2014-11-18 12:04:00 +10:00
amaitland dc9068d3e4 Set Stream to null in StreamAdapter 2014-11-18 12:04:00 +10:00
amaitland 30c8cf9248 Make ToHeaderMap static in SchemeHandlerWrapper (Needs to be moved to a common place in the future)
Get basic CefStreamResourceHandler compiling
Add headers and status codes to ResourceHandler
2014-11-18 12:03:59 +10:00
amaitland 85c260d07c Implement missing method in StreamAdapter
Implementation of GetResourceHandler still incomplete
2014-11-18 12:03:59 +10:00
amaitland 215f804fb5 Add GetResourceHandler to IRequestHandler interface
Simplify OnBeforeResourceLoad to only support redirect for now
2014-11-18 12:03:59 +10:00
amaitland e52a4f7c43 Remove commented out code
Add method stub for GetResourceHandler
2014-11-18 12:03:59 +10:00
amaitland 682c00b16e Remove RespondWith from OnBeforeResourceLoad 2014-11-18 12:03:59 +10:00
amaitland 02da2d5d26 Move Response class into c# land 2014-11-18 12:03:58 +10:00
amaitland cb8385c1b3 Move ResponseAction enum into c# land 2014-11-18 12:03:58 +10:00
amaitland 5ddc383417 Start renaming of IRequestResponse and RequestResponse class 2014-11-18 12:03:58 +10:00
amaitland aac9914cb9 Split RequestResponse out into two, pass in Request as it's own param 2014-11-18 12:03:58 +10:00
amaitland a76ada3b18 Cleanup Loading and NavState code, there's currently additional calls to both which are slightly confusing (and don't provide any benefit).
So simplify by setting SetIsLoading(true) on LoadStart and SetIsLoading(false) on LoadEnd. Then only set NavState in ClientAdapter::OnLoadingStateChange
2014-11-05 14:04:49 +10:00
amaitland 41bfa38f2d Rename NavigationType property to TransitionType 2014-11-05 14:04:47 +10:00
amaitland 62eb330f53 Change to using statement rather than namespace qualified declerations 2014-11-05 14:04:47 +10:00
amaitland fe6013fb3b Rename NavigationType to TransitionType (keeping inline with Cef API) 2014-11-05 14:04:47 +10:00
Evgeny Pestov e67d3a6f28 Add navigation type to IRequest. 2014-11-05 14:04:43 +10:00
amaitland 98b9ab022b Remove old code comment 2014-11-05 12:10:04 +10:00
amaitland e61de7c42e Merge remote-tracking branch 'remotes/upstream/cef/2062' into cef/2062-jsb-wip 2014-11-05 12:08:47 +10:00
Bodekaer c83cdfde17 Cleanup OnBeforeContextMenu code 2014-11-05 00:26:58 +08:00
Bodekaer 22481fe85b Added support for context menu in WPF 2014-11-04 19:07:04 +08:00