38 Commits

Author SHA1 Message Date
Adrian Phinney 96bdad96d4 Add StatusMessage examples for WPF/WinForms. 2014-08-12 09:25:33 -04:00
amaitland a9cf8c30ab Fixed webView to browser commit 2014-06-12 12:37:02 +10:00
amaitland 36503b616c Assign RequestHandler in BrowserTabView 2014-06-12 01:55:34 +03: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
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
jornh ed3ab35918 Merge pull request #335 from jornh/feature/print-command
Add Print()
2014-04-19 06:52:36 +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 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
Per Lundberg 7ad4fb56be Only show the sidebar on the first tab. 2014-03-21 23:28:48 +02:00
Per Lundberg bb38c5ec3f Don't set the MainWindow Title then, since it just makes things confusing. 2014-03-15 22:27:15 +02:00
Per Lundberg caeac08cfa Let's start working towards a "tabbed browser" instead of the OneBrowser/ManyBrowser approach. 2014-03-15 22:16:59 +02:00
Per Lundberg 4c958cdfcb Fixed a much better example for the eval/exec JS stuff. Closes #209. 2013-11-10 23:16:29 +02:00
Per Lundberg 726bcd3814 #209. Let’s try to avoid the “everything-is-glued-together” style of UI… 2013-11-08 22:51:14 +01:00
Per Lundberg cedbbc4394 #209. Fixed the JS execution UI to be a bit more reasonable, at least. 2013-11-08 22:49:47 +01:00
Per Lundberg 4df9ef32c6 Let’s move the backing fields closer to the actual properties which exposes them. 2013-11-08 22:10:53 +01:00
Per Lundberg 1c4dcc1a31 #209. Added exception handling for the evaluate/execute JS stuff. 2013-11-08 08:11:53 +01:00
Per Lundberg 577c78108f #209. Added a UI for these parts (simple JavaScript execution, optionally synchronous). 2013-11-08 00:39:41 +01:00
Per Lundberg 0db35592fe Added a nice little Home button, which does what you would expect it to. 2013-10-27 12:34:57 +02:00
Per Lundberg 154a2d7308 Reformatted comment. 2013-10-27 10:55:00 +02: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 1575522472 LightGray was too dark, so let's make it slightly lighter. 2013-09-18 22:10:13 +03:00
Per Lundberg d0e009bb26 Added test case for #161. 2013-09-18 21:58:11 +03:00
Per Lundberg cfaba364cb #157: Made it possible to override BrowserSettings, and added an example of how it can be done. 2013-08-26 22:37:41 +03:00
Per Lundberg 04654e70e5 Dropped an xmlns usage that wasn't used. 2013-08-26 22:34:34 +03:00
Per Lundberg d04d294cde Added some disabled debug code. 2013-08-05 23:20:08 +03:00
Per Lundberg 244afea29f Changed from a GroupBox to Expander for WPF tweak stuff, which is really only useful when you want to play around... 2013-08-03 23:38:00 +03: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 27e5126bee Implemented a simple LoadError handler. 2013-08-03 09:52:59 +03:00
Per Lundberg dbff9c370f Added a nice little StatusBar, with working IsLoading progress indication! Also display the console message in this bar. 2013-08-02 09:43:14 +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 a2aeffb623 Handle the IWpfWebBrowser.Title property and use it to update the title of the MainWindow. 2013-07-31 08:57:46 +03:00
Per Lundberg 15bb067173 Fixed up the watermark opacity to look much, much cooler. 2013-07-30 23:33:52 +03:00
Per Lundberg 75d1fef4e1 Select the text in the textbox once it gets focus, for a more user-friendly browsing experience. 2013-07-30 22:38:31 +03:00
Per Lundberg 106f433597 Implemented the Back and Forward functionality. 2013-07-30 11:10:53 +03:00
Per Lundberg d8d50bbe88 Made it possible to navigate to a new URL in the WebView, and started using this feature in the WPF example. 2013-07-30 08:13:04 +03:00
Per Lundberg 73787825fb Let's try to do things in a more MVVM-orthodox way. This is one of the first steps on a quite long journey I believe… The previous CefSharp.Wpf.Example was (in my opinion) slightly badly designed in that it too much tried to "reuse" code between the WPF and WinForms examples. Now, this is good from a CefSharp maintainability standpoint, but it really means that you will "dumb down" the WPF one in a way that feels very unnatural to me. WPF is WPF and should be done in a certain way (to take advantage of the platform), and WinForms is an entirely different beast. So, I feel that it is very much OK if these sample apps diverge much more, so that we demonstrate CefSharp usage in a more realistic, close-to-real-life way than has been the case before. 2013-07-28 22:45:28 +03:00