Commit Graph

6179 Commits

Author SHA1 Message Date
Per Lundberg d6268d1703 CefSharp.Wpf has a new GUID and file name etc. 2013-07-22 23:47:12 +03:00
Per Lundberg 12ff5be33b Added the BrowserSettings.h file. 2013-07-22 23:46:49 +03:00
Per Lundberg 82068d3e5b Added the CreateOffscreenBrowser method, which seems to work fairly OK as of yet. (The browser is created and page loading is seemingly initiated.) 2013-07-22 23:46:34 +03:00
Per Lundberg 5385155259 Minor changes. 2013-07-22 23:45:59 +03:00
Per Lundberg 68c9725c66 Quite big change: Started refactoring the CefSharp.Wpf project from C++ to C#, making it a bit more maintainable and so forth. It just feels silly to try to maintain a WPF control in C++, IMHO… Very many parts are still missing but it's at least a start. 2013-07-22 23:45: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 3450e9027e Fixed whitespace use. 2013-07-22 18:04:53 +03:00
Per Lundberg 1af24ac5c4 Renamed to .h, since we need to refer to it from inside the project now. 2013-07-22 14:59:28 +03:00
Per Lundberg 8be1d42b08 Started converting over to the CEF3 way. Still more work to be done; many parts are for the moment commented out. 2013-07-22 14:55:34 +03:00
Per Lundberg db107b30f7 Updated to work better now that some parts are renamed and so forth. 2013-07-22 13:45:04 +03:00
Per Lundberg d6c7149774 Include more files & rearrange some of them at the same time. 2013-07-22 13:44:43 +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 43e58bdd4f Moved to the CefSharp.Internals namespace. 2013-07-22 13:43:22 +03:00
Per Lundberg b2781ae7ce Use IntPtr for methods being exposed to managed code, to avoid having to use the unsafe keyword on the CLR side. Makes it cleaner this way IMO. 2013-07-22 13:43:06 +03:00
Per Lundberg 0b70a0fb27 Renamed OnBeforeMenu to OnBeforeContextMenu. Still WIP though, since we would need a much more sophisticated object model to support this w/ CEF3. 2013-07-22 13:05:29 +03:00
Per Lundberg 14695ea3a7 Added copyright header and got rid of explicit public for interface. 2013-07-22 13:04:42 +03:00
Per Lundberg ec907b1770 …and to the CefSharp.Internals namespace. 2013-07-22 11:33:09 +03:00
Per Lundberg 697404fb39 Moved to Internals folder. 2013-07-22 11:32:10 +03:00
Per Lundberg 031a362bc6 Added copyright header. 2013-07-22 11:31:29 +03:00
Per Lundberg 1aa40dbbe0 Moved to the proper folder. 2013-07-22 11:28:06 +03:00
Per Lundberg d3921e0de3 Let internal parts be internal. 2013-07-22 11:27:35 +03:00
Per Lundberg dede307cd6 Updated DownloadHandler stuff. 2013-07-22 10:52:58 +03:00
Per Lundberg 5e0171da92 Use a proper Out parameter. 2013-07-20 20:31:46 +03:00
Per Lundberg 693b51b54a Updated the DownloadHandler stuff to (hopefully) work with CEF3. :) 2013-07-20 20:30:33 +03:00
Per Lundberg 843a663931 Moved the implementation to the header file, in the spirit of C#… :-) 2013-07-20 20:15:59 +03:00
Per Lundberg a79380a010 No need to explicitly declare interfaces as public; they already have that by virtue of their nature. 2013-07-20 20:14:53 +03:00
Per Lundberg 828d61dd45 Added copyright header. 2013-07-20 20:13:58 +03:00
Per Lundberg 39fdb00a24 The IWebBrowser must be forward-declared in CefSharp, not CefSharp.Internals, since that's where the IWebBrowser exists. 2013-07-20 20:07:58 +03:00
Per Lundberg af79da52c0 Added the libcef_dll_wrapper libs for VS2012, so we don't just support VS2010. 2013-07-20 20:04:43 +03:00
Per Lundberg 36ca067e8b Moved to the Internals folder. 2013-07-20 20:03:35 +03:00
Per Lundberg 1ea9889ac4 Added copyright header + started preparing for internalizing the class, which it was already in practice but let's make it more explicit, shall we. 2013-07-20 20:01:50 +03:00
Per Lundberg 080e4a003a Apparently, we cannot import namespaces in a header file (it won't be imported in the .cpp/.h files including it), so we might as well skip it. 2013-07-20 19:35:09 +03:00
Per Lundberg 81e6d1da0a No need to refer to the ClientAdapter header here, since we don't depend on its type anyway. 2013-07-20 18:31:54 +03:00
Per Lundberg 63de9d52da …and in the Internals folder. 2013-07-20 18:30:32 +03:00
Per Lundberg 386196b810 Internal stuff had better be in the CefSharp.Internals namespace. 2013-07-20 18:29:54 +03:00
Per Lundberg 9156a29e8b RenderClientAdapter is now RenderClientAdapterInternal. 2013-07-20 00:25:33 +03:00
Per Lundberg bcb9acd063 Whitespace etc. 2013-07-20 00:24:47 +03:00
Per Lundberg 1a2220e85c Include more files. 2013-07-20 00:24:34 +03:00
Per Lundberg 7a42c8b6e1 Started work on the new, public RenderClientAdapter class. 2013-07-20 00:24:10 +03:00
Per Lundberg 58a21ebd49 Added copyright blarb. 2013-07-20 00:20:23 +03:00
Per Lundberg b8d9305346 Renamed to RenderClientAdapterInternal, since we will have a public one shortly (which can be used safely from managed code). 2013-07-20 00:16:53 +03:00
Per Lundberg 422f642635 Moved to the Internals namespace. 2013-07-20 00:15:30 +03:00
Per Lundberg 285b72bb65 Moved to the Internals. We will have to keep this as an internal class, and provide a public (managed) type instead. Cannot have both, since we are deriving from an unmanaged base class. 2013-07-20 00:11:00 +03:00
Per Lundberg 37b664f3d3 Next one up for CEF3-fixing… RenderClientAdapter. Should be pretty OK now, next step is to make it usable from .NET code (so we don't have to keep the WPF/WinForms controls in C++ any more). 2013-07-20 00:03:36 +03:00
Per Lundberg b8280ee335 Once again, added more boilerplates... 2013-07-19 23:58:47 +03:00
Per Lundberg 950977f815 Use Uri rather than string for Uri-type values. 2013-07-19 23:50:22 +03:00
Per Lundberg ce132f7a56 Fixed typo. 2013-07-19 23:49:01 +03:00
Per Lundberg 6ac21f4c3a Updated license; the copyright for this isn't truly only Anthony's, as far as I remember (even though it may be more legally binding that way, than referring to a pseudo non-legally existing entity ;) Anyway, I feel it is better this way. 2013-07-19 23:19:47 +03:00
Per Lundberg 616eaf93cd Added boilerplate headers. 2013-07-19 23:18:30 +03:00
Per Lundberg f6edbe99b7 Well, let's include a bit more of the .cpp/.h files. I think this list is not yet exhaustive; we probably already use more than what's actually included here. Still don't want to just include "everything" but rather prefer to go through all the files and do necessary refactorings at the same time. 2013-07-19 15:29:26 +03:00