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
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
ta-stott-oe
4bd14d355c
Yet another attempt to fix the indentation!
2013-11-14 10:44:52 +00:00
ta-stott-oe
ec95956a4f
Fixed indentation
2013-11-14 10:41:07 +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
312123623e
handle chinese ime input
2013-11-11 14:06:49 +08:00
Per Lundberg
8f789779ad
Minor cleanup of #162 .
2013-10-02 10:03:55 +03:00
Per Lundberg
fe53146390
Fixed up the whitespace. @peters - try to more closely follow the existing whitespace/brace positioning style next time.
2013-09-14 10:30:10 +03:00
Peter Sunde
18bb49444c
#165 : Add bindings for SetZoomLevel in WinForms
2013-09-13 11:07:00 +02: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
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
jmn
b95fdee076
Fixed crash on windows deactivate
2013-06-04 14:09:07 +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
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
Kristina Koeva
9893c8d060
ClientAdapter is now CefJSDialogHandler. Method implementation propagates to IWebBrowser
2013-04-29 15:46:25 +03:00
anthony taranto
ea2903be13
fix #110 , detach window event handlers in OnVisualParentChanged()
2013-03-08 15:17:38 -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
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
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
Deyan Varchev
e7510ff61e
Implementation of popups in CefSharp.Wpf/WebView.cpp
2012-07-06 19:15:49 +03:00
Kevin Pullin
c67ad4ef8d
Raise a 'LoadCompleted' event when OnFrameLoadEnd is called
2012-07-01 20:03:39 -07:00
anthony taranto
cedab75c87
remove IWebBrowser.Core property, add RegisterJsObject() and GetBoundObjects() methods using same composition pattern as elsewhere
2012-06-30 14:44:25 -07:00
Jack O'Connor
bc4730a1e1
expose BrowserCore objects from IWebBrowser
...
The immediate purpose here is to make it easier to add local JS object
binding. Rather than have each WebView implement the interface on its own,
we can simply have the BrowserCore implement it, and expose that. That
also allows us to keep parts of the interface "internal", which wouldn't
be possible if it was all exposed through IWebBrowser. If we like this
change, we might get rid of some of the IWebBrowser methods that are just
wrappers, and instead rely on shared code in BrowserCore.
2012-06-05 12:23:48 -07:00
anthony taranto
c87f34077b
rename all extension point interfaces and methods to match their CEF names
2012-05-17 00:24:26 -07:00
anthony taranto
4c3582d977
cleanup
2012-05-15 01:44:24 -07:00
MickMaido
ae8d848861
Add CefKeyboardHandler
2012-05-15 01:19:36 -07:00
anthony taranto
d141d42bd5
remove IAfterLoadError, move error handling interface method into IAfterResponse
2012-05-14 22:17:00 -07:00
anthony taranto
f4be38ea78
add IAfterLoadError
2012-05-07 18:42:01 -07:00
anthony taranto
a0267f8db3
Wpf: remove unused control template code
2012-04-10 18:49:05 -07:00
anthony taranto
bb06dabee9
Wpf.WebView: transform size to device coords before passing to CefBrowser::SetSize()
2012-04-10 18:45:31 -07:00
anthony taranto
1bc3a9750d
add IBeforeBrowse, handle OnBeforeBrowse()
2012-03-18 23:32:33 -07:00
anthony taranto
77136577f5
Merge remote-tracking branch 'kppullin/loadString'
2012-03-18 22:42:44 -07:00
anthony taranto
2b05d45a2f
renamed cefBrowser to browser
2012-03-15 16:22:26 -07:00
anthony taranto
6c9a6db8e0
wrap all web view CefBrowser access in TryGetCefBrowser(), returns false if necessary structure has not been created or is in the process of being torn down
2012-03-14 23:18:26 -07:00
Kevin Pullin
8af491593d
Implemented LoadHtml/LoadString
2012-03-12 19:54:20 -07:00