Commit Graph

15 Commits

Author SHA1 Message Date
Per Lundberg 39968f3ead #107: If the browser control implements IWinFormsWebBrowser, let’s use it for the menu handling. 2014-01-13 09:19:44 +02:00
Per Lundberg 3c163c82b0 Slightly OCD. ;) Let’s make the #include directives sorted, shall we not. 2014-01-13 09:18:51 +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 07fdc95232 Changed OnLoadError to use a CefErrorCode as the error code + implemented the CefErrorCode enum + added the LoadHtml() method into the IWebBrowser interface again, and implemented it in the WebView. 2013-08-03 09:52:45 +03:00
Per Lundberg 908e832b55 Refactored the ILoadHandler to be an event handler (LoadError) in IWebBrowser instead of a separate interface you have to implement (it only contained one method anyway, so a bit overkill). 2013-08-02 13:19:25 +03:00
Per Lundberg 3b7f88c28f Fixed the IsLoading to be a (publicly documented) dependency property, and made it be updated more correctly. It turned out we should override OnLoadingStateChanged() also, so that we can properly detect isLoading = false, since OnLoadEnd is seemingly not always reliably called by CEF... 2013-08-01 22:31:38 +03:00
Per Lundberg 5a5eae380a Changed the way we propagate the TooltipText to the browser control(s) to use a method instead of a property (which works better with WPF) + dropped it from BrowserCore. I suspect BrowserCore might be dropped in its entirety in the future; it adds a little bit of value but works poorly with "the WPF way". 2013-08-01 10:02:15 +03:00
Per Lundberg 3195ddb64c Use the Set* method pattern (like we already have with SetAddress), so we can do proper thread marshalling as needed. 2013-07-31 08:49:53 +03:00
Per Lundberg 2cf653d2ed More IWebBrowserInternal changes. 2013-07-30 08:28:44 +03:00
Per Lundberg cfcd3e4c8a I give up with this one. It makes more sense to have this as a string after all, so then we might as well use the previous name (Address). The "SetAddress" method is internal and shouldn't really be used from the outside. We might be closing in to the point where we should split IWebBrowser into two parts - IWebBrowser (which is exposed to external consumers) and IWebBrowserInternal (an internal interface mostly needed between CefSharp and CefSharp.Wpf/CefSharp.WinForms). 2013-07-29 09:47:51 +03:00
Per Lundberg 2fe11224de Got rid of ContentsWidth and ContentsHeight, which seems hard (or at least non-obvious) to support w/ CEF3 and I don't really see why we need it in the first place. "Less software". :) 2013-07-23 22:17:22 +03:00
Per Lundberg 4c4114caa1 Adjustments to the Uri vs string debacle. It may not be possible to use Uri all throughout, and we should probably make it possible to use either form (string or Uri) in the method overloads. 2013-07-22 22:55:44 +03:00
Per Lundberg 26e972f009 Fixes to make the RenderClientAdapterInternal be able to be instantiated, and implemented a very basic managed RenderClientAdapter version. 2013-07-22 13:44:27 +03:00
Per Lundberg 693b51b54a Updated the DownloadHandler stuff to (hopefully) work with CEF3. :) 2013-07-20 20:30:33 +03:00
Per Lundberg 63de9d52da …and in the Internals folder. 2013-07-20 18:30:32 +03:00