Commit Graph

101 Commits

Author SHA1 Message Date
Per Lundberg f028a98796 Added a LoadStarted event handler to both the WPF and WinForms control.
Also added an extra flag in the LoadCompletedEventArgs that indicates whether the load event relates to the main frame or not.
2015-02-10 15:43:29 +02:00
Per Lundberg 55ecf77c96 Fixes #243. Logical focus !== keyboard focus, and since we changed the logic for #242 we must also change this (since without it, the caret is seen in multiple WebViews simultaneously. :) 2014-02-05 09:54:51 +02:00
Per Lundberg 55f76a80d1 Whitespace fixup. 2014-02-05 09:54:51 +02:00
Per Lundberg 0cd876ed22 Bug fix: We need to check whether we have *keyboard* focus, not just logical focus (since we might have logical focus even though we don't have keyboard one). 2014-02-04 16:37:30 +02:00
Per Lundberg 55dcf94fb1 Be more clear in the logic, by adding a few simple parentheses. 2014-01-21 09:06:37 +02:00
Per Lundberg 28133f3762 Cleaned up whitespace, so we can finally merge #211. (not all of the errors was introduced in the PR though, some was pre-existent) 2014-01-21 09:06:02 +02:00
Per Lundberg c25d8ba9ce Merge branch 'CefSharp1' of github.com:shen6041/CefSharp into shen6041-CefSharp1, so we can work towards closing #211. 2014-01-21 08:57:50 +02:00
Per Lundberg aeed5f52ea Converted some tabs to spaces. 2013-12-12 21:43:10 +02:00
Per Lundberg c002270c20 More whitespace to da peoplez. 2013-12-12 21:39:11 +02:00
Per Lundberg 8c1e135b4c Merge pull request #202 from shen6041/patch-1
fix IME input problem (CefSharp1)
2013-12-12 11:38:02 -08:00
ta-stott-oe 6907a42079 Yet another attempt to fix this indentation! 2013-11-14 10:44:25 +00:00
ta-stott-oe 9d018ecf01 Fixed indentation 2013-11-14 10:40:40 +00:00
Tim Stott c6d1a022a8 Trying to fix funny-looking indentation 2013-11-14 10:36:15 +00:00
Tim Stott f396dfe097 Fixes for issue #213: CefSharp.Wpf/WebView - apply appropriate layout and offset transforms to popup when display setting has non-standard DPI 2013-11-14 10:30:35 +00:00
Z.Shen b121f932bd Update WebView.cpp 2013-11-11 21:32:52 +08:00
Z.Shen b20b0d20b4 Update WebView.cpp 2013-11-11 21:31:34 +08:00
Z.Shen dee5526b0e Update WebView.cpp 2013-11-11 21:30:35 +08:00
Z.Shen a808bf89ae Update WebView.cpp 2013-11-11 21:29:40 +08:00
Z.Shen c3e35ee9c6 Update WebView.cpp 2013-11-11 21:28:16 +08:00
Z.Shen 39d091b593 handle chinese ime input text 2013-11-11 14:05:46 +08:00
shen6041 d73dd94228 fix IME input problem 2013-10-30 23:04:14 +08:00
Per Lundberg 8f789779ad Minor cleanup of #162. 2013-10-02 10:03:55 +03:00
ChadyG 3f280efebe fixes #162 2013-09-16 09:29:48 -05:00
Per Lundberg 3dad4cc21d Closes #166, or so I hope. This one turned out to be far from trivial. Will write more details in the actual issue. 2013-09-12 23:52:06 +03:00
dcartwright 294c49bfb8 Add support for transparent HTML backgrounds 2013-08-29 11:16:04 -04: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
jmn 249dcab605 Fixed crash on windows deactivate 2013-06-06 16:26:22 +01: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
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
anthony taranto ea2903be13 fix #110, detach window event handlers in OnVisualParentChanged() 2013-03-08 15:17:38 -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
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