Commit Graph

19 Commits

Author SHA1 Message Date
amaitland 88355c3da9 Update WPF example to use Mvvm Light (replace our basic MVVM implementation)
Makes sense to use an established framework for this sort of thing.
2015-04-30 12:21:38 +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
David Serfozo 4468961b5e reverted formatting issues, removed entry from DotSettings and fixed copyright notice 2015-03-09 20:19:01 +01:00
David Serfozo 609b13a758 few tests for js callback 2015-03-08 16:23:49 +01:00
amaitland 7aa1c262b1 Update two methods in the WPF and WinForms examples to use async/await 2015-01-06 16:50:32 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland 0ed7555ba0 Change ExecuteScript to ExecuteScriptAsync and return a Task, changed IWebBrowser interface and simply wrapped the backend call.
This at least gets the API inline with what I'd expect in the future, still need to change WCF to use Async, this is a start.
Ideally would like to port @JanEggers PR #289 and have a Cef driven TaskScheduler
2014-08-29 10:00:41 +10:00
Adrian Phinney 96bdad96d4 Add StatusMessage examples for WPF/WinForms. 2014-08-12 09:25:33 -04:00
amaitland 36503b616c Assign RequestHandler in BrowserTabView 2014-06-12 01:55:34 +03:00
amaitland fff9422e52 Rename ExamplePresenter to RequestHandler (Alex had also removed old commented out code, but I am moving that part of the change to a separate commit to help git/SourceTree better understand that the file has been renamed, so we preserve history etc)
Conflicts:
	CefSharp.Example/ExamplePresenter.cs
2014-06-12 01:53:46 +03: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
amaitland 8b4c1f79f7 Change public commands to be straight ICommand (easier for them to be replaced if we implement an mvvm framework later) 2014-06-11 23:49:07 +03:00
amaitland f2510c31a1 Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs) 2014-06-11 23:46:42 +03:00
jornh efe0e7a11c Polish OnBeforePluginLoad handler example code a bit.
For safety towards side effects in other code keep ExamplePresenter disabled for now though.
2014-05-25 21:11:42 +02:00
jornh 7265a0da3b Merge branch 'RequestHandlers' of https://github.com/fraenke75/CefSharp into fraenke75-RequestHandlers
Manual resolution including adding DECL OVERRIDE to the added virtual function in ClientAdapter.h
2014-05-25 17:12:35 +02:00
amaitland 260f8b1f39 Rename LoadCompleted to FrameLoadEnd (event is actually triggered when the loading of each frame is complete) 2014-05-12 14:09:30 +10:00
amaitland a89387561a Remove default value from constructor, keeps setting of URL's in one place (in MainWindow) 2014-04-30 23:34:08 +03:00
amaitland 1fb6a37814 Remove ViewSourceCommand from ViewModel, instead using the newly implemented command on WebView instead 2014-04-30 23:33: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