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
amaitland
c7b9d07008
BrowserTabUserControl - Mark DllImport as private
2019-04-16 15:16:58 +10:00
Chris
e22d1c2fd2
Removed IsBrowserInitializedChangedEventArgs ( #2710 )
2019-04-10 19:51:34 +10:00
Alex Maitland
574bc16db2
BrowserTabUserControl - Add xml doc to SetupMessageInterceptor
2019-02-28 15:16:08 +10:00
merceyz
3eee0d6787
WinForms.Example - Fixed message interceptor not working after a render process switch
2019-02-17 20:24:27 +01:00
amaitland
4f71295941
CefSharp.Example - Move example classes into handlers/javascriptbinding folders/namespaces
...
Basic code cleanup
2018-10-29 16:21:42 +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
1107a1a894
WinForms Example - Set FocusHandler to null when multiThreadedMessageLoopEnabled = false
...
It's not required when multiThreadedMessageLoopEnabled = false and can interfere with
the system onscreen keyboard used by touch screen.
2018-07-23 21:18:44 +10:00
amaitland
c37dbcd06a
Remove Geolocation API and Upgrade version numbers to 65
2018-03-17 21:31:25 +10:00
amaitland
fbce2d61de
WinForms Example - Update LifeSpanHandler example to host popup in Tab (notify popup of move and resize)
2018-01-30 15:01:38 +10:00
amaitland
3334d71fc4
WinForms Example - Add binder to registered objects
...
Required to run BindingTest.html
2018-01-24 10:03:26 +10:00
amaitland
44b7600600
WinForms Example - Add additional JS binding
2018-01-23 21:35:23 +10:00
amaitland
679cdb5b11
JSB ResolveObject WcfEnabled = false throw exception if attempt to register sync object
...
Update the examples to use newer Register method as Legacy options is disabled by default
2018-01-22 11:02:23 +10:00
amaitland
6a437710b6
WinForms example use args.IsLoading rather than !args.CanReload
2017-03-06 08:55:07 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
amaitland
81366fc11f
Only set keyboard handler in Winforms example of using multiThreadedMessageLoopEnabled
2016-10-04 13:55:05 +10:00
amaitland
3f70d10538
Only hook into the Chromium message loop if we're using multiThreadedMessageLoop - no need if they're running in the same thread
2016-09-08 08:53:28 +10:00
Alex Maitland
d4feffb554
Feature - Add IBinder ( #1749 )
...
* Add basic ModelBinding which was imported from NancyFx framework - more can be stripped out that's unused
* Add IBinder as a param when registering an object for binding
Binding is disabled by default
* Add license and remove unused using statements
* Make bind method virtual to allow for overriding
Make methods protected
* Add very basic collection support - only primitive types supported for now.
Remove unused exceptions
* Support binding a list of sub objects
* Add null check for null params
* Add BindingOptions class - remove binder and CamelCaseJavascriptNames properties - allow for additional options in the future
Breaking change.
* Add support for List<object> binding type
2016-07-20 13:38:24 +10:00
amaitland
04885eb6d5
Add webkit.webprefs.minimum_font_size example, see that preferences are being set correctly
2016-06-13 19:07:26 +10:00
amaitland
509ab98b05
Add example of disable spell checking through preferences
2016-04-20 07:45:54 +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
38254a59d5
Rewrite ChromeWidgetHandleFinder to use a GCHandle - much cleaner method of interfacing with dllimport
2016-04-11 07:52:10 +10:00
amaitland
7f1f1c5f21
Add example IDisplayHandler.OnFullscreenModeChange to WinForms example - reparent ChromiumWebBrowser control to demo switching to fullscreen, little bit of screen resize which isn't perfect, it works ok though.
2016-03-30 10:58:05 +10:00
amaitland
dd7ea823a3
Add PopupFeatures and BrowserSettings to OnBeforePopup
...
Update WinForms popup example - comment out experimental feature
Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)
Resolves #1586
2016-03-07 18:58:56 +10:00
amaitland
c4f6a4538e
Running without multithreadedmessageloop would have shown the messagebox when mouse down
2016-03-02 08:32:55 +10:00
amaitland
919c43df19
Demo forwarding left mouse button down - show message box on click, currently commented out
2016-03-02 07:50:54 +10:00
amaitland
8de2257e27
Remove some unused code from the WinForms example
2016-02-25 08:23:10 +10:00
amaitland
8a93ba6564
Demo setting and then getting a reference - using enable_do_not_track an example
2016-02-02 07:35:38 +10:00
amaitland
072ca4cc97
Add IResourceHandlerFactory and IResourceHandler example - downloads a specific swf file using the .Net WebRequest class and returns the response
2016-01-18 18:32:44 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
amaitland
af05e56c12
Reformat inline js (use @ notation so much of the string encapsulation can be removed)
...
Make ScriptedMethods class static and convert the methods into extension methods (really just for the hell of it)
Make some of the comments a little less verbose in terms of number of lines
Some Resharper inspired simplifications
Other code reformatting to make consistent with other parts of the project (switch case statements should have braces, ContinueWith blocks reformatted to match others)
Untabify ScriptedMethodsTest.html
Remove unused usings from ScriptedMethods
Add a few comments about camelCaseJavascriptNames
2015-12-30 09:57:34 +10:00
Rich McNeary
f1197acc78
Add menu to demonstrate javascript evaluation / execution.
2015-12-28 14:29:25 -05:00
amaitland
d33c41ec5d
Remove unused include
...
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
Rich McNeary
7d4e074ef4
Move OnFocusedNodeChanged into new IRenderProcessMessageHandler.
2015-12-08 09:32:54 -05:00
amaitland
190178e79e
Only enable WCF if a bound object has been registered
...
Fixes #1272
2015-09-18 13:56:43 +10:00
amaitland
fff0808693
Demo opening OnOpenUrlFromTab - rough example
2015-09-18 13:22:11 +10:00
amaitland
326aaf70f8
Move handlers to their own namespace and create an implementation of LifeSpanHandler to deal with custom popups
2015-08-03 17:57:01 +10:00
cefsharp-ms
f74b245e9b
added examples for async bindings
2015-07-31 17:17:48 +02:00
jankurianski
786cf354bc
ChromeWidgetMessageInterceptor made generic; added mouse event example.
2015-07-23 16:45:02 +10:00
jankurianski
1301e941ce
Add ChromeWidgetMessageInterceptor to WinForms Example
...
Addresses #570
2015-07-22 22:34:02 +10:00
rassilon
eab58306c1
Merge remote-tracking branch 'origin/master' into development
...
Merges master into the formerly cef/2272 branch.
Conflicts:
CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
CefSharp.BrowserSubprocess.Core/packages.config
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp.Core/Internals/ClientAdapter.cpp
CefSharp.Core/Internals/ClientAdapter.h
CefSharp.Core/packages.config
CefSharp.Example/RequestHandler.cs
CefSharp.Example/TempFileDialogHandler.cs
CefSharp.OffScreen.Example/packages.config
CefSharp.Test/packages.config
CefSharp.WinForms.Example/packages.config
CefSharp.Wpf.Example/packages.config
CefSharp/IDialogHandler.cs
CefSharp/IKeyboardHandler.cs
CefSharp/IRequestHandler.cs
build.ps1
2015-06-10 11:31:16 -04:00
rassilon
fd0f8499fc
Add example Ctrl-T menu handler that gets invoked when you have focus inside browser.
2015-06-09 23:29:09 -04:00
amaitland
d55ea0c90e
Rename NavStateChanged to LoadingStateChanged
2015-04-08 11:09:37 +10:00
amaitland
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
9c77f20c39
Add example LoadError handler to WinForms example
2015-03-12 10:53:39 +10:00
Bill Tutt
7c7ba1dbb6
#785 : Fix IDisposable pattern usage in WinForms ChromiumWebBrowser and WinForms.Example BrowserTabUserControl.
2015-02-03 19:50:16 -05:00
amaitland
b0bff1356b
Merge remote-tracking branch 'remotes/upstream/master' into enhancement/focus-take4
2015-02-03 22:35:57 +10:00
amaitland
0efce4e836
Add DownloadHandler to both WinForms and Wpf examples
2015-01-30 15:02:01 +10:00
amaitland
6e30c097dd
Another attempt at getting focus to work correctly - Simplest approach possible this time
2015-01-29 20:58:47 +10:00