Commit Graph

61 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 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 6e7914db4d Need to refer to this using a more fully qualified path. 2013-06-05 12:24:03 +03:00
Per Lundberg b74f3f2b91 Moved the BindingData and BindingHandler into a separate CefSharp::Internals::JavascriptBinding namespace, in an attempt to structure things in a more maintainable way. Also added explicit private (= internal in C# speak) visibility on the classes, so you don't have to think what the visibility actually is. 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
Kristina Koeva 9893c8d060 ClientAdapter is now CefJSDialogHandler. Method implementation propagates to IWebBrowser 2013-04-29 15:46:25 +03:00
anthony taranto 8fd4c65127 complete DownloadHandler implemtation 2013-03-06 17:12:50 -08:00
anthony taranto 572f39752e add IDownload 2013-03-06 16:28:20 -08:00
anthony taranto a3d8b8627a add DownloadAdapter 2013-03-06 16:17:35 -08:00
anthony taranto 4340fe9503 ClientAdapter: implement GetDownloadHandler 2013-03-06 15:26:07 -08:00
anthony taranto 205ba7e412 Extend RequestResponse object to allow custom status code, status text and headers. 2013-02-28 17:29:17 -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
anthony taranto 8f3807c339 cleanup OnBeforeClose() binding 2013-02-28 16:44:25 -08:00
anthony taranto 9bb9d1a69c Merge branch 'master' of https://github.com/intninety/CefSharp into pr104 2013-02-28 16:39:46 -08:00
anthony taranto 944b8b40d3 clean up GetAuthCredentials() pr formatting 2013-02-28 16:36:14 -08:00
anthony taranto 56cc792cae Merge branch 'master' of https://github.com/rotem925/CefSharp into pr97 2013-02-28 14:59:49 -08:00
intninety 95763228f6 Exposed ClientHandler::OnBeforeClose
Exposed OnBeforeClose to handle the destroying of browsers (of
particular use when a browser is forcibly being closed via JavaScript).
2013-02-14 21:28:33 +00:00
rotem925 affe772f40 Update CefSharp/ClientAdapter.cpp 2012-12-17 18:07:49 +02:00
anthony taranto 662d9cf32b ClientAdapter: gaurd against invalid header exception 2012-08-23 17:25:39 -07: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 fa0f3c43a7 add a browser-local version of RegisterJSObject 2012-06-05 12:23:55 -07:00
anthony taranto fac9843ccc ClientAdapter: handle bool return value of OnBeforeResourceLoad() 2012-05-17 00:36:21 -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
MickMaido 10009c4c0a Update CefSharp/ClientAdapter.cpp 2012-05-15 01:19:36 -07:00
anthony taranto a48707450d IAfterResponse: use WebHeaderCollection for headers parameter 2012-05-14 23:35:59 -07:00
anthony taranto 2564175f45 ClientAdapter::OnBeforeResourceLoad(): cleanup, use switch statement 2012-05-14 23:14:49 -07:00
anthony taranto d141d42bd5 remove IAfterLoadError, move error handling interface method into IAfterResponse 2012-05-14 22:17:00 -07:00
anthony taranto d845301fde add IWebBrowser parameter to all IBefore/IAfter interface methods 2012-05-14 22:05:58 -07:00
Jack O'Connor 7f60e46b76 exposing more fields in IAfterResponse 2012-05-08 22:46:08 -07:00
Jack O'Connor dd547cf92f exposing the complete OnLoadError interface 2012-05-08 22:46:07 -07:00
anthony taranto f4be38ea78 add IAfterLoadError 2012-05-07 18:42:01 -07:00
Kevin Pullin 012d744151 Added missing return statement in the OnBeforeBrowse handler 2012-03-26 18:18:22 -07:00
anthony taranto 1bc3a9750d add IBeforeBrowse, handle OnBeforeBrowse() 2012-03-18 23:32:33 -07:00
anthony taranto 6f391fe4a6 s/RaiseConsoleMessage/OnConsoleMessage/ 2012-03-05 18:47:59 -08:00
anthony taranto fbceb0c3d3 add IWebBrowser.OnTakeFocus(), allow tabbing out of browser controls 2012-03-05 18:43:07 -08:00
anthony taranto fe2522b462 ClientAdapter: implement CefFocusHandler 2012-03-05 17:15:25 -08:00
anthony taranto a6fbbbf887 add ContentsWidth, ContentsHeight properties 2012-02-29 15:32:52 -08:00
anthony taranto a645b5150d rename Tooltip property to TooltipText to avoid confusion with FrameworkElement::ToolTip 2012-02-28 19:12:53 -08:00
anthony taranto e0c0fc420a remove unused CefRefPtr params from frame load start/end methods 2012-02-22 15:36:34 -08:00
anthony taranto 05345ee28c Merge branch 'master' into cef1
Conflicts:
	CefSharp.WinFormsExample/Browser.cs
	CefSharp/CefFormsWebBrowser.cpp
	CefSharp/CefFormsWebBrowser.h
	CefSharp/CefSharp.cpp
	CefSharp/CefWpfWebBrowser.cpp
	CefSharp/CefWpfWebBrowser.h
	CefSharp/ManagedCefRefPtr.h
	CefSharp/OffscreenClientAdapter.h
	CefSharp/ReadMe.txt
	CefSharp/ScriptException.h
	CefSharp/app.rc
	include/cef.h
	include/internal/cef_types_win.h
2012-02-17 19:19:04 -08:00
anthony taranto 0a6da11f42 proxy PropertyChanged events handlers through to core 2012-02-17 17:42:17 -08:00
anthony taranto 9a0c398c3e start factoring shared code into BrowserCore 2012-02-17 17:30:23 -08:00
Gun.io Whitespace Robot 3e62a930e2 Remove whitespace [WhitespaceBot] 2012-01-28 05:41:34 -05:00
anthony taranto 351ef22c37 update to cef r408 2011-12-08 00:04:25 -08:00
anthony taranto 57f3de0420 update to cef r392 2011-11-22 08:19:47 -08:00
tenbits 00f16b9095 +response->SetMimeType(toNative(requestResponse->MimeType));
without setting mimeType CEF doesnt start to work with the stream
2011-07-19 05:18:31 -07:00
anthony taranto 7bffc26a82 update tp cef r264 2011-07-05 15:33:16 -07:00