Alex Maitland
530a14399c
WPF - Allow setting Focus before the underlying browser has been initialized.
...
- Remove hacks from the ViewModel as Focus can now be set on Go().
- Creating a new viewmodel also sets focus
Changing tabs doesn't set focus currently.
2021-05-10 15:15:26 +10:00
campersau
8ad0c76f1b
Wpf.Example - Remove MvvmLight
2020-11-09 20:19:31 +10:00
amaitland
ae17525092
WPF Example - Can now run LegacyBindingTest from menu without code change
...
It's a bit of a hack at this point, have to read the property from the DataContext.
Need to work on a clean binding solution
Issue #2977
2020-05-23 20:08:51 +10:00
amaitland
4183b464d1
WPF/WinForms Example - Allow mailto to trigger OnProtocolExecution
...
- When Url starts with mailto then use our ExampleResourceRequestHandler
- Ignore unknown scheme errors when it's mailto, we expect that it's unknown
- WPF Example remove duplicate OnLoadError in BrowserTabViewModel
2019-07-10 20:47:55 +10:00
michalkania
d937f0daa9
[WPF.Example] Simple null check to prevent crash if we close a tab during a test. ( #2731 )
...
Related issue: https://github.com/cefsharp/CefSharp/issues/2722
2019-04-25 08:17:28 +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
cf04ab4b2e
WPF - Add basic JavascriptBindingStressTest command
...
Loads JSB test page and then reloads every 10 seconds
2018-06-30 15:40:57 +10:00
amaitland
b2143f60d1
Add IWebBrowser.LoadUrlWithPostData extension method (in WebBrowserExtensions) - simplifies calling LoadRequest
...
Add IPostData.AddData extension method (in PostDataExtensions)
WPF Example change from calling LoadRequest to using new LoadUrlWithPostData extension method
2017-05-26 11:24:45 +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
c81f57c4ce
Wpf Example - improve focus handling and null checking
2016-10-19 16:33:35 +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
3a15e48149
Expand the example code - need to actually implement a working example
2015-11-29 07:36:15 +10:00
amaitland
1aa3531087
Add more to the LoadRequest example - not yet wired up in the WPF Example project
2015-11-25 08:35:38 +10:00
amaitland
d5bde1cdfc
Expose IFrame.LoadRequest
...
Add IFrame.CreateRequest to instantiate a new instance of the CefRequestWrapper
Was planning on using VC++ extensions methods, have yet to get that working, so for now just have a method on the IFrame interface directly.
2015-11-25 08:30:38 +10:00
amaitland
9b5cb27fb0
Add DevTools commands to WPF Example
2015-08-30 19:22:17 +10:00
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