amaitland
ebcf516ce6
Update CefFileDialogMode to reflect new values
2015-06-09 14:36:02 +10:00
amaitland
adc47f075f
Update to 2272 nuget packages
...
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
Conflicts:
CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
CefSharp.BrowserSubprocess.Core/packages.config
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp.Core/packages.config
CefSharp.OffScreen.Example/packages.config
CefSharp.Test/packages.config
CefSharp.WinForms.Example/packages.config
CefSharp.Wpf.Example/packages.config
2015-06-09 14:35:52 +10:00
amaitland
724a06b3b8
CEF_REVISION is now CEF_VERSION (upstream changed when Cef migrated from svn to git)
2015-06-09 14:33:42 +10:00
amaitland
ba0f49a313
Upgrade to 2272.30
2015-06-09 14:18:31 +10:00
Bill Tutt
a92e44e4ad
Move IBrowser into FrameLoadStart/EndEventArgs.
2015-06-08 23:07:37 -04:00
Bill Tutt
a7ba17fbc2
The changes continue...
2015-06-08 22:48:29 -04:00
amaitland
b474b27bb9
Missed CefDownloadItemCallbackWrapper - set callback to null after callback
2015-06-05 15:58:03 +10:00
amaitland
721894feaf
Reorder usings - remove redundant paths and group cef imports at the top
2015-06-05 15:48:15 +10:00
amaitland
74eb29e92a
Rename callback wrappers to bring them inline with the new ones
2015-06-05 15:44:25 +10:00
amaitland
95fcf1623f
Set callback to NULL after call has been made
2015-06-05 15:39:49 +10:00
amaitland
bbaa58faed
Expand ISchemeHandlerFactory to pass in browser, frame, schemeName and request
2015-06-05 13:40:27 +10:00
amaitland
ce70ea25e4
Import basic error handling code from cefclient example (only added to WPF example for now)
2015-06-05 12:30:30 +10:00
amaitland
c193020c72
Change public API to use Continue and Cancel methods - callback is then somewhat more consistent with other callback wrappers
2015-06-05 12:17:12 +10:00
amaitland
c8d73574da
Add cancel param to ProcessRequestCallback - previously only able to call the Continue() method on the callback
2015-06-05 12:12:33 +10:00
amaitland
54790a94c4
Remove return xml comments, not valid anymore
2015-06-05 12:02:55 +10:00
Bill Tutt
3a330f4352
Here's some more, and the missing return stmt. GetResourceHandler of course doesn't go on PopupHandler.
2015-06-03 00:14:43 -04:00
amaitland
6bda7b20aa
Add CefAuthCallbackWrapper
2015-06-01 16:46:28 +10:00
amaitland
4b6af9448a
Add CefFileDialogCallbackWrapper
2015-06-01 16:27:42 +10:00
amaitland
64379bc193
Start updating examples to Dispose() the callbacks
...
Untabify IRequestCallback
2015-06-01 12:05:53 +10:00
amaitland
5ad3c3275b
Make callbacks disposable
2015-06-01 12:02:01 +10:00
amaitland
053c2f0f3f
Add CefGeolocationCallbackWrapper
2015-06-01 11:56:50 +10:00
amaitland
e6e39e773a
Add CefBeforeDownloadCallbackWrapper
2015-06-01 11:48:12 +10:00
amaitland
2ed594df66
Move CefDownloadItemCallbackWrapper into Internals folder/namespace
2015-06-01 11:38:53 +10:00
amaitland
6daff6e780
Update OnBeforeUnloadDialog to expose IJsDialogCallback
...
Add a Continue overload to IJsDialogCallback to simplify use (just passes in an empty CefString)
2015-06-01 11:31:57 +10:00
amaitland
1d6bfa09a9
Simplify CloseAllPopups - can now use the IBrowserHost interface rather than casting
2015-06-01 11:19:06 +10:00
amaitland
3fb959f7ed
Add CefDownloadItemCallback Wrapper - Can now Pause and Resume a download
2015-06-01 11:12:56 +10: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
6d3c45836d
Update assembly version to 39.0.2
...
(This should actually have happened before `39.0.2` was released.....oh well, it'll still work of course)
2015-06-01 10:35:28 +10:00
Bill Tutt
668738ed58
Add some more methods on IPopupHandler and call them.
...
Don't put the following handlers on IPopupHandler due to the underlying security related purpose, but add IBrowser parameters:
* OnCertificateError
* OnQuotaError
* OnPluginCrashed
* OnRenderProcessTerminated
* OnProtocolExecution
* OnBeforePluginLoad
* GetAuthCredentials
2015-05-29 01:33:44 -04:00
Alex Maitland
c9ce6c41f4
Merge pull request #1049 from Antonyo/master
...
Make SourceHook virtual for Wpf ChromiumWebBrowser
v39.0.2
2015-05-29 15:01:27 +10:00
Bill Tutt
bceb3db4c5
Merge remote-tracking branch 'origin/cef/2272' into cef/2272
2015-05-28 23:17:59 -04:00
Bill Tutt
189e83b925
Merge pull request #1041 from amaitland/cleanup/code-duplication
...
Continued 2272 Code Cleanup
2015-05-28 23:17:56 -04:00
Bill Tutt
12c330ad92
Merge remote-tracking branch 'origin/master' into cef/2272
2015-05-28 23:14:54 -04:00
Bill Tutt
3ac316c3c6
Add IBrowser extension methods for IBrowserHost methods, and call from IWebBrowser extensions.
2015-05-28 23:01:30 -04:00
amaitland
52fdd9aec1
IBrowserHost now implements IDisposable
...
Only create one instance of the CefBrowserHostWrapper and dispose of it (release the reference) when the Browser Wrapper is disposed
2015-05-29 12:38:35 +10:00
amaitland
3a120d6ab6
Remove WinForms Example FocusHandler reference from project - file was previously deleted
2015-05-29 12:37:21 +10:00
amaitland
d99cefb8ea
Remove CefFrameWrapper.h (wasn't used)
...
Move CefBrowserHostWrapper into Internals
2015-05-29 12:23:10 +10:00
Bill Tutt
1df0d648a8
Don't create a task for MemoryStreams, and some more Resharper Cleanups.
2015-05-28 22:14:34 -04:00
amaitland
16ac917f49
Add some more xml comments to WebBrowserExtensions
2015-05-29 12:08:24 +10:00
Antonyo
33c61a6610
Make SourceHook virtual for Wpf ChromiumWebBrowser so inherited controls can override custom hook.
2015-05-29 10:53:12 +09: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
a72bcea63c
Expose IBrowserHost wrapper through IBrowser - remove the BrowserHost methods StartDownload and Print
2015-05-29 10:56:39 +10:00
amaitland
5c95972c21
Add a rough outline of IBrowserHost (CefBrowserHostWrapper)
...
Only a few methods are implemented, not exposed yet.
2015-05-29 10:56:38 +10:00
amaitland
e715c37910
Don't dispose of cefBrowser now that it's a single reference per ChromiumWebBrowser instance - API may still need a few tweaks
2015-05-28 21:00:26 +10:00
amaitland
1fdf6da796
Default StatusCode = 200 and StatusText = "OK"
...
Remove the check ResourceHandlerWrapper - use the default value for StatusCode
2015-05-28 20:55:42 +10:00
amaitland
e83daa37fe
Remove ISchemeHandlerResponse - wasn't going to be used
2015-05-28 20:46:42 +10:00
amaitland
6a7f4dca5e
Reuse a single reference to the IBrowser instance - keeping a copy of the wrapper means we can Dispose and release the resources.
...
Even if the user still has a reference it shouldn't interfere with `CEF`
2015-05-28 20:34:34 +10:00
amaitland
1163e59aae
Dispose of frame when finished (releases the reference to the unmanaged class).
...
Whilst not strictly required, it's nice to know the frame is explicitly released and for those copying the code, give them a clue that they need to call dispose
2015-05-28 20:28:46 +10:00
amaitland
bd3fddddbc
Throw exception if null (ThrowExceptionIfBrowserNull)
...
Dispose of IBrowser once finished (just releases the reference)
2015-05-28 20:26:12 +10:00
amaitland
3038b820ec
Slightly better param naming - internalBrowser -> cefBrowser
2015-05-28 20:24:04 +10:00