51 Commits

Author SHA1 Message Date
amaitland 9a7f427c29 Simplify WPF example opening of test Url's
(Should be very easy to add new Url's now)
2015-09-28 19:07:43 +10:00
amaitland 1843486050 Rename CefSharpPdfPrintSettings to PdfPrintSettings (inconsistent naming)
Add xml documentation to PdfPrintSettings
Change return type from Task to Task<bool> (exceptions are expensive and unnecessary)
Fix small bug in assigning HeaderFooterTitle and HeaderFooterUrl (values were switched)
Allow PrintToPdfAsync to accept nullptr for settings (use defaults)
Update xml documentation in various instances for PrintToPdfAsync
2015-09-20 18:43:06 +10:00
David Serfozo 6ecb0fc129 PrintToPdf API changed to use Tasks instead of callbacks 2015-09-19 13:28:52 +02:00
David Serfozo 021f6eb715 added printtopdf example 2015-09-19 12:33:50 +02:00
amaitland 3fac742403 Demo Post data for #1267 2015-09-16 16:01:48 +10:00
amaitland 561b50b2cd Register the same scheme twice to confirm parsing of command line arguments
Fix up some urls in the custom scheme popup test
Add PopupTest.html to WPF example menu
2015-09-16 09:05:52 +10:00
amaitland dac6030a81 Add DragDemo to WPF tests menu 2015-08-26 15:27:30 +10:00
amaitland c46807f100 Add some more demo examples to WPF example project 2015-08-12 09:25:37 +10:00
amaitland a017837320 Simplify Menu command bindings in WPF example 2015-08-12 09:18:30 +10:00
amaitland 39bc589991 Add w3school url to WPF example 2015-07-28 17:26:34 +10:00
amaitland 4ce9bc5463 Add IBrowser param to ILifeSpanHandler.OnAfterCreated 2015-07-28 17:19:50 +10:00
amaitland 7a940a9617 Add Open Plugins tab in the WPF example
Add system-enable-flash example to enable PPAPI otherwise it's disabled
2015-07-23 19:18:07 +10:00
amaitland 249c09c583 Add menu to WPF example
Can now easily open binding test example
TODO: Import tests from cefclient example
2015-07-09 12:21:59 +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 2d6fe8b237 Add x64/x86 to Window Title - easily determine which version user is running 2014-10-27 11:15:18 +10: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
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
Per Lundberg 6fcfc61ac3 Changed property name to make it more explicit what this one is about. 2014-04-30 23:38:28 +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
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
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 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
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 f06ab5bd82 Ah. There’s nothing more awesome than being able to delete a bunch of old code. :) 2013-11-13 17:51:53 +02: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 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 a10789749d Whitespace fixes. (My bad; C++ settings for VS2012 was incorrectly set to use tabs instead of spaces, leading to some noise in the diff.) 2013-06-05 11:28:11 +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
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 db440c7386 decruft 2012-02-29 16:19:07 -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