Bill Tutt
e1e58a5da6
Add IFrame interface as the public face of CefFrameWrapper.
...
IRequestHandler: Pass IFrame instances instead of isMainFrame.
Support EvaluateJavaScriptAsync from a frame.
IBrowserAdapter, IBrowserAdapterNative: Dependency breaking between CefFrameWrapper and ManagedCefBrowserAdapter.
Add IBrowserAdapter.BrowserAdapter to IWebBrowserInternal and implment for all controls.
This builds, but hasn't been tested yet. Thoughts?
2015-05-02 00:01:31 -04:00
amaitland
6abfb8c054
API changed for OnBeforeResourceLoad, OnCertificateError, OnQuotaRequest.
...
For OnCertificateError, OnQuotaRequest the callback was changed to be a generic one, so no outward facing API change.
With OnBeforeResourceLoad there is now a async callback which isn't used, the only two options that will work are Cancel or Continue
2015-04-28 14:04:35 +10:00
rassilon
7128e40fd1
It's time for copyright updates again. Yay!
...
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland
a9aeaecda5
Comment out example and remove TODO
2015-04-24 10:51:16 +10:00
amaitland
dffc3da31f
Implement OnProtocolExecution (mapped slightly differently as it's easier to return a bool than use a ref param)
2015-04-22 17:07:55 +10:00
amaitland
2429a5492a
Implement IRequestHandler.OnResourceRedirect
2015-04-22 16:59:02 +10:00
amaitland
f654c78874
Add basic OnQuotaRequest implementation
2015-04-22 16:29:18 +10:00
amaitland
b5ad359aea
Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking
2015-04-08 11:07:10 +10:00
amaitland
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
2dd49f8a2c
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-03-31 12:08:49 +10:00
amaitland
fe59df92ac
Cleanup OnBeforeResourceLoad - Remove IResponse and Response classes, to perform Redirect simply set the IRequest.Url
2015-03-28 19:56:26 +10:00
rassilon
fafc0ad2d5
Fix #884 by adding sourceUrl parameter to OnBeforePopup .Net callback.
2015-03-25 22:30:24 -04:00
amaitland
6c60da63c8
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-03-23 08:49:45 +10:00
rassilon
460cca4e5c
Use IsPopup instead.
2015-03-21 10:02:30 -04:00
rassilon
40f45b4183
Don't change the .Address property when (among other things) you display DevTools.
2015-03-20 14:02:17 -04:00
amaitland
0572ef6a25
Add isMainFrame to OnBeforeResourceLoad
2015-03-18 17:44:19 +10:00
dimas
16bc1215ee
Passing IsMainFrame as parameter to the OnBeforeBrowse
2015-03-18 13:15:25 +08:00
amaitland
2df2a05be7
Update to 2272 nuget packages
...
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland
a0ba80ca6c
Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered
2015-03-12 12:38:23 +10:00
Alex Maitland
6fca20b632
Merge pull request #857 from rassilon/CleanupResourceHandler
...
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
rassilon
a04d3c6eb8
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-02 23:08:04 -05:00
rassilon
74544d7f73
Use the full constructor in order to allow headers to be useful.
2015-03-02 22:51:21 -05:00
pushplay
485e2a97a2
Code clean up: fixing a brace.
2015-01-26 17:30:29 -08:00
pushplay
aba800a9c3
Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests.
2015-01-26 14:16:46 -08:00
amaitland
4562b984ab
Merge remote-tracking branch 'remotes/upstream/master' into cef/2171
2015-01-16 11:53:25 +10:00
Alex Maitland
d95c0064e3
Merge pull request #731 from binsys/cpp_files_encoding
...
change c++ file copyright symbol (©) encoding to work on non-english system
2015-01-15 14:53:38 +10:00
amaitland
fce5f06362
Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
...
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users
Add JsDialogHandler that implements the default behavior
Assign in the WinForms example
Fix typo in IRequestHandler
2015-01-11 14:05:10 +10:00
BinSys
5af020afcc
change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 with bom) ,
...
now work on non-english system().
2015-01-10 02:40:23 +08:00
BinSys
3f954dfb0b
Revert "change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,"
...
This reverts commit defd040dcc .
2015-01-10 02:22:19 +08:00
amaitland
ff634e299b
Replace IWebPluginInfo with WebPluginInfo
...
Instead of wrapping the Cef object, just read it's properties through a helper method
2015-01-08 13:00:49 +10:00
BinSys
defd040dcc
change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,
...
now work on non-english system().
2015-01-06 22:23:30 +08:00
daveaton
82affbebb6
Changed Small case and spaces changes
2015-01-06 05:12:19 -06:00
daveaton
3202167a61
Revert "Small case and space changes"
...
This reverts commit 74a2f1a13a .
2015-01-06 05:08:19 -06:00
daveaton
74a2f1a13a
Small case and space changes
2015-01-06 04:39:58 -06:00
amaitland
f1ddf6f61f
Remove TryGetCefHost method - similar cleanup to previous commit, brings code more inline with cefclient example
...
(It would appear that having an instance of the browser then there will always to be a host)
2014-12-30 09:16:28 +10:00
amaitland
3cf7b0159a
Remove TryGetCefMainFrame method - now just using calls directly to GetMainFrame() (brings code more inline with cefclient example)
2014-12-30 09:10:56 +10:00
amaitland
b70a309d35
Move methods from RenderClientAdapter to ClientAdapter
...
RenderClientAdapter should really only contains methods that relate to `OSR` (not relevant to the WinForms implementation)
2014-12-30 08:48:07 +10:00
daveaton
4d056bca41
Simple Fix to OnBefore Unload
...
Added is_Reloaded
2014-12-25 21:54:09 -06:00
daveaton
bbc03c0741
Extend IJsDialogHandler To Include OnBeforeUnload Dialog Messages
...
Extended IJsDialogHandler to catch on exit Javascript Dialog messages.
2014-12-25 14:07:42 -06:00
amaitland
3a2dc3ff44
Merge remote-tracking branch 'remotes/upstream/master' into cef/2171
2014-12-22 16:51:23 +10:00
amaitland
9ce2c07888
Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation)
2014-12-22 16:48:54 +10:00
amaitland
c7fe363126
Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
...
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00
amaitland
450ee3995d
Close open popups (if any) when ManagedCefBrowserAdapter is disposed
2014-12-19 16:30:59 +10:00
amaitland
048ff475e5
When OnTitleChange and browser IsPopup then set the Window title directly
2014-12-19 14:09:17 +10:00
amaitland
7ef8406179
Merge remote-tracking branch 'remotes/upstream/master' into cef/2171
2014-12-09 21:38:44 +10:00
amaitland
5c50f5ea8b
Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface
2014-12-09 12:27:32 +10:00
amaitland
44fa848682
First attempt at implementing CefDragDataWrapper which provides a clr wrapper around CefDragData
2014-12-08 22:08:38 +10:00
amaitland
e8583f6631
Cleanup ClientAdapter.cpp usings
2014-12-08 21:07:17 +10:00
amaitland
3c5e26b8d9
Remove redundant handled variable
2014-12-08 20:55:23 +10:00
amaitland
159d2e71a9
Populate DragData and pass through to IDragHandler
2014-12-08 20:55:22 +10:00