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
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
24be921abf
Let's go with the "indented namespace" style, even though it makes the code be a bit more indented… The "all namespaces in the left-most column" approach doesn't really look that aesthetically pleasing.
2013-07-05 23:23:46 +03:00
Per Lundberg
66039e1117
Tabs are evil (we use spaces in this project). Thanks to Github for making me discover this…
2013-07-05 23:10:12 +03:00
Per Lundberg
18c8d1939c
Merged https://github.com/joaompneves/CefSharp into feature/stability_fixes
2013-07-05 23:04:51 +03:00
Per Lundberg
eac7dbebf4
Merged branch 'JsDialogHandler' of https://github.com/Icenium/CefSharp into feature/JsDialogHandler, with minor changes to work on top of the current HEAD (vs2012, .vcxproj file instead of .vcproj etc).
2013-07-05 22:42:06 +03:00
Per Lundberg
a6db06d0ef
1.25.2 coming up.
2013-06-17 07:11:22 +02:00
jmn
249dcab605
Fixed crash on windows deactivate
2013-06-06 16:26:22 +01:00
Per Lundberg
a10789749d
Whitespace fixes. (My bad; C++ settings for VS2012 was incorrectly set to use tabs instead of spaces, leading to some noise in the diff.)
2013-06-05 11:28:11 +03:00
Per Lundberg
49f4011c44
Revert "Rearranged where the output binaries are kept, in an attempt to avoid having to rebuild because of assembly version mismatches."
...
This reverts commit ed7476fd0e412ba3c96b721ef41dacb691ba2b33.
2013-06-05 11:28:10 +03:00
Per Lundberg
dc34308fdc
Generate XML documentation, since it's quite useful. We don't have any XML comments yet, so it's time to start adding it.
2013-06-05 11:28:10 +03:00
Per Lundberg
b3f69a3f99
Refer to the Stdafx.h file using the right casing (the file is actually called Stdafx.h, not stdafx.h).
2013-06-05 11:28:09 +03:00
jmn
b95fdee076
Fixed crash on windows deactivate
2013-06-04 14:09:07 +01:00
jmn
9abb8d2306
Fixed null pointer exception when loading WebView
2013-06-04 10:29:25 +01:00
Marcin Wisnicki
67a024e0a3
Use conditional elements to support VS2010.
2013-05-28 13:41:23 +02:00
Marcin Wisnicki
f1eb60fd44
Undo VS2010/VS2012 project split.
...
Remove redundant VS2010 solution. VS2012 sln works fine in VS2010sp1.
2013-05-28 12:11:05 +02:00
Per Lundberg
5ff64096e4
Updated to be able to successfully compile with VS2010.
2013-05-16 08:49:58 +02:00
Per Lundberg
4e060bdcc3
Added vs2010 solution also (which does not build at the moment).
2013-05-15 23:39:03 +03:00
Per Lundberg
13c3bb48ee
Renamed the .vcxproj files, to avoid colliding with the VS2010 files which are soon to be added.
2013-05-15 23:17:31 +03:00
Per Lundberg
ec819845c8
Rearranged the .lib files a bit, to make room for VS2010 versions of the files.
2013-05-15 22:57:03 +03:00
Per Lundberg
38afc692f6
This one is bothering me a bit more, since I'm mixing references and void* in a slightly funky way… Hard to test/verify since I couldn't manage to trigger the SetPopupSizeAndPosition to be called. :)
2013-05-01 23:27:47 +03:00
Per Lundberg
8452df8b39
Changed some of the parameter types which are unusable in VS2012/.NET 4.0 mode (the C++ compiler creates references to internal structs which are unusable from CLR code, making the type loader throw a TypeLoadException when trying to use the WebView).
2013-05-01 23:24:39 +03:00
Per Lundberg
a7e698f3c6
Reindented the file, since it was a bit messy.
2013-05-01 20:36:08 +03:00
Per Lundberg
0405f7c645
Use the proper visibility for the OnVisualParentChanged for WPF 4.0.
2013-05-01 20:02:35 +03:00
Per Lundberg
76959b55d3
Make the output be put in the right Debug/Release folder (right under the SolutionDir).
2013-05-01 18:37:55 +03:00
Per Lundberg
a73ecabdb9
Added missing reference, needed for VS2012/.NET 4.
2013-05-01 18:13:41 +03:00
Per Lundberg
93ff0437b7
Converted the project files also from VS2008/vcproj format to VS2012/vcxproj format.
2013-05-01 18:08:59 +03:00
Kristina Koeva
9893c8d060
ClientAdapter is now CefJSDialogHandler. Method implementation propagates to IWebBrowser
2013-04-29 15:46:25 +03:00
anthony taranto
d1d77918fc
bump copyright year to 2013
2013-03-11 15:09:00 -07:00
anthony taranto
07ec4c58ae
bump assembly versions to 1.25.0
2013-03-11 15:07:55 -07:00
anthony taranto
ea2903be13
fix #110 , detach window event handlers in OnVisualParentChanged()
2013-03-08 15:17:38 -08:00
anthony taranto
ddbdeea4b4
don't generate release info for release builds
2013-03-07 15:22:10 -08:00
anthony taranto
779823d8cf
Wpf.WebView: use correct height/width, correct display at alternate windows dpi settings
2013-03-07 14:49:57 -08:00
KristinaKoeva
abaaa97841
Separate image width/height from popup width/height. SetPopupBuffer used _popupWidth and _popupHeight that were previously changed to the new values by SetPopupSizeAndPosition. Because of this, the handles in SetBuffer were not released which caused AccessViolationException
2013-02-28 17:55:57 -08:00
anthony taranto
25dd02e4e5
cleanup
2013-02-28 17:50:42 -08:00
anthony taranto
7d5dce1f72
Merge branch 'master' of https://github.com/flowcoder/CefSharp into pr37
2013-02-28 17:48:14 -08:00
anthony taranto
1ba7394933
cleanup Wpf.WebView load/unload fixes
2013-02-28 17:18:10 -08:00
anthony taranto
681ea3f00e
Merge branch 'Fix-WPF-WebView-source-hook-update' of https://github.com/Icenium/CefSharp into pr39
2013-02-28 17:11:10 -08:00
anthony taranto
9401a40a3d
Merge branch 'fix-ataranto-issue-32' of https://github.com/mwisnicki/CefSharp into pr32
2013-02-28 17:02:32 -08:00
anthony
94a0778ce1
Merge pull request #26 from kppullin/loadCompletedEvent
...
Raise a 'LoadCompleted' event when OnFrameLoadEnd is called
2013-02-28 16:53:55 -08:00
Deyan Varchev
6c9bb57e01
Fix correct keyboard input when WPF WebView is removed from one window and added in another.
...
Ensure _source and _hook are correctly initialized and unhooked.
2012-11-19 15:55:47 +02:00
birkenhainer
d80dc3dd83
NEW: Added overload of method LoadHtml with additional parameter 'url' to Winforms and Wpf control.
...
This is necessary, because the current implementation of LoadHtml doesn't give access to the paremter as exposed by _clientAdapter->GetCefBrowser()->GetMainFrame()->LoadString.
Instead, the parameter is hardcoded to "about:blank". This has 2 disadvanteges with no workaround:
1. html code with relative paths to resources are not possible.
2. html code with (even absolute )paths to local files(images) are not possible, due to different security zone.
2012-10-23 21:53:47 +02:00
Jack O'Connor
8527125a59
removing Core accessors from both WebView implementations
...
These were already removed from IWebBrowser in
cedab75c87 , and they are no longer used.
2012-08-23 16:50:04 -07:00
anthony taranto
9e828f39c2
Improve wpf rendering - fixes font smudging when resizing
...
Conflicts:
CefSharp.Wpf/WebView.cpp
2012-08-06 17:37:10 -07:00
anthony taranto
04429de9f4
Wpf.WebView: synchronize SetBitmap() and SetBuffer() using msclr::lock()
2012-08-06 17:35:46 -07:00
Marcin Wisnicki
a27a31a900
Keep CefSharp types inside CefSharp assembly. Fixes ataranto#32.
2012-08-02 11:43:12 +02:00
anthony taranto
e940ea2c81
fix #28 : Wpf.WebView: remove hwnd source hook on dispose
2012-07-31 13:34:49 -07:00
anthony taranto
541361fcce
formatting cleanup
2012-07-27 17:20:06 -07:00