Commit Graph

21 Commits

Author SHA1 Message Date
amaitland 17d8767045 Revert "JavascriptCallback - Hack to work around upstream issue"
This reverts commit 9d47c2ed0f.
2019-06-25 19:24:57 +10:00
amaitland 8fc2a37a30 JavascriptCallback - Hack to work around upstream issue
JavascriptCallback's are limited to only working in the main frame
Frame ids aren't the same between processes, so makes it almost impossible to handle callbacks in sub frames

https://bitbucket.org/chromiumembedded/cef/issues/2687/cefframe-getidentifier-differs-between
https://github.com/cefsharp/CefSharp/issues/2743#issuecomment-502566136

This should be reverted after the problem has been resolved.
2019-06-25 19:24:57 +10:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 2f3d9f868f Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland b4e6d6262b Make const and pass by ref 2015-08-07 13:45:12 +10:00
amaitland 1f74357e40 Going forward constructors/destructors/finalizers all go in the headers 2015-07-09 10:55:12 +10:00
David Serfozo a1fda63425 removed unused execute method from javsacriptcallbackregistry and javascrptcallbackwrapper 2015-07-08 18:30:57 +02:00
David Serfozo 5f573c8563 message handling added for js callback execution through cef ipc 2015-07-07 19:28:49 +02:00
amaitland 6520379558 Guard against null reference exception when cleaning up JavascriptCallbackRegistry 2015-06-15 21:47:55 +10: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
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 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00
amaitland 746e51432a Remove WCF Surrogate and inject browser host 2015-03-11 14:46:36 +10:00
amaitland c2b1f48c7c Start to make method naming contestant - methods are now Register and Deregister for javascript callback 2015-03-11 13:52:32 +10:00
amaitland 6f5875a7b0 Convert to using ConcurrentDictionary 2015-03-11 13:23:00 +10:00
David Serfozo 011e94fe6b removed auto keyword for managed type deduction 2015-03-09 23:35:17 +01:00
David Serfozo d9541ab463 added explicit access modifiers where missing,fixed vs2012 build issue,changed field names according to conventions 2015-03-09 20:23:13 +01:00
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01:00