Per Lundberg
|
abe09f0d5c
|
Ugly workaround for the recently discovered bug w/ #140. We must detect the case when we are the rendering process, so we shutdown once CEF is done. :) Obviously, we should fix #138 and I started looking into it but it seemed non-trivial so it will have to wait a little bit further until we do it.
|
2013-08-03 23:33:59 +03:00 |
|
Per Lundberg
|
db73c33b93
|
WinForms references, which should definitely not be here.
|
2013-08-03 23:32:04 +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
|
10799b3ab5
|
One more try… Closes #140.
|
2013-08-03 22:31:56 +03:00 |
|
Per Lundberg
|
99d9e9074c
|
We kill this one also for the time being, but in a slightly more drastic way… Might get re-added later if we feel like it. I don't think the WPF control is the CefSharp that needs unit testning most urgently anyway. :)
|
2013-08-03 22:31:42 +03:00 |
|
Per Lundberg
|
c3c2dc1269
|
Let's kill these for a little while. We will add them back if/when we decide to fix the WinForms control for CEF3, issue #139. For the time being, it makes it easier for everyone (who wants to test out the WPF stuff) if they're gone. We should also refactor the WinForms control to C# if/when we fix it.
|
2013-08-03 22:14:20 +03:00 |
|
Per Lundberg
|
a88537f4c4
|
Fixed the WebBrowser to receive focus once page loading is complete, so that e.g. Google works in the expected way (you can start typing a search string immediately, without having to click the search field).
|
2013-08-03 10:13:18 +03:00 |
|
Per Lundberg
|
27e5126bee
|
Implemented a simple LoadError handler.
|
2013-08-03 09:52:59 +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
|
dbff9c370f
|
Added a nice little StatusBar, with working IsLoading progress indication! Also display the console message in this bar.
|
2013-08-02 09:43:14 +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
|
d9df537b88
|
Implemented a basic ContextMenu, with Back, Forward and View Source available for now.
|
2013-08-01 15:00:03 +03:00 |
|
Per Lundberg
|
80850d364c
|
Fixed horrible speling error.
|
2013-08-01 10:49:27 +03:00 |
|
Per Lundberg
|
8c37f8b18f
|
Updated to not scare people...
|
2013-08-01 10:47:36 +03:00 |
|
Per Lundberg
|
e3422841db
|
Updated README page.
|
2013-08-01 10:42:17 +03:00 |
|
Per Lundberg
|
8b33581cd0
|
Fixed the support for tooltips to work again.
|
2013-08-01 10:07:05 +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
|
39a363d432
|
Changed the OnAddressChanged to not be static, which makes the method a lot simpler.
|
2013-08-01 09:59:38 +03:00 |
|
Per Lundberg
|
8e4fea977e
|
Let's add the LoadCompleted event to the public IWebBrowser API also, and document it at the same time.
|
2013-08-01 09:36:28 +03:00 |
|
Per Lundberg
|
e977348ea9
|
Added XML documentation here also.
|
2013-08-01 09:29:59 +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
|
26960ba908
|
Tabs are, as we all know, inherently evil. :-)
|
2013-08-01 09:23:03 +03:00 |
|
Per Lundberg
|
43b835cc08
|
Added the TItle here also, for documentary purposes. We should consider creating online documentation from our classes when their level of information is of a more decent level.
|
2013-07-31 08:58:48 +03:00 |
|
Per Lundberg
|
a2aeffb623
|
Handle the IWpfWebBrowser.Title property and use it to update the title of the MainWindow.
|
2013-07-31 08:57:46 +03:00 |
|
Per Lundberg
|
05877dbab0
|
Changed TItle to be a DP and implemented the SetTitle method.
|
2013-07-31 08:57:06 +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
|
6c3a7d0304
|
Let's make this property be available also, so we can document it properly.
|
2013-07-31 08:42:35 +03:00 |
|
Per Lundberg
|
f0c8f71ff3
|
Added XML comments.
|
2013-07-31 08:40:51 +03:00 |
|
Per Lundberg
|
15bb067173
|
Fixed up the watermark opacity to look much, much cooler.
|
2013-07-30 23:33:52 +03:00 |
|
Per Lundberg
|
580b8bd83c
|
Fixed a bug which has been bothering me a bit in the CEF1-based branch: Alt-F4 shouldn't be marked as Handled, since that makes it impossible to shut down the app by pressing Alt-F4...
|
2013-07-30 23:05:31 +03:00 |
|
Per Lundberg
|
7da4747640
|
Fixed OnPrevKey* handling, so that the arrow keys and Tab work as they should, within the web browser control.
|
2013-07-30 22:51:29 +03:00 |
|
Per Lundberg
|
fec6d82fc6
|
Remove the lParam parameter in SendKeyEvent(), since we didn't use it. Unused parameters are evil and should be removed asap, with no mercy.
|
2013-07-30 22:50:30 +03:00 |
|
Per Lundberg
|
75d1fef4e1
|
Select the text in the textbox once it gets focus, for a more user-friendly browsing experience.
|
2013-07-30 22:38:31 +03:00 |
|
Per Lundberg
|
106f433597
|
Implemented the Back and Forward functionality.
|
2013-07-30 11:10:53 +03:00 |
|
Per Lundberg
|
a33f3a1b89
|
Added new IWpfWebBrowser interface where we have the BackCommand and ForwardCommand. The name of this interface is certainly not perfect or elegant; we'll see if we can find a better name...
|
2013-07-30 11:10:27 +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
|
4d2c795127
|
Exposed the GoBack and GoForward methods, to allow basic use of the browser history.
|
2013-07-30 11:08:34 +03:00 |
|
Per Lundberg
|
dff09773ef
|
Disabled most of the stuff here for now, since we are doing some quite major refactorings.
|
2013-07-30 10:47:52 +03:00 |
|
Per Lundberg
|
f363715d0f
|
Added InternalsVisibleTo so we can make stuff internal (a.k.a private) which is only shared between the different CefSharp assemblies, and not indended for public prying...
|
2013-07-30 10:44:56 +03:00 |
|
Per Lundberg
|
a41dd59c56
|
This project should be signed also, so that it can be used from strong-named projects.
|
2013-07-30 10:36:05 +03:00 |
|
Per Lundberg
|
4245abdee4
|
Should also be private, i.e. internal.
|
2013-07-30 08:29:44 +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
|
9ef645613e
|
Updated IRenderWebBrowser.h reference.
|
2013-07-30 08:25:05 +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
|
d8d50bbe88
|
Made it possible to navigate to a new URL in the WebView, and started using this feature in the WPF example.
|
2013-07-30 08:13:04 +03:00 |
|
Per Lundberg
|
f3c7c6b849
|
Added a LoadUrl() method, for loading a new URL in the existing CefBrowser.
|
2013-07-30 08:12:28 +03:00 |
|