Commit Graph

45 Commits

Author SHA1 Message Date
Alex Maitland 92892c9b85 WPF - Add ChromiumWebBrowser.ToggleAudioMuteCommand
- Add new extension method to toggle audio mute
- Add new command to toggle audio mute
- Add new menu item to WPF Example

Resolves #3247
2022-10-25 12:32:01 +10:00
Alex Maitland 7dfead360e WPF - IWpfWebBrowser implement IInputElement
Simplify setting Focus from View model as now possible to call Keyboard.Focus(IWpfWebBrowser);

Resolves #3546
2021-06-04 15:10:41 +10:00
amaitland df3315923e WPF - Add IWpfWebBrowser.Paint/VirtualKeyboardRequested events to interface 2019-09-05 12:35:12 +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
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland afe758eb51 Use GhostDoc to generate bulk xml documentation - it's not perfect at least a lot of the interface doco has been copied into the
ChromiumWebBrowser instance classes
2016-06-15 13:44:16 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 77c11c3ad0 Move Title property from IWebBrowser to IWpfWebBrowser (not really required for WinForms and OffScreen)
TitleChanged EventHandler is now the best way to access these for WinForms and OffScreen
2015-08-13 21:36:18 +10:00
amaitland fbe8ccd61c Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen 2015-07-06 12:25:09 +10:00
amaitland bdec0cb880 Add ZoomLevel property to the IWpfWebBrowser interface 2015-04-28 10:43:10 +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
amaitland d316486426 Expose Dispatcher via IWpfWebBrowser interface - could be useful for Handler implementations 2015-03-18 21:34:20 +10:00
amaitland 414b2c0098 Improve Xml comment and add Invalidate method to IWpfWebBrowser interface 2014-12-08 12:17:54 +10:00
Jamie Casterline 409d6037b4 Added commands for cut, copy, paste, select all, redo, and undo 2014-10-30 13:17:29 -04:00
Per Lundberg 26e7a36d3e Forward-port of ec4e0650c6 from @amaitland: API cleanup - move non WPF specific commands from IWpfWebBrowser to IWebBrowser (The files had changed, so it was easier to just redo the change than trying to get the merge working). 2014-06-12 01:12:34 +03:00
Per Lundberg daadce8417 Simplified the documentation comments a bit. We don't need to prefix every single command description with "Command which"... :) 2014-06-02 13:04:39 -07:00
Per Lundberg 4b865946c3 Renamed the WPF control also, in line with how System.Windows.Controls.WebBrowser is actually named. 2014-06-02 13:00:03 -07:00
Per Lundberg f519566a48 Whitespace fix. 2014-06-02 12:54:57 -07:00
amaitland b5127d85f6 Improve IWpfWebBrowser comments (add missing punctuation and make other comments consistent). 2014-05-20 11:04:05 +10:00
amaitland a050f4a67c Add StopCommand to WPF WebView
Conflicts:
	CefSharp.Wpf/WebView.cs
2014-05-20 11:04:05 +10:00
JanEggers e04e36bd04 added cleanup command so resources get cleaned up if a user closes a tab 2014-05-15 20:18:42 +02:00
JanEggers ec377dced6 Merge remote-tracking branch 'upstream/master' into Fixed_Warnings 2014-05-05 18:44:58 +02:00
jornh ed3ab35918 Merge pull request #335 from jornh/feature/print-command
Add Print()
2014-04-19 06:52:36 +02:00
jornh 494f372f25 Merge branch 'cleanup/wpf-example-add-license' of https://github.com/amaitland/CefSharp into amaitland-cleanup/wpf-example-add-license 2014-04-18 09:26:46 +02:00
jornh 4b189261bb Merge branch 'feature/wpf-viewsource-command' of https://github.com/amaitland/CefSharp into amaitland-feature/wpf-viewsource-command 2014-04-17 09:49:25 +02:00
jornh 0b3d13265e Add Print() now that it's supported in the CEF 1650 branch 2014-04-17 09:41:12 +02:00
amaitland 389e2de969 Add license disclaimer
Remove an unused reference in MainWindow.xaml.cs
Fix comment for OnPropertyChanged event
2014-04-17 11:53:06 +10:00
amaitland 89ef1eea08 Added ViewSource DelegateCommand
Added Command to IWpfWebBrowser interface
2014-04-17 11:29:03 +10:00
jornh 09543e81e6 ah whitespace 2014-04-16 13:49:53 +02:00
jornh 00501fe8bb Merge branch 'feature/add-reload-overload' of https://github.com/amaitland/CefSharp into amaitland-feature/add-reload-overload
Conflicts:
	CefSharp.Wpf/IWpfWebBrowser.cs resolved manually
2014-04-16 13:30:39 +02:00
amaitland 7ca2dcddaf Fix code formatting - add missing space in ManagedCefBrowserAdapter
Fix code comment - Update Reload function code comment with suggestion in IWpfWebBrowser
2014-04-15 10:24:23 +10:00
Per Lundberg db48da5833 Added missing space + reformatted to fit into the "132 columns" rule. (will add that to the contribution guidelines) 2014-04-14 23:16:48 +03:00
amaitland 04af21434e Add Reload(bool ignoreCache) method overload allowing for force Reload of web pages 2014-04-14 18:03:23 +10:00
amaitland 4655401632 Fix Indentation
Fix indentation from previous commit (change from tabs to spaces)
2014-04-08 10:53:41 +10:00
amaitland 14107bebbb WPF ZoomIn/Out Functionality
Added GetZoomLevel and SetZoomLevel methods to ManagedCefBrowserAdapater
Currently unable to get GetZoomLevel to return any value other than 0,
comment in source says "This method can only be called on the UI
thread", so need to investigate that further. SetZoomLevel works as
expected.
Added WPF Commands for ZoomIn, ZoomOut and ZoomReset.
Added Dependency properties for ZoomLevel and ZoomLevelIncrement
Added content menu items for ZoomIn, ZoomOut and ZoomReset to Wpf
Example
2014-04-02 15:22:43 +10:00
JanEggers 3b09e72e1f fixed warnings 2014-03-29 23:42:17 +01:00
JanEggers 52bfa60c23 remaining stuff that i desired to put in on changeset 2014-03-09 14:11:37 +01:00
Per Lundberg d8ff9501b5 Added a Reload command and an accompanying button in the Wpf.Example. 2013-09-24 09:58:34 +02:00
Per Lundberg a88537f4c4 Fixed the WebBrowser to receive focus once page loading is complete, so that e.g. Google works in the expected way (you can start typing a search string immediately, without having to click the search field). 2013-08-03 10:13:18 +03:00
Per Lundberg 3b7f88c28f Fixed the IsLoading to be a (publicly documented) dependency property, and made it be updated more correctly. It turned out we should override OnLoadingStateChanged() also, so that we can properly detect isLoading = false, since OnLoadEnd is seemingly not always reliably called by CEF... 2013-08-01 22:31:38 +03:00
Per Lundberg d9df537b88 Implemented a basic ContextMenu, with Back, Forward and View Source available for now. 2013-08-01 15:00:03 +03:00
Per Lundberg 43b835cc08 Added the TItle here also, for documentary purposes. We should consider creating online documentation from our classes when their level of information is of a more decent level. 2013-07-31 08:58:48 +03:00
Per Lundberg 6c3a7d0304 Let's make this property be available also, so we can document it properly. 2013-07-31 08:42:35 +03:00
Per Lundberg f0c8f71ff3 Added XML comments. 2013-07-31 08:40:51 +03:00
Per Lundberg a33f3a1b89 Added new IWpfWebBrowser interface where we have the BackCommand and ForwardCommand. The name of this interface is certainly not perfect or elegant; we'll see if we can find a better name... 2013-07-30 11:10:27 +03:00