Commit Graph

108 Commits

Author SHA1 Message Date
amaitland 514d7e275d Add IContextMenuHandler.RunContextMenu 2015-10-12 08:08:41 +10:00
amaitland 20b8aa5732 Add IDragHandler.OnDraggableRegionsChanged 2015-10-12 07:16:33 +10:00
amaitland c2b712f06c Update to CEF 3.2454.1326
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
Alex Maitland d95083ae4e Merge pull request #1284 from amaitland/bug/popupjsb
Add support for JSB in Popups
2015-09-29 08:16:13 +10:00
amaitland d9c3569bd7 Add IRequestHandler.OnResourceResponse 2015-09-29 08:03:54 +10:00
amaitland cb989648cb Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks 2015-09-24 21:00:53 +10:00
amaitland 8a8da5b35a Async JSB now working in popups
Still have the issue of callbacks not working as expect, for some reason it can't find the context
2015-09-24 20:08:15 +10:00
amaitland 63157b8e1b Add IDisplayHandler.OnFullscreenModeChange
No sample implementation as yet
2015-09-04 12:21:09 +10:00
amaitland 2cc2729ba5 Add missing OnOpenURLFromTab implementation 2015-08-19 19:07:58 +10:00
amaitland a49848347b Remove _javascriptCallbackFactories dictionary
Should be required as the OnProcessMessageReceived IPC handler should be called on the relevant browser instance
2015-08-17 14:29:50 +10:00
amaitland 0e2078e288 Send bound objects in the new OnRenderViewReady method 2015-08-17 14:22:57 +10:00
amaitland 315e345582 Add OnOpenUrlFromTab and OnRenderViewReady 2015-08-17 13:59:48 +10:00
amaitland b780568544 Add DoClose to ILifeSpanHandler 2015-08-17 13:49:10 +10:00
amaitland be6046276b Add OnContextMenuCommand and OnContextMenuDismissed handlers 2015-08-17 13:40:56 +10:00
amaitland 6e1c9ad778 Add OnResetDialogState and OnDialogClosed to IJsDialogHandler 2015-08-17 13:16:45 +10:00
cefsharp-ms a8db666642 added async bound method result callback on browser process side 2015-07-23 15:12:28 +02:00
jankurianski 5e658fccb5 Upgraded to use local 3.2357.1274 NuGet packages and fixed breaking changes 2015-07-21 15:16:25 +10:00
amaitland d766cc826e The Message should be sent on the corresponding browser, not just the first browser - handle popups
Remove browserId from the message as it shouldn't be required now
2015-07-09 12:01:44 +10:00
David Serfozo 7c9a449158 added new IJavascriptCallback implementation into the pipeline 2015-07-07 19:30:43 +02:00
amaitland 7090ac9cda For now simplify message handing - remove delegates
Will look at implementing a managed class to handle/route messages later
2015-06-29 15:24:40 +10:00
amaitland 833db43a1d FrameId is actually a 64bit int 2015-06-29 13:13:06 +10:00
amaitland 53221506f2 Remove redundant AddProcessMessageDelegate method from ClientAdapter 2015-06-29 12:33:42 +10:00
David Serfozo 762d94942a added jscallback support for new evaluatescript implementation 2015-06-27 19:01:41 +02:00
David Serfozo cc8a07c21f added evaluatescriptasync message handlers and rerouted evalscript to cef ipc 2015-06-27 19:01:21 +02:00
David Serfozo 7588259964 added process message handlers and code to call them on both sides 2015-06-27 17:20:09 +02:00
rassilon 431cb511c3 * Move unmanged objects into finalizer and call finalizer from Dispose.
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04:00
amaitland 5cf5fcf24c Few more tweaks to simplify getting the browser instance.
Still need to move the wrapper out from ManagedCefBrowserAdapter and into ClientAdapter for the main CefBrowserWrapper
2015-06-11 13:33:35 +10:00
amaitland abeaca86a9 Reduce the amount of code required to get the cached popup instance 2015-06-11 12:24:32 +10:00
amaitland 801bebbbd0 Merge branch 'MorePopupHandlerWork' of https://github.com/rassilon/CefSharp 2015-06-11 10:04:43 +10:00
Bill Tutt a7ba17fbc2 The changes continue... 2015-06-08 22:48:29 -04:00
amaitland 48d516edc0 Merge DownloadAdapter code into ClientAdapter - now consistent with other handler code
Resolves the issue of passing in the browserAdapter instance
2015-06-01 10:49:14 +10:00
amaitland d394124b3a Move public facing CefBrowserHost methods into extension methods that use the IBrowserHost wrapper 2015-05-29 11:23:25 +10:00
amaitland 8a53dfe54d Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance 2015-05-21 13:57:17 +10:00
Bill Tutt adb5ae0d77 More work on wrapping CefBrowser/CefFrame. 2015-05-17 17:41:44 -04:00
Alex Maitland 0900a6cd32 Merge pull request #1011 from amaitland/enhancement/favicon
Add OnFaviconURLChange
2015-05-07 15:22:40 +10:00
amaitland fb87cab4f4 Add OnFaviconURLChange implementation - there is no IDisplayHandler interface so added the method to IRequestHandler as that seemed the next best place. 2015-05-07 13:52:19 +10:00
Bill Tutt 872cb06c71 Part 1 of Wrap CefBrowser. 2015-05-02 23:32:22 -04:00
amaitland 6abfb8c054 API changed for OnBeforeResourceLoad, OnCertificateError, OnQuotaRequest.
For OnCertificateError, OnQuotaRequest the callback was changed to be a generic one, so no outward facing API change.
With OnBeforeResourceLoad there is now a async callback which isn't used, the only two options that will work are Cancel or Continue
2015-04-28 14:04:35 +10:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland dffc3da31f Implement OnProtocolExecution (mapped slightly differently as it's easier to return a bool than use a ref param) 2015-04-22 17:07:55 +10:00
amaitland 2429a5492a Implement IRequestHandler.OnResourceRedirect 2015-04-22 16:59:02 +10:00
amaitland f654c78874 Add basic OnQuotaRequest implementation 2015-04-22 16:29:18 +10:00
amaitland b5ad359aea Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking 2015-04-08 11:07:10 +10:00
amaitland 2df2a05be7 Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland 7e3d5ece25 Remove unused ManagedCefBrowserAdapter deceleration 2015-01-29 11:55:31 +10:00
pushplay aba800a9c3 Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests. 2015-01-26 14:16:46 -08:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
Alex Maitland d95c0064e3 Merge pull request #731 from binsys/cpp_files_encoding
change c++ file copyright symbol (©) encoding to work on non-english system
2015-01-15 14:53:38 +10:00
BinSys 5af020afcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 with bom) ,
now work on non-english system().
2015-01-10 02:40:23 +08:00