amaitland
fdceb5c202
Fix #1357
...
In GetBrowserWrapper check if _cefBrowser has a valid pointer
Add ManagedCefBrowserAdapter IsDisposed check in JavascriptCallbackProxy::GetBrowser
Add CanExecute to check if underlying resources are still available
2015-10-27 16:09:41 +10:00
amaitland
be29bb8270
Add notes about CefLoadHandler methods/events being called on the CEF UI thread and that blocking is not advised.
2015-10-18 08:17:09 +10:00
amaitland
16e55d3865
Upgrade to 43.0.1 in pre for next release
2015-10-17 12:50:08 +10:00
amaitland
6e79d50640
Allow for custom rendering in OffScreen project
...
- Add BitmapFactory property
- Expose InvokeRenderAsync as virtual
2015-10-17 12:29:49 +10:00
amaitland
aa14254c06
Add IsDisposed checks
...
Resolves #1307
2015-10-17 12:29:47 +10:00
amaitland
015855a653
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)
Conflicts:
CefSharp.Core/Internals/JavascriptCallbackProxy.cpp
CefSharp.Core/Internals/JavascriptCallbackProxy.h
2015-10-17 12:29:41 +10:00
amaitland
ea0f0e3071
Add CefSharpSettings.WcfTimeout - allow user to specify custom timeout when closing the WCF channel host
...
Can set to TimeSpan.Zero to Abort the channel (close without timeout)
2015-10-17 12:26:18 +10:00
amaitland
71acc04c40
Add CefSharpSettings.ShutdownOnExit - all the user to disable the inbuilt call to Cef.Shutdown
...
(Also needs to set shutdownOnProcessExit:false when calling Cef.Initialize, or the ParentProcessExitHandler will be called to Shutdown Cef)
2015-10-17 12:26:17 +10:00
amaitland
1148f022fc
Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks
2015-10-17 12:24:41 +10:00
amaitland
c95291ce03
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-10-17 12:24:40 +10:00
amaitland
c7030d0f05
Remove unused MethodInvocation constructor
2015-10-17 12:24:40 +10:00
amaitland
1342f8b0d8
Add some basic doco to ICompletionCallback
2015-09-18 17:18:01 +10:00
amaitland
3de8e4969b
Rename IComplectionHandler to ICompletionCallback (matches CefComplectionCallback naming)
...
Should be the final breaking changes before the 43.0.0 release
2015-09-18 17:07:17 +10:00
amaitland
1c7b887ca0
A very quick attempt to improve some of the Interface documentation before the official 43.0.0 release
2015-09-18 16:56:37 +10:00
amaitland
052b2fc28b
Add experimental keyword to newBrowser param on ILifeSpanHandler.OnBeforePopup
2015-09-18 16:33:15 +10:00
amaitland
f9ff345c4d
Only enable WCF if a bound object has been registered
...
Fixes #1272
2015-09-18 13:40:07 +10:00
amaitland
12b31a7782
Fixes #1263
...
Pass in CefCustomScheme as command line argument, as they're registered correctly in all processes
2015-09-16 09:12:31 +10:00
amaitland
c558b2db57
Remove IBrowserHost.WindowlessFrameRate appears it's only available in 2454 and above.
2015-09-10 15:19:53 +10:00
amaitland
5e8e7e6d2e
Add BrowserSettings.WindowlessFrameRate
...
Add IBrowserHost.WindowlessFrameRate
2015-09-10 15:16:24 +10:00
illfang
010a7f326d
detailed exception string generation for exceptions in injected native functions / properties
...
Conflicts:
CefSharp/Internals/JavascriptObjectRepository.cs
2015-09-08 16:27:02 +10:00
amaitland
6e67ef9446
IFrame.EvaluateScriptAsync default timeout to null (default value on interface)
...
Change String to string for consistency
2015-09-01 19:16:32 +10:00
amaitland
ac269e860c
Add more IsDispoed properties
2015-08-31 14:41:47 +10:00
amaitland
330e6b38b0
Add IsDisposed property to interface objects
...
Fixes #1223
2015-08-31 13:32:48 +10:00
amaitland
fc4307629b
Improve IMenuModel xml documentation
...
Add NotFound to CefMenuCommand
Strongly type some more of the params for IMenuModel
2015-08-31 12:12:56 +10:00
amaitland
fa7728b0d0
Strongly type commandId
...
Add example of using custom menu id numbers
2015-08-31 11:36:49 +10:00
amaitland
5ec43558c7
Merge branch 'master' of https://github.com/zkovacs1/CefSharp
2015-08-31 11:25:47 +10:00
zkovacs1
0c4dd367eb
Exposing menu commands enum from Cef
2015-08-28 00:24:08 +03:00
amaitland
36bf1c5c58
Refactor GetScreenInfo - add GetViewRect method so closer match cefclient example
...
Add note about GetViewRect
2015-08-26 20:13:07 +10:00
amaitland
73e01e09e6
Merge branch 'features/HighDpiAgain' of https://github.com/bjarteskogoy/CefSharp
2015-08-26 15:18:29 +10:00
zkovacs1
43eb12e9c2
Some code beautifying
2015-08-25 04:32:54 +03:00
zkovacs1
cb3455f14f
Exposing more methods in IMenuModel to facilitate context menu customizations
2015-08-25 03:28:30 +03:00
mmamone
cb96ce1437
Implement start drag for WPF browser
...
Exposed the necessary functions for start drag to work:
* StartDragging (RenderClientAdapter)
* OnDragSourceEndedAt (ManagedCefBrowserAdapter)
* OnDragSourceSystemDragEnded (ManagedCefBrowserAdapter)
Implemented IRenderWebBrowser.StartDragging for the WPF
ChromiumWebBrowser.
TODO: Would like to add an adorner layer for the dragged text (using the
supplied fragment html), but feels like a project for later.
2015-08-19 13:03:18 +10:00
Bjarte Skogøy
4bbd9e7b09
A start. Need to test popups and test on high dpi screen.
2015-08-18 14:17:20 +02:00
amaitland
65d44b3962
Only send register IPC message of there are is a bound object
2015-08-18 09:29:50 +10:00
Alex Maitland
a904c78399
Merge pull request #1190 from amaitland/cleanup/newhandlers
...
Revise Event Handlers, Add ILoadHandler, IDisplayHandler and remove IPopupHandler
2015-08-17 15:16:11 +10:00
amaitland
e83f1d9fd8
Untabify
2015-08-17 14:51:05 +10:00
amaitland
ad336a8928
First draft of sslinfo
...
Conflicts:
CefSharp.Core/CefSharp.Core.vcxproj.filters
CefSharp.Example/RequestHandler.cs
2015-08-17 14:49:47 +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
29e6bc7571
Rename IMenuHandler to IContextMenuHandler
2015-08-17 13:42:44 +10:00
amaitland
be6046276b
Add OnContextMenuCommand and OnContextMenuDismissed handlers
2015-08-17 13:40:56 +10:00
amaitland
75ff0ed3e4
Add IMenuModel
...
Refactor to reflect actual underlying Cef Model (Remove return bool)
2015-08-17 13:33:27 +10:00
amaitland
9e9735fdfc
Fix formatting in IDragHandler
2015-08-17 13:16:55 +10:00
amaitland
6e1c9ad778
Add OnResetDialogState and OnDialogClosed to IJsDialogHandler
2015-08-17 13:16:45 +10:00
amaitland
fd78bf430c
Untabify
2015-08-17 12:19:23 +10:00
amaitland
41acea55d3
Add ILoadHandler to directly expose CefLoadHandler interface
...
Rather than have a complex set of rules where some methods were handled via IPopupHandler and others weren't
It's just a basic wrapper around CEF now with the internal event handlers only being called if it's not a popup
2015-08-17 11:54:40 +10:00
amaitland
8dbfe02618
Start adding/moving methods to IDisplayHandler - reflect CefDisplayHandler implementation
2015-08-17 11:29:51 +10:00
amaitland
bb3103e1c2
Rename IPopupHandler to IDisplayHandler
2015-08-17 11:23:21 +10:00
amaitland
02b2be54db
Remove OnAfterCreated and OnBeforeClose from IPopupHandler
2015-08-17 11:20:49 +10:00
amaitland
0a3bc35236
Remove more methods from IPopupHandler - still two more to go
2015-08-17 11:03:30 +10:00