Commit Graph

2406 Commits

Author SHA1 Message Date
amaitland ffac7e6546 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-12 16:45:44 +10:00
Alex Maitland 5e225b7700 Merge pull request #683 from amaitland/enhancement/winforms-managed-init
WinForms - Create ManagedCefBrowserAdapter in Constructor
2014-12-12 13:24:26 +10:00
amaitland 56e9b9db37 Remove hack for #522 that's no longer required 2014-12-12 13:17:34 +10:00
amaitland 0efff78f0d Update examples to call RegisterJsObject in constructor 2014-12-12 13:16:59 +10:00
amaitland fba29ac001 Move managedCefBrowserAdapter creation to constructor (same as WPF control) 2014-12-12 13:15:03 +10:00
Alex Maitland 2ebf0b46e6 Merge pull request #681 from ghuntley/patch-1
documentation correction -> new CefSettings not new Settings
2014-12-12 11:28:44 +10:00
Geoffrey Huntley 47f5cd7b6d correction -> new CefSettings not new Settings 2014-12-12 11:37:18 +11:00
Alex Maitland 8bc801540a Merge pull request #675 from amaitland/fix/issue-614
Javascript Binding - Only call Connect for main browser (not popups)
2014-12-11 12:06:03 +10:00
Alex Maitland 8f7330ff06 Merge pull request #678 from numbersint/features/setfocus
Implement CefBrowserHost::SetFocus for WinForms
2014-12-10 20:53:47 +10:00
jankurianski 599e1414e4 Remove unnecessary Focus() method. 2014-12-10 21:23:37 +11:00
jankurianski 667b649e26 Implement CefBrowserHost::SetFocus for WinForms 2014-12-10 15:18:19 +11:00
amaitland 7ef8406179 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-09 21:38:44 +10:00
Alex Maitland ae8c153129 Merge pull request #674 from amaitland/feature/rework-resourcehandler
Rework ResourceHandler
2014-12-09 20:01:27 +10:00
amaitland 372f070d8f For popups don't Connect to the Browser process (Attempt to fix issue #614) 2014-12-09 18:35:12 +10:00
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