cefsharp-ms
fc85d90877
added callback capability for async bound method with promises
2015-07-23 15:12:50 +02:00
cefsharp-ms
a8db666642
added async bound method result callback on browser process side
2015-07-23 15:12:28 +02:00
cefsharp-ms
7744b7197f
async bindings are dispatched to a background thread for each browser
2015-07-23 15:12:05 +02:00
cefsharp-ms
4ec6d1ca6e
async method bindings added
2015-07-23 15:11:27 +02:00
cefsharp-ms
0e073bcd0a
added message to transmit async bound jsrootobject to render process
2015-07-23 15:10:52 +02:00
cefsharp-ms
a99e020138
added option to register async js objects with only method bindings
2015-07-23 15:10:28 +02:00
cefsharp-ms
3bc3a6137b
added serialization utils for JavascriptRootObject
2015-07-23 15:10:00 +02:00
amaitland
1ca9d90bd8
By default enable system wide PPAPI support
...
Can be overridden by modifying CefCommandLineArgs and setting the value of `enable-system-flash` to `0`
2015-07-23 19:30:42 +10:00
amaitland
0edb5534bf
Add example of how to explicitly load a Pepper Flash version
2015-07-23 19:21:33 +10:00
amaitland
7a940a9617
Add Open Plugins tab in the WPF example
...
Add system-enable-flash example to enable PPAPI otherwise it's disabled
2015-07-23 19:18:07 +10:00
Alex Maitland
8a1eb320bd
Merge pull request #1142 from NumbersInternational/fixes/callback-use-after-dispose
...
Ignore callback usage after dispose
2015-07-23 18:59:10 +10:00
Jan Kurianski
44a13c3ac8
Merge pull request #1138 from NumbersInternational/example/menu-closer
...
Add ChromeWidgetMessageInterceptor to WinForms Example
2015-07-23 17:34:50 +10:00
jankurianski
786cf354bc
ChromeWidgetMessageInterceptor made generic; added mouse event example.
2015-07-23 16:45:02 +10:00
amaitland
0379632c3b
Add CefGitHash property - useful for determining which git commit the build is based on
2015-07-23 15:52:24 +10:00
jankurianski
338133a98d
Change 'if' style for null _callback check
2015-07-23 15:52:08 +10:00
jankurianski
2fcf5b345b
Use MCefRefPtr::get() to check for null reference
2015-07-23 15:48:43 +10:00
jankurianski
94c686ffe8
Remove HandleDestroyed event handler after destroyed.
2015-07-23 14:09:42 +10:00
jankurianski
de1a46766f
Ignore callback usage after dispose rather than crashing with NullReferenceException
...
Users have no way to determine whether a callback has been disposed.
Resulting in the following crash if the callback is fired. This change
silently ignores the methods. Another approach would have been to add
an IsDisposed flag that users must check but this seems error-prone.
Exception: System.NullReferenceException
Message: 'Object reference not set to an instance of an object.'
Source: CefSharp.Core
Stacktrace:
at CefSharp.CefCallbackWrapper.Continue()
at ...
2015-07-23 13:50:12 +10:00
Jan Kurianski
0d8c9397ff
Merge pull request #1141 from NumbersInternational/fixes/ongotfocus-init-crash
...
OnGotFocus no longer calls SetFocus if browser not initialized.
2015-07-23 13:25:26 +10:00
jankurianski
695b444ce4
OnGotFocus no longer calls SetFocus if browser not initialized.
...
Fixes following crash:
Exception: System.Exception
Message: 'Browser Is Not yet initialized. Use the
IsBrowserInitializedChanged event and checkthe IsBrowserInitialized
property to determine when the browser has been intialized.'
Source: CefSharp
Stacktrace:
at
CefSharp.WebBrowserExtensions.ThrowExceptionIfBrowserNotInitialized(IWebBrowser
browser)
at CefSharp.WinForms.ChromiumWebBrowser.SetFocus(Boolean isFocused)
at CefSharp.WinForms.ChromiumWebBrowser.OnGotFocus(EventArgs e)
at System.Windows.Forms.Control.WmSetFocus(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
2015-07-23 12:19:08 +10:00
jankurianski
5aff906643
Release Chrome widget handle when browser destroyed; fix formatting; added comments.
2015-07-23 12:11:01 +10:00
amaitland
8afb090f06
Add Timeout to Cef.GetPlugins
...
Made TaskExtensions public otherwise the c++ code cannot access it
Add try catch to CefExample to handle task being cancelled
2015-07-23 09:57:24 +10:00
amaitland
6291240a4f
Enable NPAPI in the example projects
2015-07-23 08:31:32 +10:00
jankurianski
1301e941ce
Add ChromeWidgetMessageInterceptor to WinForms Example
...
Addresses #570
2015-07-22 22:34:02 +10:00
amaitland
2a0b7a9ed6
Add AcceptLanguageList to BrowserSettings and CefSettings
...
Resolves #1055
2015-07-22 14:32:28 +10:00
Alex Maitland
3735150cdc
Merge pull request #1135 from amaitland/feature/requestcontext2
...
Add basic RequestContext Implementation
2015-07-22 14:27:07 +10:00
amaitland
be501ece1d
Add basic comment to OffScreen example
...
Comment out second call to MainAsync
2015-07-22 14:25:10 +10:00
amaitland
42d51980ef
Add nullptr check and return NULL for implicitor operator when object is not initialized
2015-07-22 14:19:50 +10:00
amaitland
50af1575cc
Dispose of the RequestContextSettings when the RequestContext is disposed of
2015-07-22 14:11:44 +10:00
amaitland
4ce93ba555
Add RequestContextSettings wrapper
2015-07-22 14:09:20 +10:00
amaitland
0c031a1a3b
Split RequestContext out from BrowserSettings
2015-07-22 13:51:16 +10:00
Jan Kurianski
0848139715
Merge pull request #1136 from NumbersInternational/fixes/dispose-twice-crash-fix
...
ManagedCefBrowserAdapter can now be disposed before initialization
2015-07-22 13:21:36 +10:00
jankurianski
d8891c7f50
ManagedCefBrowserAdapter can now be disposed before initialization
...
This fixes a crash when disposing a ChromiumWebBrowser prior to
initialization.
2015-07-22 13:16:59 +10:00
amaitland
265ab37620
Assign cachePath
...
TODO create a wrapper around CefRequestContextSettings
2015-07-21 23:57:24 +10:00
amaitland
dd4896d6e6
Rename cookies to cache path as new API enables access to more settings
2015-07-21 23:54:17 +10:00
Tommaso Ercole
a3e869b542
Add basic CefRequestContext wrapper
2015-07-21 23:51:49 +10:00
amaitland
f1d68df014
Switch back to using primary MyGet feed
2015-07-21 21:36:13 +10:00
Alex Maitland
847cedb3c7
Merge pull request #1134 from NumbersInternational/cef/2357-jan
...
Upgraded to 3.2357.1274
2015-07-21 21:30:09 +10:00
jankurianski
cf7cb8b60e
Fix code formatting
2015-07-21 20:26:29 +10:00
jankurianski
153d0fc7ea
Reverting unintended changes to CefExample.cs
2015-07-21 20:20:18 +10: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
a695cc9801
Explicitly Delete(dispose) CallbackRegistry so that it's unmanaged resources are freed ASAP
2015-07-16 13:44:03 +10:00
Alex Maitland
153c955885
Merge pull request #1113 from amaitland/feature/postdata
...
Add IPostData to IRequest
2015-07-16 13:37:12 +10:00
amaitland
86efb2c515
Add some basic comments for the extension methods
2015-07-16 13:36:00 +10:00
amaitland
c88952a9fa
Merge remote-tracking branch 'remotes/upstream/master' into feature/postdata
2015-07-10 16:55:46 +10:00
amaitland
b765937b53
Remove commented out code block - was implemented in c# already was used as reference
2015-07-10 16:35:29 +10:00
amaitland
57c12033ad
Comment out methods that aren't implemented from the IPostData interface
2015-07-10 16:33:57 +10:00
Alex Maitland
c3dd980406
Merge pull request #1117 from amaitland/feature/replacewcf2
...
Followup changes for js callback ipc
2015-07-10 10:44:20 +10:00
amaitland
831d3bf166
Untabify
2015-07-10 10:40:30 +10:00
Alex Maitland
cf08a6f8ad
Merge pull request #1114 from arsher/cefipcjscallbacks
...
Javascript callbacks moved to cef ipc
2015-07-10 10:38:48 +10:00