Commit Graph

2231 Commits

Author SHA1 Message Date
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 805e20e4c1 Modified to be compilable for x64 (also, in addition to x86 which was already supported). 2013-09-23 21:14:55 +02:00
Per Lundberg 0df64691e5 Forward-ported the fixes for #161 to CefSharp 3. 2013-09-18 21:57:51 +03:00
Per Lundberg 632f0161f1 #159: Changed the IJavascriptProxy.EvaluateScript() method signature a bit, to try and get it working with the cross-process scenario which is a reality w/ CEF3. 2013-09-02 22:56:06 +03:00
Per Lundberg d5d3c1eccc Started working on #159. We now have a dummy (WCF) service in the subprocess, which we are able to call from the main process. The next step is to try and make it execute Javascript in the proper CefFrame. Might not be so incredibly simple, but we'll have to give it a try and see. 2013-08-28 23:01:46 +03:00
Per Lundberg 450e3df499 #138: Added a new BrowserSubprocessPath property, to be able to support the "minimal subprocess" approach suggested by the CEF FAQ. 2013-08-22 22:55:33 +03:00
Per Lundberg 51034021a2 Added (quite significant) TODO. 2013-08-05 23:19:10 +03:00
Per Lundberg c69821a1bf Added EvaluateScript() also, which fails because of the architectural changes in CEF. I have some ideas about how to approach this, but I believe we should fix #138 first. 2013-08-05 23:19:00 +03:00
Per Lundberg bddd72b0ad WaitForSingleObject() takes a DWORD as a parameter, so we might as well. 2013-08-05 23:02:08 +03:00
Per Lundberg 16750c3481 Fixed a simple ExecuteScript method in the IWebBrowser interface. 2013-08-05 22:56:04 +03:00
Per Lundberg e0fb9b1868 Added back the ScriptCore stuff. This is now based on the CEF1 way of doing things, which is clearly not optimal for use with CEF3. Is it even permissible? Time to find out... 2013-08-05 22:39:57 +03:00
Per Lundberg 2af420ff28 Methods must be public to be callable from the outside... 2013-08-05 22:39:17 +03:00
Per Lundberg ac93411a51 …as well as in the actual class definition. 2013-08-05 11:57:48 +03:00
Per Lundberg bb2014c79c Use plural form here also. 2013-08-05 11:57:35 +03:00
Per Lundberg 3e3fa08c3a Started working on the Javascript integration. TypeUtil now compiles, with quite little work. 2013-08-05 11:54:45 +03:00
Per Lundberg 6ae41303df Added standard copyright header. 2013-08-05 11:50:08 +03:00
Per Lundberg e35a672961 Got rid of the (defunct and partially commented out) Popup code. We didn't have full OSR popup handling anyway; what might be worthwhile is perhaps trying to detect popup windows being opened so you can open them in a separate tab or similar. There has been some discussion about our current popup handling so perhaps someone wants to step up and work on it eventually. 2013-08-03 23:05:29 +03:00
Per Lundberg 43238ca095 RegisterJsObject should be in IWebBrowser, so we can more easily utilize it from unit tests. 2013-08-03 22:58:30 +03:00
Per Lundberg 10799b3ab5 One more try… Closes #140. 2013-08-03 22:31:56 +03: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 d9df537b88 Implemented a basic ContextMenu, with Back, Forward and View Source available for now. 2013-08-01 15:00:03 +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 8e4fea977e Let's add the LoadCompleted event to the public IWebBrowser API also, and document it at the same time. 2013-08-01 09:36:28 +03:00
Per Lundberg e977348ea9 Added XML documentation here also. 2013-08-01 09:29:59 +03:00
Per Lundberg f5d13ce69b Moved the ConsoleMessage out to the (public) IWebBrowser interface, and documented it at the same time. 2013-08-01 09:29:42 +03:00
Per Lundberg 26960ba908 Tabs are, as we all know, inherently evil. :-) 2013-08-01 09:23:03 +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 fec6d82fc6 Remove the lParam parameter in SendKeyEvent(), since we didn't use it. Unused parameters are evil and should be removed asap, with no mercy. 2013-07-30 22:50:30 +03:00
Per Lundberg c7c5e07789 Added convenience mehtod for getting the MainFrame of the CefBrowser more easily. 2013-07-30 11:09:22 +03:00
Per Lundberg da7064b5d9 Got rid of Back(), Forward() and CanGoBack/CanGoForward in this interface. Will be implemented slightly differently instead. 2013-07-30 11:09:04 +03:00
Per Lundberg 4d2c795127 Exposed the GoBack and GoForward methods, to allow basic use of the browser history. 2013-07-30 11:08:34 +03:00
Per Lundberg f363715d0f Added InternalsVisibleTo so we can make stuff internal (a.k.a private) which is only shared between the different CefSharp assemblies, and not indended for public prying... 2013-07-30 10:44:56 +03:00
Per Lundberg 4245abdee4 Should also be private, i.e. internal. 2013-07-30 08:29:44 +03:00
Per Lundberg 2cf653d2ed More IWebBrowserInternal changes. 2013-07-30 08:28:44 +03:00
Per Lundberg ed30f86375 Started moving much of the stuff over from IWebBrowser.h over to IWebBrowserInternal. The idea is to try and make IWebBrowser more of a clean-room implementation, perhaps also more adapted to WPF (if possible). 2013-07-30 08:26:21 +03:00
Per Lundberg 9ef645613e Updated IRenderWebBrowser.h reference. 2013-07-30 08:25:05 +03:00
Per Lundberg 4add4f50e6 Let's make this one internal now, since it's not really a part of our public API. 2013-07-30 08:23:40 +03:00
Per Lundberg f3c7c6b849 Added a LoadUrl() method, for loading a new URL in the existing CefBrowser. 2013-07-30 08:12:28 +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 27d51ae238 Bug fix for SendKeyEvent. Should always return something. 2013-07-29 09:21:20 +03:00
Per Lundberg b2d214f9e1 Started working on the DevTools stuff, which is seemingly non-trivial since we can no longer just call a method but need to open up the devtools URL ourselves. 2013-07-28 22:05:38 +03:00
Per Lundberg ac9d1cfeb0 Added the RemoteDebuggingPort, which is needed to get the DevTools working w/ CEF3. 2013-07-27 21:40:15 +03:00
Per Lundberg 85f2778d63 Sorted the properties alphabetically, to make it more maintainable. 2013-07-27 21:36:34 +03:00
Per Lundberg 33dc7460d3 Renamed the class also, since "Settings" isn't really clear enough IMHO. 2013-07-27 21:33:47 +03:00
Per Lundberg 0701d40264 Settings.h is now CefSettings.h 2013-07-27 21:27:25 +03:00
Per Lundberg b2418b00b1 RenderClientAdapter is now CefBrowserWrapper, and RenderClientAdapterInternal has been freed of the quite pointless "Internal" suffix. 2013-07-27 19:23:54 +03:00
Per Lundberg fb620a2da4 Don't explicitly delete the object since it's being refcounted, which means that the destructor runs twice if we delete it manually. Hopefully closes #140. 2013-07-27 19:15:44 +03:00
Per Lundberg 3df09291a2 InvokeRender isn't used any more, now that #146 is (hopefully) resolved. 2013-07-27 19:05:00 +03:00