Commit Graph

39 Commits

Author SHA1 Message Date
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 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 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 271eb2c277 Fixed the tab titles to be data-bound to the title of the web page they are displaying. 2014-03-15 22:27:01 +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
JanEggers b4201d1971 extended samples to show multiple instances work 2014-02-24 07:50:05 +01:00
Per Lundberg 1e06907f2d Start up in maximized mode by default. 2013-10-27 10:58:16 +02:00
Per Lundberg ea18663cc8 …and centering the window also looks a bit nicer. 2013-08-03 23:40:19 +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
Per Lundberg 709fa1237f Whitespace? 2013-07-24 10:04:15 +03:00
Per Lundberg e974c3ed7f …and use more opacity. 2013-07-24 10:03:55 +03:00
Per Lundberg ba0c078abc Make the window a bit bigger by default. 2013-07-24 10:03:29 +03:00
Per Lundberg 3e778a0803 Disabled stuff which isn't working properly at the moment, and made the URL textbox at least *display* the current URL being browsed to... 2013-07-24 10:03:02 +03:00
Per Lundberg c87e218f90 Started working on getting the actual painting to work. It now works, but only in a fixed-size region. :) Need to discuss a bit with the CEF guys on how to do this properly I think... 2013-07-23 19:30:53 +03:00
Per Lundberg c25c908a15 Just for fun… :-) Let's add an opacity slider also, with a subtle message in it. 2013-07-01 23:19:07 +03:00
Per Lundberg fa9a6e6d62 One XAML attribute per line is generally much better, especially when doing diff/merge operations. 2013-07-01 23:05:30 +03:00
Per Lundberg a9c35f843b Uncomment the usage of the WebView now that it works again. 2013-06-05 11:28:09 +03:00
Per Lundberg 0c3115288f WIP code, trying to figure out why we get a weird TypeLoadException... 2013-06-05 11:28:08 +03:00
Per Lundberg a90b103a07 Uncomment the usage of the WebView now that it works again. 2013-05-01 23:28:03 +03:00
Per Lundberg bf5894af52 WIP code, trying to figure out why we get a weird TypeLoadException... 2013-05-01 20:36:54 +03:00
anthony taranto d8848c70c5 add cookie visitor test to example/test menu 2012-07-30 19:34:57 -07:00
anthony taranto 117bf84dba Merge branch 'dev'
Conflicts:
	CefSharp.WinForms.Example/Browser.Designer.cs
2012-03-21 17:44:53 -07:00
anthony taranto 66bf4604bf add show/close dev tools to each example app 2012-03-19 18:18:25 -07:00
anthony taranto c58f7574ae MainWindow.xaml: remove unused bookmarks menu 2012-03-19 18:10:26 -07:00
Kevin Pullin 8af491593d Implemented LoadHtml/LoadString 2012-03-12 19:54:20 -07:00
anthony taranto d412239cbe add edit menu to example apps 2012-03-06 14:55:03 -08:00
anthony taranto 9e12a5ddb0 fix browser init logic, allow using BrowserSettings with Wpf.WebBrowser, init CEF if necessary, allow Wpf.WebBrowser to be used in xaml designer 2012-02-29 19:23:05 -08:00
anthony taranto df8eb39873 Wpf.WebView: Add paramless ctor 2012-02-29 16:41:09 -08:00
anthony taranto bfa19398ed reenable popup test 2012-02-28 19:29:05 -08:00
anthony taranto 5c61f41b50 rename tooltips to tooltip 2012-02-28 19:19:53 -08:00
anthony taranto ab91d467b0 wpf tooltips 2012-02-28 16:50:33 -08:00
anthony taranto 8644fed9b9 port winforms example to use presenter 2012-02-24 18:35:01 -08:00
anthony taranto 0079dd4501 move test logic into CefSharp.Example, run all example tests in wpf 2012-02-24 17:03:55 -08:00
anthony taranto a3ed304a15 rename example directories 2012-02-24 15:07:04 -08:00