Alex Maitland
fe98124c9b
Async JavascriptBinding - Add support for returning Task ( #2771 )
...
* Async JavascriptBinding - Add support for returning Task
Remove Parallel Task execution code from MethodRunnerQueue
Add ParallelMethodRunnerQueue
- For the new code path the Func is executed, if the Result is a generic Task we wait for it's completion
- If the task is not generic then we return immediately
This is only enabled when CefSharpSettings.ConcurrentTaskExecution = true;
* MethodRunnerQueue - Display error message when method returns Task
* ParallelMethodRunnerQueue - Rename to ConcurrentMethodRunnerQueue
* MethodRunnerQueue - Improve formatting of error message when method returns Task
* Async JavascriptBinding Return Task - Add Basic xUnit Test
Very quick test, needs to be refined a little. The basics are working as expected.
* Add Binding Test Async Task Example to the WPF Example menu
* Async JSB Task - Add additional tests and improve error messaging
2019-06-08 17:21:49 +10:00
Chris
30ee538ce0
Added EditorConfig ( #2514 )
2018-09-17 00:46:21 +02:00
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
a1895159a1
WPF - Revert unnecessary formatting changes from #2474
2018-08-02 13:22:41 +10:00
alfein
391fe825d4
GetScreenInfo - Allow setting of Rect/AvaliableRect ( #2474 )
...
* added some code to send monitor information back to the cef
* reverted framework target change
* small cleanup. Handling location changed of the window to force refresh screeninfo
* Fixed formatting of C++ code, added comments, removed code from samples
* removed extra white space
2018-08-02 13:21:02 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
Philip Beber
b47731de5e
Added DownloadItem .OriginalUrl ( #1877 )
...
* Added "OriginalUrl" property to DownloadItem which wraps "GetOriginalUrl" in CEF.
Added a sidebar to the example app which shows the DownloadItems as received by CefSharp.Core/Internals/TypeConversion.h
Added a View menu for hiding/showing the regular sidebar and the new download info sidebar.
* Pull request feedback
2016-12-04 22:26:49 +10:00
amaitland
23b8e1c14a
WPF Example - Add Zoom out to menu
2016-10-24 09:36:02 +10:00
amaitland
cb53751729
Add ZoomIn, ZoomRest command to WPF Example
2016-08-31 09:16:33 +10:00
amaitland
ad71cf547f
Add ShowDevtools menu item to WPF example
2016-04-19 14:52:52 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
amaitland
98959d8f06
Basic example Load Request with post data has been added to the WPF Example
2015-11-29 07:59:04 +10:00
amaitland
9a7f427c29
Simplify WPF example opening of test Url's
...
(Should be very easy to add new Url's now)
2015-09-28 19:07:43 +10:00
amaitland
1843486050
Rename CefSharpPdfPrintSettings to PdfPrintSettings (inconsistent naming)
...
Add xml documentation to PdfPrintSettings
Change return type from Task to Task<bool> (exceptions are expensive and unnecessary)
Fix small bug in assigning HeaderFooterTitle and HeaderFooterUrl (values were switched)
Allow PrintToPdfAsync to accept nullptr for settings (use defaults)
Update xml documentation in various instances for PrintToPdfAsync
2015-09-20 18:43:06 +10:00
David Serfozo
6ecb0fc129
PrintToPdf API changed to use Tasks instead of callbacks
2015-09-19 13:28:52 +02:00
David Serfozo
021f6eb715
added printtopdf example
2015-09-19 12:33:50 +02:00
amaitland
3fac742403
Demo Post data for #1267
2015-09-16 16:01:48 +10:00
amaitland
561b50b2cd
Register the same scheme twice to confirm parsing of command line arguments
...
Fix up some urls in the custom scheme popup test
Add PopupTest.html to WPF example menu
2015-09-16 09:05:52 +10:00
amaitland
dac6030a81
Add DragDemo to WPF tests menu
2015-08-26 15:27:30 +10:00
amaitland
c46807f100
Add some more demo examples to WPF example project
2015-08-12 09:25:37 +10:00
amaitland
a017837320
Simplify Menu command bindings in WPF example
2015-08-12 09:18:30 +10:00
amaitland
39bc589991
Add w3school url to WPF example
2015-07-28 17:26:34 +10:00
amaitland
4ce9bc5463
Add IBrowser param to ILifeSpanHandler.OnAfterCreated
2015-07-28 17:19:50 +10:00
amaitland
7a940a9617
Add Open Plugins tab in the WPF example
...
Add system-enable-flash example to enable PPAPI otherwise it's disabled
2015-07-23 19:18:07 +10:00
amaitland
249c09c583
Add menu to WPF example
...
Can now easily open binding test example
TODO: Import tests from cefclient example
2015-07-09 12:21:59 +10:00
rassilon
7128e40fd1
It's time for copyright updates again. Yay!
...
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland
2d6fe8b237
Add x64/x86 to Window Title - easily determine which version user is running
2014-10-27 11:15:18 +10:00
amaitland
ff03b13a33
Create CefExample class to house common Init() and DefaultUrl
...
Conflicts:
CefSharp.WinForms.Example/BrowserForm.cs
2014-06-12 01:49:37 +03:00
JanEggers
4a231544fd
fixed whitespace (contained tabs)
2014-05-17 05:59:17 +02:00
JanEggers
e04e36bd04
added cleanup command so resources get cleaned up if a user closes a tab
2014-05-15 20:18:42 +02:00
Per Lundberg
6fcfc61ac3
Changed property name to make it more explicit what this one is about.
2014-04-30 23:38:28 +03:00
Per Lundberg
b745f7bf13
Set up bindings for Ctrl+T and Ctrl+W, to Open and Close tabs respectively.
2014-04-30 23:30:47 +03:00
Per Lundberg
8d0974880f
Cleaned up the way we used the tab, by binding to a collection of BrowserTabViewModels instead. We could clean this up even further by moving stuff out from MainWindow to a MainView & MainViewModel (to achieve a fully code-behind-free approach), but let’s start with this. :) Similarly, based on @amaitland’s changes, only splitting them more aggressively.
2014-04-30 23:29:41 +03:00
amaitland
9ab903f43c
Namespace and folder cleanup
...
Create ViewModels namespace - move ViewModel and rename to BrowserTabViewModel
Move and rename MainView to BrowserTabView
2014-04-30 23:05:11 +03:00
amaitland
389e2de969
Add license disclaimer
...
Remove an unused reference in MainWindow.xaml.cs
Fix comment for OnPropertyChanged event
2014-04-17 11:53:06 +10:00
Per Lundberg
fd20a062dc
#212 : Why not go ahead and make a proper tabbed browser while we're at it... :)
2014-03-21 23:47:30 +02:00
Per Lundberg
7ad4fb56be
Only show the sidebar on the first tab.
2014-03-21 23:28:48 +02:00
Per Lundberg
271eb2c277
Fixed the tab titles to be data-bound to the title of the web page they are displaying.
2014-03-15 22:27:01 +02:00
Per Lundberg
caeac08cfa
Let's start working towards a "tabbed browser" instead of the OneBrowser/ManyBrowser approach.
2014-03-15 22:16:59 +02:00
JanEggers
b4201d1971
extended samples to show multiple instances work
2014-02-24 07:50:05 +01:00
Per Lundberg
f06ab5bd82
Ah. There’s nothing more awesome than being able to delete a bunch of old code. :)
2013-11-13 17:51:53 +02:00
Per Lundberg
73787825fb
Let's try to do things in a more MVVM-orthodox way. This is one of the first steps on a quite long journey I believe… The previous CefSharp.Wpf.Example was (in my opinion) slightly badly designed in that it too much tried to "reuse" code between the WPF and WinForms examples. Now, this is good from a CefSharp maintainability standpoint, but it really means that you will "dumb down" the WPF one in a way that feels very unnatural to me. WPF is WPF and should be done in a certain way (to take advantage of the platform), and WinForms is an entirely different beast. So, I feel that it is very much OK if these sample apps diverge much more, so that we demonstrate CefSharp usage in a more realistic, close-to-real-life way than has been the case before.
2013-07-28 22:45:28 +03:00
Per Lundberg
3e778a0803
Disabled stuff which isn't working properly at the moment, and made the URL textbox at least *display* the current URL being browsed to...
2013-07-24 10:03:02 +03:00
Per Lundberg
c87e218f90
Started working on getting the actual painting to work. It now works, but only in a fixed-size region. :) Need to discuss a bit with the CEF guys on how to do this properly I think...
2013-07-23 19:30:53 +03:00
Per Lundberg
a10789749d
Whitespace fixes. (My bad; C++ settings for VS2012 was incorrectly set to use tabs instead of spaces, leading to some noise in the diff.)
2013-06-05 11:28:11 +03:00
Per Lundberg
a9c35f843b
Uncomment the usage of the WebView now that it works again.
2013-06-05 11:28:09 +03:00
Per Lundberg
0c3115288f
WIP code, trying to figure out why we get a weird TypeLoadException...
2013-06-05 11:28:08 +03:00
Per Lundberg
a90b103a07
Uncomment the usage of the WebView now that it works again.
2013-05-01 23:28:03 +03:00
Per Lundberg
bf5894af52
WIP code, trying to figure out why we get a weird TypeLoadException...
2013-05-01 20:36:54 +03:00
anthony taranto
d8848c70c5
add cookie visitor test to example/test menu
2012-07-30 19:34:57 -07:00