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 |
|
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
|
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
|
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
|
745c2d9bd5
|
Hopefully fixes #146 for good.
|
2013-07-27 13:46:31 +03:00 |
|
Per Lundberg
|
e3685e4305
|
Attempted improvement on #140.
|
2013-07-27 13:44:16 +03:00 |
|
Per Lundberg
|
10a733059b
|
Tried to fix #146, but we're not really there yet unfortunately...
|
2013-07-27 10:27:12 +03:00 |
|
Per Lundberg
|
65085d6221
|
Added code to handle window close in a better way. This got a bit awkward since we have to run some code reasonably early; earlier than we are able with e.g. Dispatcher.ShutdownStarted and similar… We probably have to have some Unloaded() code nonetheless, to not leak so incredibly much memory. ;-) But that have to be fixed a bit later. Closes: #140.
|
2013-07-26 22:51:45 +03:00 |
|
Per Lundberg
|
29bc05fab1
|
Made the exposure of CefBrowserHost more generic, since we will use it for many other use cases shortly.
|
2013-07-23 23:09:12 +03:00 |
|
Per Lundberg
|
192d72e5f0
|
Added support for resizing. Doesn't work fully, throws exceptions sometimes, but it's at least a start.
|
2013-07-23 22:58:59 +03:00 |
|
Per Lundberg
|
7a30bd5b7e
|
Let IRenderWebBrowser expose its width and height to the RenderClientAdapterInternal class, so we can let Chromium render in a bitmap of the right size.
|
2013-07-23 22:19:15 +03:00 |
|
Per Lundberg
|
2fe11224de
|
Got rid of ContentsWidth and ContentsHeight, which seems hard (or at least non-obvious) to support w/ CEF3 and I don't really see why we need it in the first place. "Less software". :)
|
2013-07-23 22:17:22 +03:00 |
|
Per Lundberg
|
c87e218f90
|
Started working on getting the actual painting to work. It now works, but only in a fixed-size region. :) Need to discuss a bit with the CEF guys on how to do this properly I think...
|
2013-07-23 19:30:53 +03:00 |
|
Per Lundberg
|
e569c4ef2b
|
Again, moved the implementation to the header file. I think it would be OK to do this will all classes; it simplifies refactoring and decreases the logical gap between C# and C++.
|
2013-07-23 10:19:57 +03:00 |
|
Per Lundberg
|
646d79533d
|
Added phony, very stupid implementation for now. Eventually we will have to do something much more fanciful, by querying the IRenderWebBrowser how big the view rectangle should be. (We also need to figure out how to handle resizes properly…)
|
2013-07-23 00:01:06 +03:00 |
|
Per Lundberg
|
5385155259
|
Minor changes.
|
2013-07-22 23:45:59 +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
|
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
|
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
|
1aa40dbbe0
|
Moved to the proper folder.
|
2013-07-22 11:28:06 +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
|
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
|
63de9d52da
|
…and in the Internals folder.
|
2013-07-20 18:30:32 +03:00 |
|
Per Lundberg
|
9156a29e8b
|
RenderClientAdapter is now RenderClientAdapterInternal.
|
2013-07-20 00:25:33 +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
|
99d440b948
|
Updated to work w/ changes in StringUtils.
|
2013-07-19 15:27:19 +03:00 |
|
Per Lundberg
|
33a8d4fc8a
|
Moved to the Internals folder & namespace.
|
2013-07-19 15:19:06 +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 |
|