amaitland
5e6fb330f4
Fix whitespace
2014-09-12 15:32:22 +10:00
amaitland
c706915b22
Fix compiler warnings, no need to override now there is no longer a base class
...
Calling DoDispose on it's self would have caused recursion
2014-09-12 15:02:43 +10:00
amaitland
903a56ad80
Close ChannelFactory when Browser destroyed
2014-09-12 14:52:54 +10:00
amaitland
dc2ce6c998
Add OnBrowserDestroyed Action and invoke when Cef triggers OnBrowserDestroyed
2014-09-12 14:52:01 +10:00
amaitland
a17b49596e
Add Connect() method to IBrowserProcess so it's clearly understood when a new render process is created
...
Update OperationContext every time Connect() is called
2014-09-12 14:47:08 +10:00
amaitland
058e21fce5
No need to keep list of CefBrowserWrapper's as new RenderProcess is created every time, hence only one browser wrapper
2014-09-12 13:03:25 +10:00
amaitland
ee565757a4
Reorder methods - logical grouping (cef methods kept together)
2014-09-12 12:48:10 +10:00
amaitland
605f237998
Remove CefRenderProcessHandler, not relevant for CefClient (in Cef3)
2014-09-12 12:36:11 +10:00
amaitland
bd88d4feaa
Fix variable naming - was method, should be property
2014-09-12 12:28:40 +10:00
amaitland
c5f1034109
Remove CefBrowserBase and Merge code into CefBrowserWrapper - More code simplification
2014-09-12 12:05:20 +10:00
amaitland
d8851689d8
Remove CefBrowserUnmanagedWrapper and merge code into CefBrowserWrapper - code simplification
2014-09-12 11:12:25 +10:00
amaitland
8acec46f64
Rename CefSubprocessWrapper.h to CefBrowserWrapper.h
2014-09-12 00:45:29 +10:00
amaitland
460c5f5c08
Remove ManagedCefApp base class and move methods into CefAppWrapper
2014-09-12 00:37:36 +10:00
amaitland
71c2b5748a
Remove managed point to CefBrowser - is stored, then later set to nullptr, not used for anything
2014-09-12 00:05:31 +10:00
amaitland
8da833891c
Only display MessageBox for CefRenderProcess (little crude, though stops having two message boxes appear when predominantly interested in the RenderProcess, not the GPU process)
2014-09-11 23:43:26 +10:00
amaitland
9b4c877a50
Remove unused property getter
2014-09-11 23:39:07 +10:00
amaitland
8b85497cd8
Merge branch 'JsBinding_WIP' into JsBinding/Wip2
2014-09-11 22:58:31 +10:00
amaitland
0cf75435eb
Cef appears to create a new SubProcess for every web page viewed, so as a short term fix check if TaskCompletionSource has already been completed
2014-09-11 22:55:19 +10:00
amaitland
8f093dc95d
Register sample JS BoundObject after Handle is created (Handle creates managedCefBrowserAdapter)
2014-09-11 17:49:30 +10:00
amaitland
bdbb8c3f45
Register sample JS BoundObject after Handle is created (Handle creates managedCefBrowserAdapter)
2014-09-11 17:45:47 +10:00
amaitland
9eac3dbb27
Remove redundant CefSettingsBase class - merged functionality into CefSettings.h
2014-09-11 17:37:41 +10:00
amaitland
4e2973b2a1
Extract Loading of Url from OnAddressChanged and put in Load(url) method so can be called directly if required.
2014-09-11 16:33:51 +10:00
amaitland
057d7f813d
OnAddressChanged now loads "newValue", allows for more consistent overriding.
2014-09-11 16:26:22 +10:00
amaitland
631b8956ca
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding/Wip2
2014-09-11 15:58:10 +10:00
amaitland
fe6b88d055
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-09-11 15:55:58 +10:00
Alex Maitland
60f8d3ff3a
Merge pull request #469 from amaitland/fix/dipose-managedcef-null
...
Call RemoveSourceHook before dispose of managedCefBrowserAdapter
2014-09-11 15:32:20 +10:00
amaitland
ecafbe9ef3
Call RemoveSourceHook before dispose of managedCefBrowserAdapter
2014-09-11 15:27:10 +10:00
amaitland
b0bc9573f5
Merge remote-tracking branch 'remotes/upstream/master' into enhancement/minor-api-changes
2014-09-11 14:22:55 +10:00
amaitland
10c939e004
Merge branch 'JsBinding/Wip2' into JsBinding_WIP
2014-09-11 14:09:09 +10:00
amaitland
efc4b79552
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding/Wip2
...
Conflicts:
CefSharp.Core/CefAppWrapper.cpp
CefSharp.Core/Wrappers/CefAppWrapper.h
CefSharp.Core/Wrappers/CefSubprocessWrapper.h
2014-09-11 14:04:24 +10:00
amaitland
6fef20aba7
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-09-11 13:46:48 +10:00
Alex Maitland
7ee3e85d86
Merge pull request #465 from amaitland/bug-fix/dispatcher-null-pointer
...
Remove call to Application.Current.Dispatcher.CheckAccess() - Fix null pointer when Application.Current is null
2014-09-11 13:19:09 +10:00
amaitland
318c00b2be
Remove call to Application.Current.Dispatcher.CheckAccess() - seems there's a null point happening on a rare instance when Application.Current.Dispatcher is null
...
Rely on parent calling code to execute on the correct thread (which it was already executing on the UI Thread)
2014-09-08 18:21:07 +10:00
amaitland
34f27d60e7
Fix compiler warning (amend xml comment)
2014-09-02 21:28:43 +10:00
amaitland
e032025019
Fix long data type compiler warnings
2014-09-02 21:28:43 +10:00
amaitland
2c159ee1b6
Changed frameId to long as frame->GetIdentifier() returns long
2014-09-02 21:28:43 +10:00
amaitland
38d399d321
Add DateTime support to TypeUtils
2014-09-02 13:46:22 +10:00
amaitland
08d557ca46
Fix whitespace
2014-09-02 12:04:39 +10:00
amaitland
8151136e70
Remove unused code (WaitHandle is no longer required)
2014-09-02 12:03:30 +10:00
amaitland
2c4d179c5d
Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned
2014-09-02 12:02:32 +10:00
amaitland
e33c7552dc
Return false when an exception is thrown
2014-09-02 11:27:39 +10:00
amaitland
d15c4d746a
Pass BrowserProcessResponse through to JavascriptMethodHandler and JavascriptPropertyHandler so errors can be conveyed back to CEF
2014-09-02 11:25:39 +10:00
amaitland
f6d6b0fe4e
Create BrowserProcessResponse to represent the response from the WCF calls
2014-09-02 11:05:31 +10:00
amaitland
3e5a3ae0cb
Catch and return Exception for TryCallMethod, TryGetProperty, TrySetProperty methods, passed back to the browsersubprocess though currently not displayed in the UI
2014-09-02 10:57:47 +10:00
amaitland
ac28397797
Change IBrowserProcess methods to return bool with out param for result to indicate error
2014-09-02 10:45:14 +10:00
amaitland
779f29fe1b
Tinkering with WCF and service callbacks
...
Add TaskCompletionSource so that script task will execute after a reference to the OperationContext has been obtained (Can then call GetCallbackChannel)
2014-09-01 15:29:22 +10:00
amaitland
df5cecb1d0
Expand BindingTest to output sub properties and functions of a complex property (isn't fully recursive)
2014-08-29 19:13:13 +10:00
amaitland
f40c1d2f9f
Fix bug where JavascriptName wasn't being set for Complex Property types
...
Added example called SubBoundObject can be tested from the WPF example using code like "bound.subObject.simpleProperty"
2014-08-29 16:50:16 +10:00
amaitland
4e1a9ece35
Remove debugging code
2014-08-29 12:56:15 +10:00
amaitland
4a3f459956
Add Task Timeout and change default timeout value to 60 seconds
2014-08-29 12:55:22 +10:00