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
bbaa58faed
Expand ISchemeHandlerFactory to pass in browser, frame, schemeName and request
2015-06-05 13:40:27 +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
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
3fb959f7ed
Add CefDownloadItemCallback Wrapper - Can now Pause and Resume a download
2015-06-01 11:12:56 +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
Bill Tutt
bceb3db4c5
Merge remote-tracking branch 'origin/cef/2272' into cef/2272
2015-05-28 23:17:59 -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
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
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
e83daa37fe
Remove ISchemeHandlerResponse - wasn't going to be used
2015-05-28 20:46:42 +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
amaitland
6cd3c67abb
Make Reload + ReloadIgnoreCache into one method with a property - makes consistent with the rest of API
2015-05-28 20:23:13 +10:00
amaitland
67d57c96a0
Move Stop/Back/Forward methods into WebBrowserExtensions
2015-05-28 20:20:32 +10:00
amaitland
c0e79c20b0
Add GetBrowser methods to get direct access to the underlying CefBrowser instance
2015-05-28 20:08:56 +10:00
amaitland
71f783ddda
Remove extra /// from xml comment
2015-05-28 20:02:03 +10:00
amaitland
507fbf0704
Add null check for LoadHtml - add better error message to say that it's only usable with DefaultResourceHandlerFactory
2015-05-28 19:55:45 +10:00
amaitland
3908a6212a
Rather than fail silently throw and exception if the frame is null, this is a drastic change in behaviour. Though it provides a much more transparent behaviour though.
...
Just need to make sure it's easy to check IsBrowserInitialized in all instances to see if it's safe to call methods (should only be called when IsBrowserInitialized is true, only problem with this is in WPF where it's a dependency property)
2015-05-28 19:54:22 +10:00
amaitland
0c2cd86e1b
Make IFrame and IBrowser implement IDisposable (The underlying implementation already does, just not the interface)
2015-05-28 19:51:14 +10:00
amaitland
2983bf7383
Change ContentLength to be a long (int64)
...
Set ContentLength in ResourceHandler when using a MemoryStream
2015-05-27 18:01:17 +10:00
amaitland
d0d409a8fd
Rename LoadHtml to LoadStringForUrl (Internal method is LoadString, for some reason that causes the compiler a problem as there is a define already aliasing LoadString).
...
LoadHtml was a somewhat conflicting name with the LoadHtml extension methods that use a ResourceHandler to load the html
2015-05-27 17:44:03 +10:00
amaitland
187b255730
Change ResourceHandler to use explicit IResourceHandler interface implementation
...
Add some extra spacing and fix up a comment
2015-05-27 17:17:29 +10:00
amaitland
9c7bf2e930
Change ResourceHandler to IResourceHandler
...
Add StatusText
2015-05-27 17:11:52 +10:00
amaitland
8579a6a210
Remove RegisterHandler/UnRegisterHandler methods from the IResourceHandlerFactory interface
2015-05-27 16:21:48 +10:00
amaitland
d37dd2d2ef
Move LoadHtml into an extension method
2015-05-27 16:18:28 +10:00
Matthew Morrison
d0e7042dbc
Changed enum names to be more in line with .Net naming schemes.
2015-05-24 09:24:20 -05:00
Matthew Morrison
890b80bc0f
Fixed some issues with formatting.
2015-05-23 17:46:06 -05:00
Matthew Morrison
f7f13f0359
Add cursor type to SetCursor call. Duplicated CursorType enum from CEF source.
2015-05-22 19:40:40 -05:00
amaitland
b4b0cf1d7e
Move the IWinFormsWebBrowser interface into the WinForms project
2015-05-22 11:06:16 +10:00
amaitland
a6f5131e8a
Add Print wrapper
2015-05-21 20:40:13 +10:00