149 Commits

Author SHA1 Message Date
jankurianski f72ca6a8e7 All projects now target .NET 4 Client Profile. 2014-10-07 18:38:43 +11:00
amaitland af8a9f7b3a Update to non -pre packages 2014-10-02 19:46:08 +10:00
amaitland 32393d93a5 Update AssemblyInfo.cs in both examples to include correct version and consistent attributes 2014-09-29 20:51:42 +10:00
amaitland e33290a308 Upgrade to -pre2 2014-09-29 19:11:09 +10:00
amaitland 246cdd3bf2 Re-Add CefSharp.Native.props - needed for browser subprocess 2014-09-26 15:58:09 +10:00
amaitland 47c932afad Remove CefSharp.Native.props - no longer required with latest nuget 2014-09-26 14:23:03 +10:00
amaitland d79bc6ec0e Import cef.redist into CefSharp.Wpf.Example.csproj 2014-09-26 14:17:48 +10:00
amaitland 6068136866 Remove old build target from CefSharp.Wpf.Example.csproj 2014-09-26 14:05:48 +10:00
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
amaitland fff9422e52 Rename ExamplePresenter to RequestHandler (Alex had also removed old commented out code, but I am moving that part of the change to a separate commit to help git/SourceTree better understand that the file has been renamed, so we preserve history etc)
Conflicts:
	CefSharp.Example/ExamplePresenter.cs
2014-06-12 01:53:46 +03:00
amaitland ff03b13a33 Create CefExample class to house common Init() and DefaultUrl
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs
2014-06-12 01:49:37 +03:00
amaitland 8b4c1f79f7 Change public commands to be straight ICommand (easier for them to be replaced if we implement an mvvm framework later) 2014-06-11 23:49:07 +03:00
amaitland f2510c31a1 Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs) 2014-06-11 23:46:42 +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
jornh efe0e7a11c Polish OnBeforePluginLoad handler example code a bit.
For safety towards side effects in other code keep ExamplePresenter disabled for now though.
2014-05-25 21:11:42 +02:00
jornh 7265a0da3b Merge branch 'RequestHandlers' of https://github.com/fraenke75/CefSharp into fraenke75-RequestHandlers
Manual resolution including adding DECL OVERRIDE to the added virtual function in ClientAdapter.h
2014-05-25 17:12:35 +02:00
fraenke75 22c1ccef0c Added the usage of the OnBeforePluginLoad to the ExamplePresenter 2014-05-22 17:30:07 +02:00
JanEggers 4a231544fd fixed whitespace (contained tabs) 2014-05-17 05:59:17 +02: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
amaitland 260f8b1f39 Rename LoadCompleted to FrameLoadEnd (event is actually triggered when the loading of each frame is complete) 2014-05-12 14:09:30 +10:00
JanEggers ec377dced6 Merge remote-tracking branch 'upstream/master' into Fixed_Warnings 2014-05-05 18:44:58 +02:00
JanEggers 519c6d3625 ignore unused events 2014-05-05 18:44:46 +02:00
Per Lundberg f7e5b56f16 Add some margin between the X and the title. 2014-04-30 23:39:49 +03:00
Per Lundberg 991e442712 Less whitespace to the people. 2014-04-30 23:39:37 +03:00
Per Lundberg 6fcfc61ac3 Changed property name to make it more explicit what this one is about. 2014-04-30 23:38:28 +03:00
amaitland a89387561a Remove default value from constructor, keeps setting of URL's in one place (in MainWindow) 2014-04-30 23:34:08 +03:00
amaitland 1fb6a37814 Remove ViewSourceCommand from ViewModel, instead using the newly implemented command on WebView instead 2014-04-30 23:33:41 +03:00
Per Lundberg 86e928add2 Added an ItemTemplate with a Close button. 2014-04-30 23:33:02 +03:00
Per Lundberg ebba8df329 Ah, apparently I missed these ones earlier. The downside of trying to be minimalistic I guess. ;) 2014-04-30 23:32:25 +03:00
Per Lundberg 23864d64a6 We also need a ContentTemplate, so we display stuff appropriately. 2014-04-30 23:31:34 +03:00
Per Lundberg b745f7bf13 Set up bindings for Ctrl+T and Ctrl+W, to Open and Close tabs respectively. 2014-04-30 23:30:47 +03:00
Per Lundberg 8d0974880f Cleaned up the way we used the tab, by binding to a collection of BrowserTabViewModels instead. We could clean this up even further by moving stuff out from MainWindow to a MainView & MainViewModel (to achieve a fully code-behind-free approach), but let’s start with this. :) Similarly, based on @amaitland’s changes, only splitting them more aggressively. 2014-04-30 23:29:41 +03:00
Per Lundberg 1ad34edc90 Added custom TabItem style, with some triggers to make Selected and non-selected tabs look different (to make it easier to distinguish them from each other). 2014-04-30 23:23:35 +03:00
Per Lundberg d0021be6f5 Added custom DataTemplate for BrowserTabViewModels, so we can use the TabControl in a much more MVVM-oriented fashion than previously. 2014-04-30 23:22:29 +03:00
Per Lundberg d546da5c71 Added the NonReloadingTabControl, with an appropriate (slightly customized) style. Based on 8bddd309e1 by amaitland, but slightly tweaked so we make each commit even more minimalistic in nature. 2014-04-30 23:19:59 +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
fraenke75 1b66115fae Reverted changes which should not be committed 2014-04-22 16:40:33 +02: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
Per Lundberg ce1d9fcd0c ...and also refer to just "the CefSharp Authors", since the CefSharp Project is not really a legal entity in its own. 2014-04-15 22:46:47 +03:00
Per Lundberg 5a9790c076 Fixed copyright to indicate that we are now on the 2014 side of things. 2014-04-15 22:46:25 +03:00
fraenke75 413567a028 Added CefRequestHandler.OnBeforePluginLoad 2014-04-10 15:59:45 +02: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 2c819bdfd6 moved Class as requested by todo and added some comments 2014-03-29 10:35:52 +01:00
Per Lundberg fd20a062dc #212: Why not go ahead and make a proper tabbed browser while we're at it... :) 2014-03-21 23:47:30 +02:00
Per Lundberg 7ad4fb56be Only show the sidebar on the first tab. 2014-03-21 23:28:48 +02:00