Commit Graph

1628 Commits

Author SHA1 Message Date
David Serfozo 798d90ade2 constructors/destructors moved to .h;;little changes to make code more consistent 2015-07-08 18:29:46 +02:00
David Serfozo 33cd908fdd dded explicit accessors 2015-07-08 18:21:47 +02:00
David Serfozo 2feeac690a changed jscallback implementation to use cefsharpbrowserwrapper 2015-07-07 19:30:47 +02:00
David Serfozo 7c9a449158 added new IJavascriptCallback implementation into the pipeline 2015-07-07 19:30:43 +02:00
David Serfozo c7db48ae7a created new implementation of ijavascriptcallback to handle cef ipc solution 2015-07-07 19:30:33 +02:00
David Serfozo 5f573c8563 message handling added for js callback execution through cef ipc 2015-07-07 19:28:49 +02:00
David Serfozo e270455352 added serialization of .net objects and deserialization on render process side 2015-07-07 19:28:43 +02:00
amaitland 17df6f8153 Add PostDataElementType enum 2015-07-07 20:37:09 +10:00
amaitland 9d1b9e16f5 Remove Body
Read in byte array
Add some extensions to access the Body data
2015-07-07 20:27:41 +10:00
amaitland 597b48b7da Add CefPostDataElementWrapper implementation 2015-07-07 19:56:52 +10:00
amaitland 6005fd3f2c Add outline of IPostData implementation 2015-07-07 19:35:39 +10:00
amaitland c86d24a177 Change to Object::ReferenceEquals for gcroot nullptr comparison - seemed a little nicer than a static_cast
Use direct cast of CefErrorCode
2015-07-07 16:51:45 +10:00
amaitland 3ab612a44a Rename Oninitialized to OnAfterBrowserCreated (more closely matches the underlying CEF API) 2015-07-07 16:48:45 +10:00
amaitland 23455de261 Add targetFrameName param to OnBeforePopup 2015-07-07 12:28:29 +10:00
Alex Maitland ff6d53ecff Merge pull request #1102 from amaitland/cleanup/browsersettings
BrowserSettings map to Enabled/Disabled/Default Enum
2015-07-07 10:37:07 +10:00
amaitland df29944016 Implement SendMouseMoveEvent in IBrowserHost
Can now be used by offscreen
2015-07-06 12:47:29 +10:00
amaitland 5c27b7befa Set toolTip to null after mouse leaves 2015-07-06 12:42:50 +10:00
amaitland 98d186c33c Move OnMouseButton into IBrowserHost (rename to SendMouseClickEvent) 2015-07-06 12:39:33 +10:00
amaitland fbe8ccd61c Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen 2015-07-06 12:25:09 +10:00
amaitland ab72636831 Add BackgroundColor property
Add xml comments
2015-07-06 12:00:07 +10:00
amaitland af92dade32 Fix type
Change case of JavaScript to Javascript - matches other project references
2015-07-06 11:32:46 +10:00
amaitland 8eff8d011e Add CefState enum
Change BrowserSettings to use CefState instead of bool?
Remove the Allowed/Disabled prefix so names now more closely match those of CEF
Should be easier to understand as there's no double negatives now
2015-07-06 11:30:53 +10:00
amaitland 92a325b77e Change Nullable types from ref to value (as nullable is a struct).
Decompiled code showed `ValueType` before and how shows the correct type
2015-07-01 22:42:24 +10:00
amaitland df94d54a61 Remove duplicate GetMainFrame and GetFocusedFrame methods - turned them into extensions 2015-07-01 19:49:27 +10:00
amaitland f239503bb3 Move SendMouseWheelEvent to IBrowserHost 2015-07-01 19:38:14 +10:00
amaitland f499465f1d Add CefWindowInfoWrapper 2015-07-01 19:04:28 +10:00
amaitland 5fb726117d Move methods into body of class 2015-07-01 12:29:57 +10:00
amaitland 598937eb19 Cleanup Finalizer/Dispose for BrowserSettings and CefSettings 2015-07-01 12:29:48 +10:00
amaitland 958a6264a3 Remove LoadUrl code from ManagedCefBrowserAdapter - remove more duplication 2015-07-01 12:29:37 +10:00
amaitland 53be51b48a Explicitly throw Exception if Cef is already Initialized in response to issue on google group
https://groups.google.com/d/msg/cefsharp/JHO4KRARzdE/ol16kUGJQj0J
2015-06-29 22:21:17 +10:00
amaitland 7090ac9cda For now simplify message handing - remove delegates
Will look at implementing a managed class to handle/route messages later
2015-06-29 15:24:40 +10:00
amaitland 2129c1907e Remove IBrowserAdapter from Frame and Browser wrappers - now directly cast CefClient to ClientAdapter so can execute js 2015-06-29 14:03:10 +10:00
amaitland 819dfd54f9 Move WcfEnabled option into CefSharpSettings class
Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions
2015-06-29 13:20:47 +10:00
amaitland 833db43a1d FrameId is actually a 64bit int 2015-06-29 13:13:06 +10:00
amaitland 53221506f2 Remove redundant AddProcessMessageDelegate method from ClientAdapter 2015-06-29 12:33:42 +10:00
amaitland f8954dcffe Rename messaging keys to include Request/Response suffix
Would be nice to move them into a class so they're not just out there on their own - whilst it's valid c++, it's not very .net
2015-06-29 11:49:12 +10:00
amaitland 03a893bdac Inline some of the EvaluateScriptDoneDelegate methods - as they're not used in multiple places it's easier to debug this way 2015-06-29 11:42:25 +10:00
amaitland 6d28f97a14 Prefer using statements directly after inclues - they get a little lost if we put them further down 2015-06-29 11:36:29 +10:00
amaitland b9e3100994 Simplify PendingTaskRepository TaskCompletionSource creation - use KeyValuePair 2015-06-29 11:32:16 +10:00
David Serfozo 762d94942a added jscallback support for new evaluatescript implementation 2015-06-27 19:01:41 +02:00
David Serfozo cc8a07c21f added evaluatescriptasync message handlers and rerouted evalscript to cef ipc 2015-06-27 19:01:21 +02:00
David Serfozo 7588259964 added process message handlers and code to call them on both sides 2015-06-27 17:20:09 +02:00
David Serfozo bf33f0bc7c V8 serialization utils added 2015-06-27 16:52:08 +02:00
amaitland b92cdfd958 Add additional comment and revise CefExample comment 2015-06-25 11:15:57 +10:00
amaitland ff695dbf6d Only close _browserProcessServiceHost if Wcf::Enabled
(Had circular reference problem when trying to use Wcf::Enabled in ManagedCefBrowserAdapter.h class so for now just use a local variable)
2015-06-25 11:12:53 +10:00
amaitland 3487e21335 Prefer using statements over partly qualified namespace for class reference 2015-06-25 10:44:03 +10:00
amaitland aa63727712 Untabify ManagedCefBrowserAdapter 2015-06-25 10:41:37 +10:00
amaitland 2acc334570 Remove unused constructor from ResourceHandlerWrapper 2015-06-25 10:34:22 +10:00
David Serfozo b1c7a2b791 CefWcfRenderProcess removed;;examples updated;;added exceptions 2015-06-24 21:38:51 +02:00
David Serfozo 4d62f6ad8e wcf made switchable 2015-06-20 19:50:48 +02:00