Commit Graph

528 Commits

Author SHA1 Message Date
amaitland b349a0d361 Add isMainFrame param to OnFrameLoadStart 2014-05-12 11:25:42 +10:00
JanEggers c9ce4b6732 added reflection code in browser process 2014-05-10 20:36:47 +02:00
JanEggers 0ef76dca05 wire calls from the renderprocess with the objects in the browserprocess 2014-05-10 20:01:35 +02:00
JanEggers 363734e0aa next step: metadata can be transported via wcf and is automatically converted to wrapper objects so we have fields to store native stuff 2014-05-10 17:26:57 +02:00
JanEggers e8d60b32c4 added some more meta data 2014-05-10 15:44:00 +02:00
JanEggers 786d48b486 first level of indirection: use metadata to describe the objects / functions that should be bound to the window 2014-05-08 20:15:48 +02:00
JanEggers 83cfa9e7a3 removed redundant code and added wrapper objects to couple handlers with metadata from browserprocess 2014-05-08 20:12:57 +02:00
Per Lundberg aac82c3ff5 Let's skip the Error() callback for now; we can add it later if we turn out to need it. Instead, added callback methods which will be used for property getting/setting as well as method invocation. 2014-04-08 18:17:10 +01:00
Per Lundberg a9a016eecf SubprocessProxyFactory is a better name of this one, since that more accurately describes its purpose. 2014-04-08 18:49:58 +02:00
Per Lundberg caae3d87ea Added quite significant TODO comment. Jan - feel free to elaborate on this (but as always, make a PR which is very small and only fixes one specific problem in that case). 2014-04-08 17:06:54 +02:00
Per Lundberg 07943e55eb Fixed the helper method to create the actual ISubprocessProxy instance and not just the channel factory (which is kind of uninteresting anyway...). 2014-04-05 00:05:39 +03:00
Per Lundberg 68bfbc92ea And with this... 2014-04-04 22:51:02 +02:00
Per Lundberg ecbc5ca547 Likewise with this one: prefer ISubprocessProxy rather than ISubProcessProxy. 2014-04-04 22:49:04 +02:00
Per Lundberg ea5d5e2295 Fixed naming of the SubprocessProxySupport class. Let's go with "Subprocess" for now generally. 2014-04-04 22:46:54 +02:00
Per Lundberg 126aee84d3 Added an important TODO comment. 2014-04-04 21:23:52 +02:00
Per Lundberg cc82a790d1 Let's make this more strict, so that it actually works and isn't too "relaxed", in the strictly-typed world of C#/.NET... 2014-04-04 21:20:58 +02:00
Per Lundberg c3f8d3dd7b Let's extract this out since I realized we are violating the important DRY principle. 2014-04-04 21:17:31 +02:00
Per Lundberg ee69eda415 Jan - I think it actually is better after all to keep everything related to the Subprocess in its own repo (i.e. the subprocess repo). That way, we can separate the concerns more elegantly (IMHO). 2014-04-04 21:04:37 +02:00
Per Lundberg 933d047665 ObjectBase is now DisposableResource, which better explains what it pertains to. 2014-04-04 20:41:29 +02:00
Per Lundberg f698790dc0 Again, one class per file is better. 2014-04-02 18:48:37 +01:00
Per Lundberg ab157e97e1 Don't want to have this here. @JanEggers, I presume that the idea from your end was to support more complex object graphs? (i.e. My.Fancy.Property being exposed to Javascript...)
I'll leave that out for now, but feel free to fix/experiment with that at some point.
2014-04-02 18:46:10 +01:00
Per Lundberg f3af673ee1 Split out the member descriptions into two child classes: JavascriptMethodDescription and JavascriptPropertyDescription. (We don't have to support direct fields at this point, I think; properties should be very much enough for most needs.) 2014-04-02 18:22:36 +01:00
Per Lundberg a03e5878b0 Let's go with the name "Javascript" everywhere, instead of JavaScript. The latter is arguably more "correct", but the former is also quite widespread and you could very well claim that "Javascript" is a such a common name that it can be normalized to follow normal "name rules", i.e. capitalize first letter only... 2014-04-02 18:18:13 +01:00
Per Lundberg e562ceadb4 Minor tweaks, and removed @JanEggers assumption that we might have stuff here which is not present on the managed side of the world. I'll leave that out for now, you can implement it later if you like Jan. 2014-04-02 18:08:16 +01:00
Per Lundberg 0a439c1a7e Removed the <value> stuff. I don't really think we need it, it just clutters the class and doesn't really add that much value. 2014-04-02 18:05:02 +01:00
Per Lundberg 9183198799 One file per class, bitte... 😃 2014-04-02 18:00:47 +01:00
JanEggers bb91eca194 added javascript wrapper objects 2014-04-02 17:11:27 +03: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