Commit Graph

1299 Commits

Author SHA1 Message Date
cefsharp-ms a8db666642 added async bound method result callback on browser process side 2015-07-23 15:12:28 +02:00
cefsharp-ms 7744b7197f async bindings are dispatched to a background thread for each browser 2015-07-23 15:12:05 +02:00
cefsharp-ms 0e073bcd0a added message to transmit async bound jsrootobject to render process 2015-07-23 15:10:52 +02:00
cefsharp-ms a99e020138 added option to register async js objects with only method bindings 2015-07-23 15:10:28 +02:00
amaitland 8afb090f06 Add Timeout to Cef.GetPlugins
Made TaskExtensions public otherwise the c++ code cannot access it
Add try catch to CefExample to handle task being cancelled
2015-07-23 09:57:24 +10:00
jankurianski 5e658fccb5 Upgraded to use local 3.2357.1274 NuGet packages and fixed breaking changes 2015-07-21 15:16:25 +10:00
amaitland 86efb2c515 Add some basic comments for the extension methods 2015-07-16 13:36:00 +10:00
amaitland c88952a9fa Merge remote-tracking branch 'remotes/upstream/master' into feature/postdata 2015-07-10 16:55:46 +10:00
amaitland b765937b53 Remove commented out code block - was implemented in c# already was used as reference 2015-07-10 16:35:29 +10:00
amaitland 57c12033ad Comment out methods that aren't implemented from the IPostData interface 2015-07-10 16:33:57 +10:00
David Serfozo d6661df344 removed unnecessary code from previous js callback implementation 2015-07-07 19:30:50 +02:00
David Serfozo 7c9a449158 added new IJavascriptCallback implementation into the pipeline 2015-07-07 19:30: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 6005fd3f2c Add outline of IPostData implementation 2015-07-07 19:35:39 +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
amaitland 0547c45f41 Readd using System.Collections.Generic; as needed by quality comparer
Remove implicit http scheme if none provided
2015-07-07 10:42:39 +10:00
amaitland 5bba0b15fa Merge branch 'master' of https://github.com/lamerbug/CefSharp 2015-07-07 10:39:27 +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 0188329d10 Untabify 2015-07-07 10:26:45 +10:00
lamerbug 6f08123174 Update DefaultResourceHandlerFactory.cs
- using ConcurrentDictionary
- create canonical URL from any string
- update value if key exists
- return bool when register and unregister
2015-07-06 19:47:47 +07:00
amaitland df29944016 Implement SendMouseMoveEvent in IBrowserHost
Can now be used by offscreen
2015-07-06 12:47:29 +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 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 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 091339de25 OffScreen control - update to throw exception if Browser has not been initialized
It's quite common for users to attempt to execute a browser function before it's initialized and for it to silently fail if it's not been initialized
2015-07-01 19:24:49 +10:00
amaitland f499465f1d Add CefWindowInfoWrapper 2015-07-01 19:04:28 +10:00
amaitland ddd7ec1687 Cleanup usings 2015-06-29 14:14:12 +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 d188382d20 Move PendingTaskRepository into matching namespace (resharper cleanup) - there is no messaging folder 2015-06-29 11:34:43 +10:00
amaitland b9e3100994 Simplify PendingTaskRepository TaskCompletionSource creation - use KeyValuePair 2015-06-29 11:32:16 +10:00
David Serfozo 93a61c1442 removed unneeded eval script related methods 2015-06-27 19:01:52 +02: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 bf33f0bc7c V8 serialization utils added 2015-06-27 16:52:08 +02:00
amaitland 766da920ac Add license disclaimer to new CefSharpArguments class (also some browsersubprocess classes) 2015-06-25 10:37:56 +10:00
David Serfozo 4d62f6ad8e wcf made switchable 2015-06-20 19:50:48 +02:00
amaitland 864f9ea7a2 Rename GetResponseHeaders to GetResponse 2015-06-15 23:07:02 +10:00
amaitland afbed86524 First draft of what is hopefully the final rewrite of ResourceHandler/SchemeHandler
This will built but won't run as CefResponseWrapper has not yet been implemented.
2015-06-15 21:03:25 +10:00
amaitland c445a508ea Allow for ISchemeHandlerFactory.Create to return null (allow for default behaviour)
Updated ISchemeHandlerFactory xml doc

As both current use cases for ResourceHandlerWrapper can potentially return null rather than handle the resource change CefRequestWrapper to be disposed of automatically and use the CefRequest provided by ResourceHandlerWrapper::ProcessRequest
2015-06-15 20:00:32 +10:00
amaitland ddff5f193d Merge branch 'ReduceObjectsBeingFinalized' of https://github.com/rassilon/CefSharp into continued/43 2015-06-15 18:40:49 +10:00
amaitland 124cf84142 Wrap frame calls in using statements (Dispose will be ignored if frame null) 2015-06-15 12:21:22 +10:00
rassilon 26ad951da4 Ensure IRequest is disposed. 2015-06-13 10:01:49 -04:00
rassilon 0ee782e8f4 Make this interface disposable so taht code analysis should hopefully remind users to call .Dispose on it. 2015-06-13 10:00:02 -04:00
amaitland 5cf5fcf24c Few more tweaks to simplify getting the browser instance.
Still need to move the wrapper out from ManagedCefBrowserAdapter and into ClientAdapter for the main CefBrowserWrapper
2015-06-11 13:33:35 +10:00
amaitland 4dbd6e36a7 IPopupHandler now implements IKeyboardHandler
At some point later on we can then consolidate the code in ClientAdapter to be much simpler
2015-06-11 12:40:32 +10:00