Commit Graph

214 Commits

Author SHA1 Message Date
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05:00
amaitland b25bb891ba Add UserAgent example 2015-02-27 10:36:06 +10:00
amaitland e6c2e13078 Add no-proxy-server example command line args 2015-02-24 23:46:44 +10:00
amaitland a17e29d1b9 Merge branch 'issue-672' of https://github.com/rassilon/CefSharp 2015-02-24 13:21:00 +10:00
amaitland 0e230aa957 Add link to chromium command line args 2015-02-19 15:11:55 +10:00
amaitland 5223bbb794 Add --disable-direct-write command line example 2015-02-19 15:10:22 +10:00
rassilon 7c3dcb656e * Code Review changes
* Add float right select drop down for additional move test.
2015-02-11 17:30:33 -05:00
amaitland 572f2bfc70 Add --enable-media-stream to CefExample (how to enable webrtc) 2015-02-08 21:03:41 +10:00
pushplay ef2463d608 Fixes suggested by @jankurianski 2015-01-28 14:38:19 -08:00
amaitland 953d917226 Add JSB support for Methods with optional params 2015-01-22 12:54:38 +10:00
amaitland a0460e83d8 When running stress test of the latest branch (using http://ie.microsoft.com/testdrive/performance/fishbowl/) a ContextSwitchDeadlock exception occurred.
Problem is reproducible, happens after a minute or two. Changing the recently updated schema handler code seems to resolve the problem.
(ContextSwitchDeadlock debugging info http://stackoverflow.com/a/2797936)
2015-01-16 19:40:11 +10:00
amaitland 928da8df5e Update ProcessRequestAsync example to execute in an async fashion 2015-01-16 17:40:09 +10:00
amaitland 973da2813a Upgrade CefSharp.Example.csproj to .net 4.5 2015-01-16 17:39:19 +10:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
amaitland eded174711 Add example disable gpu command line args to example 2015-01-14 08:02:35 +10:00
amaitland fce5f06362 Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users

Add JsDialogHandler that implements the default behavior
Assign in the WinForms example

Fix typo in IRequestHandler
2015-01-11 14:05:10 +10:00
amaitland e68b11a5db Add simple test case of bound.getSubObject().simpleProperty to BindingTest.html 2015-01-09 12:35:03 +10:00
amaitland 901a70ac00 Automatically register function return types with WCF (only solves have the equation as the subprocess has no idea during deserialization) 2015-01-08 15:43:56 +10:00
amaitland ff634e299b Replace IWebPluginInfo with WebPluginInfo
Instead of wrapping the Cef object, just read it's properties through a helper method
2015-01-08 13:00:49 +10:00
amaitland be5d3db546 Add ComplexParamObject method to BoundObject - test for passing a complex object from javascript (which is converted into a dictionary)
Example usage
bound.complexParamObject({ 'color': 'purple' });
2015-01-06 20:47:30 +10:00
amaitland 4baa1d65dc Remove "--type=renderer" check as the rendering is done by the browsersubprocess 2014-12-22 22:00:00 +10:00
amaitland 40f3328b5b Add simple JSON example to BindingTest.html 2014-12-16 21:44:13 +10:00
amaitland 3fec9843a7 Add ResourceHandler unicode example to CefExample 2014-12-16 10:51:47 +10:00
amaitland 5a869771e7 Update WinForms and WPF examples to represent the ResourceHandler changes 2014-12-09 12:50:37 +10:00
amaitland 74f130d456 Add license disclaimer 2014-12-09 08:21:30 +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 a3972986d8 Re-add params to IDragHandler
Re-add DragOperationsMask
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
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
amaitland 8e9c5da0da Add basic example 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 682c00b16e Remove RespondWith from OnBeforeResourceLoad 2014-11-18 12:03:59 +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
Sylvain Hamel 678f45835c CefRenderProcess process creates too many channels (and does not close them) 2014-11-11 09:06:52 -05:00
amaitland d99ff68219 Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value 2014-11-05 11:43:25 +10:00
amaitland b305793cb5 Add ignored methods to BoundObject 2014-10-29 16:55:43 +10:00
amaitland 3ce9990807 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-20 14:16:06 +10:00
jankurianski f72ca6a8e7 All projects now target .NET 4 Client Profile. 2014-10-07 18:38:43 +11:00
amaitland 6e767c02fe Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-03 18:22:43 +10:00
amaitland 18153a2017 Update Home.html to reference Cef 33 (was previously 29) 2014-09-29 20:51:10 +10:00
amaitland cbb5cb59d5 Increase logging to Verbose for examples 2014-09-26 15:52:05 +10:00
amaitland fd77db19f2 Example demonstrating that Issue #260 has been resolved 2014-09-17 15:44:45 +10:00
amaitland cb66064c83 Add another testing method to SubBoundObject 2014-09-17 10:30:34 +10:00
amaitland 3ce1952af4 Add environment check to determine architecture 2014-09-16 21:02:43 +10:00