Commit Graph

75 Commits

Author SHA1 Message Date
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
anthony taranto 995dff418b Wpf.WebBrowser: favor setting tooltip visibility 2012-03-08 14:43:21 -08:00
anthony taranto 0655eb2eea call CloseBrowser() from Dispose() 2012-03-06 16:49:29 -08:00
anthony taranto b5be2cbcf5 Wpf.WebBrowser: capture/uncapture _after_ handling button up/down 2012-03-06 15:26:02 -08:00
anthony taranto da512dea87 fix #45: bind ClearHistory, ShowDevTools, CloseDevTools, Undo, Redo, Cut, Copy, Paste, Delete, SelectAll 2012-03-06 14:26:01 -08:00
anthony taranto be1070ae4f factor keyboard/mouse input code 2012-03-06 00:50:14 -08:00
anthony taranto 701cc7544a use KeyInterop::VirtualKeyFromKey() 2012-03-06 00:19:11 -08:00
anthony taranto 1ade3d6b57 Wpf.WebBrowser: handle arrow keys 2012-03-05 19:09:09 -08:00
anthony taranto 6f391fe4a6 s/RaiseConsoleMessage/OnConsoleMessage/ 2012-03-05 18:47:59 -08:00
anthony taranto 43a5701d5b rename delegates *Handler 2012-03-05 18:44:24 -08:00