Commit Graph

436 Commits

Author SHA1 Message Date
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 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 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
Per Lundberg e620dadeb7 MCefRefPtr is now in Internals. 2013-07-19 15:28:18 +03:00
Per Lundberg 0e3bc92758 Added extra overload, so we can call Initialize() without parameters if we don't care about the settings. 2013-07-19 15:28:04 +03:00
Per Lundberg 99d440b948 Updated to work w/ changes in StringUtils. 2013-07-19 15:27:19 +03:00
Per Lundberg c8f07dd9a3 URIs have their own .NET type, so let's go with that instead of String. 2013-07-19 15:26:53 +03:00
Per Lundberg 33a8d4fc8a Moved to the Internals folder & namespace. 2013-07-19 15:19:06 +03:00
Per Lundberg 429d338271 Added copyright header. 2013-07-19 15:17:52 +03:00
Per Lundberg 020f75aa1a Updated usage, since CookieVisitor.h is now in the Internals subdirectory. 2013-07-19 14:43:30 +03:00
Per Lundberg 486c3786dc Let's make the class private (i.e. internal) while we're at it. 2013-07-19 14:42:45 +03:00
Per Lundberg 93503b2cfe Moved to the Internals folder, since this class isn't usable from the outside. 2013-07-19 14:42:03 +03:00
Per Lundberg 9af257c046 Updated with new file header. 2013-07-19 14:37:26 +03:00
Per Lundberg 2d8c0ec5d0 Added dummy CefApp-based class. It's quite likely that we will have to implement more stuff here eventually… :) 2013-07-19 14:33:02 +03:00
Per Lundberg dfa4075db4 Fixed to compile now that StringUtils has been refactored. 2013-07-19 14:31:55 +03:00
Per Lundberg a6244903a7 Moved to the CefSharp.Internals namespace, where it now should be. 2013-07-18 22:58:56 +03:00
Per Lundberg 1a4bca24ca Updated includes. 2013-07-18 22:58:13 +03:00
Per Lundberg 1d9d5e008f One file per type (class/interface) makes everything feel much better. 2013-07-18 22:57:27 +03:00
Per Lundberg c72ca7dba5 StringUtils are needed here. 2013-07-18 22:56:41 +03:00
Per Lundberg 7656faf68f Moved here. Let's try to be really careful now to place ALL internal classes in the Internals subfolder, to make it easier to distinguish between the internal and public parts of the assembly. 2013-07-18 22:51:00 +03:00
Per Lundberg ff71a53abd More copyright headers. 2013-07-18 22:49:08 +03:00
Per Lundberg 3e19254c8f All of ClientAdapter now compiles, but not links successfully, because of commented out methods. Next step is now to try and get all of these functional with CEF3. 2013-07-18 22:43:43 +03:00
Per Lundberg 03f40efc4b Well, this might be an even better way to do it. 2013-07-18 22:38:44 +03:00
Per Lundberg db6ad304ab Added (half-stupid) handling of nullptr cases. It would of course be more reasonable to return a nullptr if the result is null, but the problem is that this is a major change (would have to return a pointer to a string instead, which the caller would have to make sure to delete and so forth…), so it's not worth it at the moment. 2013-07-18 22:32:47 +03:00
Per Lundberg f612d0e468 Updated to CEF3/Chromium 27. I think we have most of it covered now, as far as the header file goes, except for OnBeforeBrowse and OnResourceResponse. I have no idea what these correspond to with CEF3 so we will have to check if up with Marshall et al. 2013-07-18 22:14:39 +03:00
Per Lundberg 8ebf1091e2 Added copyright header. 2013-07-18 21:14:11 +03:00
Per Lundberg a14ab9e253 Cosmetic fix: The #pragma once should be first of all... 2013-07-18 21:12:44 +03:00
Per Lundberg d8413f0d76 Updated Cef.h with all the contents of the previous CefSharp.h, but updated to work with CEF3/Chromium 27. Also made the Cef.h be automatically included from Stdafx.h. 2013-07-18 21:12:16 +03:00
Per Lundberg fa6007f763 We don't need this one any more; all of the implementation is in the .h(eader) file anyway. 2013-07-18 21:11:14 +03:00
Per Lundberg 569d2630cb Let's make CefSharp::Internals globally available. This is generally considered bad practice in the C++ camp, but I think it's perfectly acceptable in this use case. 2013-07-18 15:50:23 +03:00
Per Lundberg 33d85cfcfa Updates to work with CEF3. 2013-07-18 15:49:42 +03:00
Per Lundberg 4a106bb739 Made it more clear that we will hardly ever support a single-threaded message loop. :-) 2013-07-18 00:44:20 +03:00