amaitland
b92461f95b
Only set keyboard handler in Winforms example of using multiThreadedMessageLoopEnabled
2016-10-04 08:46:18 +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
pushplay
aba800a9c3
Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests.
2015-01-26 14:16:46 -08:00
amaitland
4562b984ab
Merge remote-tracking branch 'remotes/upstream/master' into cef/2171
2015-01-16 11:53:25 +10:00
amaitland
fce5f06362
Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
...
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users
Add JsDialogHandler that implements the default behavior
Assign in the WinForms example
Fix typo in IRequestHandler
2015-01-11 14:05:10 +10: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
0efff78f0d
Update examples to call RegisterJsObject in constructor
2014-12-12 13:16:59 +10:00
amaitland
5a869771e7
Update WinForms and WPF examples to represent the ResourceHandler changes
2014-12-09 12:50:37 +10:00
amaitland
9d0f62f589
Code Cleanup - Add license disclaimer, fix file encoding and remove extra whitespace
2014-12-09 08:17:41 +10:00
daveaton
83602ace7d
One small issue how to handle
...
Maybe I am over thinking it ... It probably should be handled like this.
http://www.eatoncode.com/shareit/2014-11-28_2031.png
but I still got an issue.
2014-12-08 20:55:21 +10:00
amaitland
056448d135
Add IsBrowserInitializedChanged and IsLoadingChanged event handler stubs to WinForms example
2014-12-08 14:19:16 +10:00
amaitland
eab35e7306
Merge branch 'feature/focus-handler-ext' of https://github.com/numbersint/CefSharp
2014-11-26 13:32:40 +10:00
Sylvain Hamel
492d22c8a3
Feature: Expose OnCertificateError to allow host application to decide whether or not it should continue
2014-11-25 15:51:55 -05:00
jankurianski
9c8fab9f89
Added DefaultFocusHandler with SelectNextControl behaviour.
2014-11-26 00:08:35 +11:00
jankurianski
3bbb01c6ef
Added IFocusHandler and WinForms example.
2014-11-25 22:29:35 +11:00
amaitland
6b30ea9368
Manually merge in Js Binding wip changes to the new WinForms tabbed example
2014-10-20 14:20:21 +10:00
jankurianski
ea64d04061
Browser now docks properly on startup
2014-10-14 10:10:24 +10:00
amaitland
2a1a472081
HACK: Set DockStyle.Fill on Browser Panel Paint
2014-10-13 16:36:57 +10:00