113 Commits

Author SHA1 Message Date
amaitland a58b6086c7 First 1750 feature - ShowDevTools/CloseDevTools 2014-10-03 16:41:17 +10:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland 68edca8d35 Add license disclaimer to all files in CefSharp project 2014-06-25 16:00:08 +10:00
JanEggers 0abd868f87 made parent processid private 2014-06-12 21:06:04 +02:00
JanEggers 7c8ed55335 we want to ignore the exception here 2014-06-12 21:05:29 +02:00
JanEggers bb9c5c0f7e typo 2014-06-12 21:05:09 +02:00
JanEggers d95d706929 make static classes static 2014-06-12 21:04:42 +02:00
amaitland 53117ad7f2 Move properties LifeSpanHandler, KeyboardHandler, JsDialogHandler from IWebBrowserInternal to IWebBrowser 2014-06-12 01:20:07 +03:00
JanEggers 6bbe660df0 Merge remote-tracking branch 'upstream/master' into ExplitImplementInternalInterface 2014-05-21 08:45:25 +02:00
amaitland 197dc10cd9 Add httpStatusCode to OnFrameLoadEnd 2014-05-13 16:57:49 +10:00
amaitland 59e437fa12 Add isMainFrame bool to OnFrameLoadEnd 2014-05-12 11:30:18 +10:00
amaitland b349a0d361 Add isMainFrame param to OnFrameLoadStart 2014-05-12 11:25:42 +10:00
JanEggers 1656150198 no chnages in method order this time 2014-03-29 23:09:13 +01:00
Per Lundberg c44b25fd18 Moved the region specifier to a place where it made more sense. 2014-03-21 23:17:28 +02:00
Per Lundberg d5a34290c7 Killed of some of the Base suffixes. We're quite close now. 2014-03-21 23:17:14 +02:00
Per Lundberg 6f099ea309 Standardized naming (no underscores). 2014-03-21 22:57:33 +02:00
Per Lundberg 8c40ab43cb Removed a bunch of superfluous usings. I eat superfluous code for breakfast! 2014-03-21 22:38:53 +02:00
JanEggers 56c8a50474 Merge remote-tracking branch 'upstream/master' into CefSharp.Core 2014-03-17 23:04:18 +01:00
JanEggers ae4cee8fad reverted task related stuff 2014-03-14 23:14:21 +01:00
JanEggers 0833476676 added new CefSharp Project 2014-03-09 13:57:28 +01:00
JanEggers a886d4a04e removed old files 2014-03-09 13:50:58 +01:00
Per Lundberg 0a2a2f19a0 Added some work towards #200. Almost working now, but for whatever reason the popup is misplaced the first time it gets opened (?). Very weird indeed. 2014-01-31 23:06:21 +02:00
Per Lundberg 4f2157691c Lots of refactorings and cleanups to make room for #200. We’re very close now; it’s just a matter of actually displaying the popup now, which should be fairly trivial, but has to be done some other day. 2014-01-31 23:06:21 +02:00
Per Lundberg 337b83309b Likewise; tabs are still evil… :) 2014-01-31 23:05:14 +02:00
Per Lundberg 042b76cc5e Started working on #200. 2014-01-31 23:05:14 +02:00
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 48f8f78cd4 #107: Split out the IWinFormsWebBrowser into a separate header file. Can unfortunately not keep this in the proper project (i.e. CefSharp.WinForms). 2014-01-13 09:17:28 +02:00
Per Lundberg 4ca000fb89 #210. The WinForms WebView isn’t an IRenderWebBrowser; that interface is solely for OSR-based controls. So let’s make it work to use IWebBrowserInternal instead. 2013-11-13 23:33:50 +02:00
Per Lundberg 8a6c83fa2f Got rid of stuff which isn’t implemented. We can add it later if/when needed. 2013-11-13 23:32:44 +02:00
Per Lundberg 468c51fdeb Bug fix related to #159. We cannot bind to an endpoint address already in use, so we must send in a request to terminate the endpoint if it’s already there… 2013-11-06 23:21:59 +01:00
Per Lundberg 07c3c0c3e3 Lots of work towards #159. 2013-11-06 22:52:18 +01:00
Per Lundberg 0f25926a84 WIP on #159. Will try to convert this now to C#, C++/CLI is such a PITA... and also, I cannot for some odd reason attach to the process with the debugger, which I hope I will be able to with C#. 2013-10-29 20:21:33 +02: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 240e2fdaec Added some [DebuggerStepThrough] for methods which you normally don't debug. 2013-09-24 09:59:54 +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 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 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 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 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 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 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 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