Commit Graph

33 Commits

Author SHA1 Message Date
Alex Maitland 02e3084af3 Add Chromium Extension Support (#2613)
* Add Chromium Extension Support

Add IRequestContext.LoadExtension
Add IExtensionHandler
Add IExtension
Add example (import from cefclient) - was added to CefSharp.WinForms.Example projct
Add RequestContextExtensions - to make loading an extension slightly easier
2018-12-31 13:12:10 +10:00
amaitland 2612c68002 Add IBrowserHost.RunFileDialog
Demo added to WinForms project

Resolves #2594
2018-12-28 13:39:33 +10: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 20b1200010 WinForms Example - Add httpbin.org url to test menu 2017-02-24 09:02:04 +10:00
amaitland b3ae966a54 WinForms Example - Add Ctrl+W close shortcut key 2016-12-21 16:09:24 +10:00
amaitland a94bbdd593 Demo loading a base64 data encoded url 2016-05-28 07:24:14 +10:00
amaitland ca074ab4f2 Add PrintToPdf example to WinForms example project 2016-04-12 12:39:38 +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
Rich McNeary 5691669df3 Initial script examples. 2015-12-14 14:54:04 -05: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
rassilon b910a1f2fa Minor review cleanups. 2015-04-16 18:51:37 -04:00
rassilon 06e26f132d GetZoomLevel is required to be called from the UI thread, but it has a failure mode of just returning 0. Here's a cheesy temporary solution to adding a full on GetZoomLevelAsync method that returns a .Net task. 2015-04-16 15:15:01 -04:00
amaitland 742ef8ee32 Add Alt->F shortcut key to WinForms example 2015-01-06 16:21:26 +10:00
amaitland 8f7254e5ca Merge remote-tracking branch 'remotes/upstream/master' into feature/winforms-tabbed 2014-10-13 15:39:59 +10:00
amaitland a58b6086c7 First 1750 feature - ShowDevTools/CloseDevTools 2014-10-03 16:41:17 +10:00
amaitland 4f60818744 Add CloseDevTools option 2014-08-26 17:54:23 +10:00
amaitland def3790d9a Show DevToolsUrl in browser tab next to currently active tab (still needs some work as layout doesn't update properly) 2014-08-25 17:19:08 +10:00
Adrian Phinney 96bdad96d4 Add StatusMessage examples for WPF/WinForms. 2014-08-12 09:25:33 -04:00
amaitland b7e29dacd0 Add print menu item 2014-07-01 12:05:50 +10:00
amaitland e9b35654c5 Add menu item stubs 2014-07-01 12:05:50 +10:00
amaitland 4162db8d66 Add Close menu item (force of dispose when closing of tab) 2014-07-01 12:03:58 +10:00
amaitland 9b13fd8ef1 Add New Tab menu item 2014-07-01 12:03:58 +10:00
amaitland 16ad577f7b First run at implementing TabControl 2014-07-01 12:03:57 +10:00
jornh cc252db9f8 Remove sync over async GetSource() WinForms example 2014-06-01 18:37:57 +02:00
amaitland aa1f2725a9 Add GetSource() Sync method and WinForms example usage 2014-05-29 12:59:51 +10:00
amaitland 325a895ed5 Fix formatting and change text for find previous and find next buttons 2014-05-15 10:08:15 +10:00
amaitland de85119938 WinForms Example - Implement Find Next/Previous 2014-05-14 17:17:50 +10:00
amaitland 2be007588f Implement Exit MenuItem 2014-05-07 17:27:13 +10:00
amaitland 2a242176b1 Add Back/Forward Click Event Handlers 2014-05-07 17:08:47 +10:00
amaitland 8e89e01cce Load Url when Enter pressed or Go button clicked 2014-05-07 15:45:09 +10:00
Per Lundberg c522329b9b #210 Let’s kill of a bit of stuff which doesn’t really work anyway. 2013-11-13 18:06:22 +02:00
Per Lundberg bb7c9f5605 #210 Renamed the Browser class BrowserForm instead, since it is a Form. 2013-11-13 18:01:10 +02:00