Commit Graph

91 Commits

Author SHA1 Message Date
Per Lundberg da81a98443 Moved the PropertyChangedExtensionMethods class, since it will be used from the WinForms example also. 2013-11-13 22:56:07 +02:00
Per Lundberg bb18af844c Minor cleanup. 2013-11-13 22:52:50 +02: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 15b351cda6 Harmonized a bunch of AssemblyInfos, and also made the copyrights a bit clearer. 2013-11-10 23:54:08 +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 105b800dd9 Whitespace fix. 2013-11-07 23:40:52 +01:00
Per Lundberg 1fed5d62a6 #159: Added DelegateCommand<T>, since we need it for the Run buttons that will let us run our Javascript code. 2013-11-07 23:40:04 +01:00
Per Lundberg 394287cf08 WIP on #159, trying to drastically refactor the subprocess (in C#, which is debuggable and hence a HUGE plus in what we are trying to achieve...). Will also consider using the C API for CEF, since I think it actually will suit us better. 2013-10-29 22:29:52 +02:00
Per Lundberg b6b43fd797 A futile attempt to try and get debugging of the subprocess working. It doesn't seem so easy to get Visual Studio to accept this one, unfortunately. 2013-10-28 00:10:49 +02:00
Per Lundberg 87d561616c Set up a horrible hack, inspired by http://stackoverflow.com/questions/12640878/force-visual-studio-to-rebuild-dependent-projects, to be able to "just press F5" and run the WPF Example. 2013-10-27 17:32:59 +02: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 1e06907f2d Start up in maximized mode by default. 2013-10-27 10:58:16 +02:00
Per Lundberg 154a2d7308 Reformatted comment. 2013-10-27 10:55:00 +02:00
Per Lundberg d767a94d06 Added special quirk to make it compilable on x86 also (not on x64 only. :-) 2013-10-23 22:44:33 +03:00
Per Lundberg 19f86dfca8 Removed the Debug x64 target, since it shouldn't have been added in the first place... 2013-10-23 22:43:47 +03:00
Per Lundberg 362c6fd3e3 Harmonized the targets so that all projects compile for either x64 or x86. No "AnyCPU" projects for the time being. 2013-10-23 22:38:03 +03:00
Per Lundberg c92d3e394f Added support for "custom schemes", albeit a bit broken at the moment because of assertions failing... 2013-10-01 21:25:07 +03: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 778a904686 Must copy the subprocess .exe also to the output folder, to be runnable. 2013-09-23 21:45:20 +02:00
Per Lundberg e5f951ae4a Changed to support x64. (and for the time being, unfortunately *only* x64…) A proper Win32 target should also be added asap. 2013-09-23 21:40:46 +02:00
Per Lundberg 346c8d53b4 This is now CefSharp 3.29.0.0, coming up eventually (probably not as a "stable" release until some more month(s) realistically speaking…). 2013-09-23 21:17:48 +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 ea18663cc8 …and centering the window also looks a bit nicer. 2013-08-03 23:40:19 +03:00
Per Lundberg ecc829ab31 KISS. 2013-08-03 23:39:24 +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 c88774a581 Duh… "Thou shalt not copy and paste code blindly from the internets". Obviously, it was a bit broken this time. :) 2013-07-29 09:33:24 +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 1aa2627495 Use the VS hosting process. 2013-07-24 10:03:16 +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