Chris
bef5dd37c4
Maintenance - Fixed formatting, file encoding, and copyright year ( #2504 )
...
* Applied formatting
* Fixed file encoding + Updated copyright year
* Updated License
* Fixed more file encoding
* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland
d3e5249b9f
Move most of the logic from CefSharpSchemeHandler into CefSharpSchemeHandlerFactory and use the ResourceHandler.FromStream/FromString methods instead
...
People keep implement IResourceHandler directly, so update the examples in hopes they use the build in methods
2017-03-06 08:55:08 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
Justin Stenning
2298ea0a93
Implementation of Cef.RegisterWidevineCdm ( #1935 )
...
* Added Cef.RegisterWidevineCdm for CEF Widevine CDM registration #1934
* Added test page for WidevineCdm registration and example registration #1934
* Noted additional steps for Widevine and proprietary codecs to CdmSupportTest.html
* Link for more information changed to issue #1934 in CefExample.cs
* replaced Cef.RegisterCdmCallback's async result with IRegisterCdmCallback parameter
* RegisterCdmCallback now uses taskCompletionSource
2017-02-13 15:37:55 +10:00
amaitland
2b4840fc90
Add CssAnimation example for testing purposes
2017-02-01 09:37:08 +10:00
amaitland
3061becb3f
IResourceHandler now implements IDisposable - you can cleanup and resources when the handler is disposed
2016-05-26 07:28:19 +10:00
amaitland
4c4eb210f4
Add WPF Draggable Regions Test
...
Remove old generic DragHandler - maybe someone will write a WinForms specific one?
Remove some unused references from CefSharp.csproj
2016-04-12 16:57:47 +10:00
amaitland
12f42331dc
Resolves #1592 - Expose all methods of CefResourceHandler
...
Previously we were passing in the frame, request wrappers which hadn't been used, so just keep things simple and remove the code.
Current users should extend ResourceHandler instead of IResourceHandler and add the override keyword
TODO: Deal with setting bytesRead property - currently using Stream.Length which won't work for every stream type
2016-02-18 16:44:51 +10:00
amaitland
0962e6c46b
Add an EmptyResponseFilterTest example - cannot seem to trigger the response filter just yet
2016-02-11 15:33:14 +10:00
amaitland
f238b2bf50
Add Filter test url to WPF Example
2016-02-11 11:33:44 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
Rich McNeary
a168cadbad
Add javascript syntax highlighting. Include demo page.
2015-12-28 14:28:15 -05:00
illfang
441a2872c5
added multi binding test for testing bindings with multiple contexts and dynamic context creation / destruction
...
1 browser, multiple changing contexts
also added a link to the popuptest
2015-10-09 15:23:50 +09:00
amaitland
2153c51d15
Add PostData null checks to examples
...
Add basic ajax post example for custom scheme handler test page/handler
2015-09-25 11:47:10 +10:00
illfang
a9f5ab4c97
merge with master
2015-09-16 18:05:13 +09:00
illfang
94e352908a
added test for WebGL content which is loaded in a cefsharp/CefSharp/issues/1226
2015-09-16 17:59:20 +09:00
amaitland
99762a8e05
Add pointer check to CefPostDataWrapper - return an empty collection if no CefPostData was passed in
...
Handle the empty post data better in the example SchemeHandler
2015-09-16 16:07:40 +10:00
amaitland
3fac742403
Demo Post data for #1267
2015-09-16 16:01:48 +10:00
amaitland
5aa45a8107
Add using(callback) so dispose is called in the event of an exception
2015-09-09 11:45:57 +10:00
amaitland
52791957d5
Update callback usage examples
...
Add some comments in example RequestHandler about disposing of callbacks
2015-09-09 09:18:27 +10:00
illfang
81c545cf39
added test html logging exception log messages: ExceptionTest.html
...
custom://cefsharp/ExceptionTest.html
2015-09-08 11:20:31 +09:00
amaitland
7498c65741
Add copyright to CefSharp.Example
2015-08-03 10:41:29 +10:00
amaitland
abb06171b6
Add basic example of reading the Debug.log file from disk and add option to use ResourceHandler in a SchemeHandlerFactory
...
(Means that ISchemeHandler had to be removed - which is an unfortunate breaking change, better to be done now though)
2015-07-29 20:55:28 +10:00
amaitland
996cb9a44c
Revert to using embedded home page - added .html extension so the mimeType mapping picks up the correct type.
...
Fix the StatusCode to 200 to represent success (minor type fix as was 300 before)
2015-06-24 17:19:57 +10:00
amaitland
864f9ea7a2
Rename GetResponseHeaders to GetResponse
2015-06-15 23:07:02 +10:00
amaitland
018598171a
Add first draft of CefResponseWrapper
2015-06-15 21:20: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
c193020c72
Change public API to use Continue and Cancel methods - callback is then somewhat more consistent with other callback wrappers
2015-06-05 12:17:12 +10:00
amaitland
c8d73574da
Add cancel param to ProcessRequestCallback - previously only able to call the Continue() method on the callback
2015-06-05 12:12:33 +10:00
amaitland
48268721c0
Use Task to execute scheme handler in async fashion
2015-04-28 08:30:11 +10:00
amaitland
2468e41ea1
Extract ISchemeHandler into IResourceHandler - haven't marked as [Obsolete] as it may make more sense naming wise to keep this interface
...
Maybe need to add a code comment explaining the reason for keeping both interfaces?
2015-04-17 13:07:07 +10:00
amaitland
1863c571ae
Extract ISchemeHandlerResponse into IResourceHandlerResponse and mark as obsolete
2015-04-17 13:07:07 +10:00
amaitland
16e785a723
Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse
2015-04-17 13:07:03 +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
JanEggers
52bfa60c23
remaining stuff that i desired to put in on changeset
2014-03-09 14:11:37 +01:00
Per Lundberg
b07deda22e
Started some of the fun work on the "home" page, based heavily on Twitter Bootstrap's "general usage" page (which is liberally licenses, to our benefit). Still a lot of work to be done, and the unfinished parts are obviously hard to document, but it's a good start. I think we could also publish this up using GitHub Pages eventually.
2013-10-27 10:53:17 +02:00
Per Lundberg
5663ea8fd2
Forward-ported the changes to make scheme handling async instead of synchronous, from the CefSharp1 branch.
2013-09-25 07:47:53 +02:00
Per Lundberg
c75d93c65c
Started working on a nice little "home page", which we will include, using Twitter Bootstrap. The idea is to add links to the various tests we provide + to the CefSharp web page of course, in line with the "build UIs with HTML" paradigm. Relies on a bug fix for #150 which isn't really implemented yet though. :)
2013-09-18 22:46:27 +03:00
Per Lundberg
7d2854d9c3
Renamed the scheme handler classes to be a slightly better example of class naming...
2013-09-18 22:05:30 +03:00