amaitland
0542c5138b
SendProcessMessage - Remove frame/browserid from messages
...
Not complete or tested yet
2019-06-25 19:24:57 +10:00
amaitland
73a156fdc5
Initial version 75 upgrade and NetworkService changes
...
Compiles, that's about it at this point, there are major CEF breaking changes, and lots to be addressed.
Browser Process (main process)
- Removed IResourceHandlerFactory as it no longer fits with the structure that CEF provides
- New IResourceRequestHandler interface added, not plumbed in yet
- CefSettings - Add RootCachePath and ApplicationClientIdForFileScanning
BrowserSubprocess (render process)
- SendProcessMessage was moved from CefBrowser to CefFrame
- OnBrowserCreated added extraInfo param
The BrowserSubprocess changes for this upgrade should be complete
2019-06-25 19:24:57 +10:00
Alex Maitland
76e5a8d5c0
Add IAudioHandler ( #2727 )
...
* Feature Request - Add IAudioHandler
- For performance reasons we return NULL if no audiohandler is assigned
- No example is provided currently
Initial implementation for #2714
2019-05-03 12:54:40 +10:00
amaitland
a0d74dd63e
IDisplayHandler - Add OnLoadingProgressChange
...
Resolves #2686
2019-03-27 22:05:17 +10:00
amaitland
5854abea03
VC++ - Fix up includes and add some more header guards
2019-01-09 21:58:52 +10:00
Chris
bef5dd37c4
Maintenance - Fixed formatting, file encoding, and copyright year ( #2504 )
...
* Applied formatting
* Fixed file encoding + Updated copyright year
* Updated License
* Fixed more file encoding
* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland
552962ba77
IRequestHandler.OnBeforeBrowse - Add userGesture param
...
The userGesture value will be true if the browser
navigated via explicit user gesture (e.g. clicking a link) or false if it
navigated automatically (e.g. via the DomContentLoaded event).
2018-05-03 12:11:52 +10:00
amaitland
a87d834409
Add Cef.GetBlockingCookieManager, IRequestHandler.CanGetCookies and IRequestHandler.CanSetCookie
...
RequestEventHandler example implementation is incomplete
2018-03-28 14:28:38 +10:00
amaitland
c37dbcd06a
Remove Geolocation API and Upgrade version numbers to 65
2018-03-17 21:31:25 +10:00
amaitland
38be769f96
OnConsoleMessage - Add LogSeverity
2018-02-05 17:30:44 +10:00
amaitland
921ea55fff
Add IDisplayHandler.OnAutoResize, IBrowserHost.SetAccessibilityState, IBrowserHost.SetAutoResizeEnabled
...
Wrappers for new methods/callback added
2017-12-21 08:53:56 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
Smaran Harihar
fa41529853
Add IRequestHandler.OnSelectClientCertificate ( #1878 )
...
* wip create hooks for onSelectClientCertificate
* create interface and wrapper for callback
* get certificate from CefCertificateList, convert to X509Certificate2, add them to X509CertificateCollection and return this to ClientAdapter
* code review changes. Certificate selection in wrapper requires recreation of certificate in iteration
* added certificate dialog selection to WinFormsRequestHandler. Used VS untabify to remove all the tabs and replaced it with spaces
* missed updating a summary on ISelectClientCertificateCallback
* code review changes
2016-12-13 09:48:15 +10:00
amaitland
f2050a0861
Add scriptUrl and startLine to EvaluateScriptAsync
2016-12-02 06:10:40 +10:00
amaitland
cce8cd825d
Upgrade to 3.2840.1493 (Chromium 54.0.2840.59)
...
Add IResponse to IRequestHandler::OnResourceRedirect
2016-10-19 08:17:50 +10:00
amaitland
c8177da0b6
Upgrade to 3.2743.1441
...
Add TransitionType to FrameLoadStartEventArgs
2016-07-16 21:24:00 +10:00
amaitland
62292e4211
NPAPI Plugin methods removed from API
...
cef_runnable.h has been removed
Update IJsDialogHandler.OnJSDialog - acceptLang removed from API
2016-05-30 07:57:48 +10:00
amaitland
370ffc2769
ThrowUnknownPopupBrowser has been removed - throwing an exception would crash CEF is a lot of cases, so now we'll just pass null into the interface methods
...
Change EvaluateScriptAsyncto check for null and subsequently return null (would have caused a nullptr exception)
2016-04-18 13:51:24 +10:00
amaitland
cad16c40e4
CEF API Changes for 2623 upgrade
...
Update IGeolocationHandler.OnCancelGeolocationPermission - remove requestUrl
2016-03-18 08:47:24 +10:00
amaitland
af457916e3
Implement IFindHandler
...
Resolves #1459
2016-03-07 12:44:49 +10:00
amaitland
bb4746c612
Minor code cleanup after static analysis from PVS Studio - mostly uninitialized variables (which I don't think was an actual problem as they were all in .Net classes)
...
Remove a static cast that wasn't required.
2016-02-19 16:24:14 +10:00
amaitland
87461203b5
Fix for #1594
...
When using a popup and OnResourceLoadComplete it's possible that the popup will be removed from the collection causing an exception
Simple fix for now, just return nullptr in that particular instance.
2016-02-17 13:13:19 +10:00
amaitland
8d00a3dd26
Add a rough implementation of IRequestHandler.GetResourceResponseFilter
...
Looks like the basic pass through implementation is working - have yet to append any data
2016-02-11 10:40:11 +10:00
amaitland
e20209b82d
ManagedCefBrowserAdapter - _browserAdapter was never set so the Close method wasn't being called
...
Remove GetCefBrowser method as ManagedCefBrowserAdapter now totally relies on the managed wrappers for calls like SendKeyEvent
2016-01-12 15:16:31 +10:00
amaitland
264be0e753
Store a reference to IBrowser in ClientAdapter rather than trying to access it through the BrowserAdapter
2016-01-12 14:11:49 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
amaitland
7782490513
Add IRequestHandler.OnResourceLoadComplete
...
https://bitbucket.org/chromiumembedded/cef/commits/ced449a0efbb39e7ff36af844a4d067935dc324b
2015-12-08 10:46:27 +10:00
amaitland
514d7e275d
Add IContextMenuHandler.RunContextMenu
2015-10-12 08:08:41 +10:00
amaitland
20b8aa5732
Add IDragHandler.OnDraggableRegionsChanged
2015-10-12 07:16:33 +10:00
amaitland
c2b712f06c
Update to CEF 3.2454.1326
...
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland
b9ee476e8e
Fix up some of the vc++ include mess that we had going
...
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
Alex Maitland
d95083ae4e
Merge pull request #1284 from amaitland/bug/popupjsb
...
Add support for JSB in Popups
2015-09-29 08:16:13 +10:00
amaitland
d9c3569bd7
Add IRequestHandler.OnResourceResponse
2015-09-29 08:03:54 +10:00
amaitland
cb989648cb
Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks
2015-09-24 21:00:53 +10:00
amaitland
8a8da5b35a
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-09-24 20:08:15 +10:00
amaitland
63157b8e1b
Add IDisplayHandler.OnFullscreenModeChange
...
No sample implementation as yet
2015-09-04 12:21:09 +10:00
amaitland
2cc2729ba5
Add missing OnOpenURLFromTab implementation
2015-08-19 19:07:58 +10:00
amaitland
a49848347b
Remove _javascriptCallbackFactories dictionary
...
Should be required as the OnProcessMessageReceived IPC handler should be called on the relevant browser instance
2015-08-17 14:29:50 +10:00
amaitland
0e2078e288
Send bound objects in the new OnRenderViewReady method
2015-08-17 14:22:57 +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
be6046276b
Add OnContextMenuCommand and OnContextMenuDismissed handlers
2015-08-17 13:40:56 +10:00
amaitland
6e1c9ad778
Add OnResetDialogState and OnDialogClosed to IJsDialogHandler
2015-08-17 13:16:45 +10:00
cefsharp-ms
a8db666642
added async bound method result callback on browser process side
2015-07-23 15:12:28 +02: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
d766cc826e
The Message should be sent on the corresponding browser, not just the first browser - handle popups
...
Remove browserId from the message as it shouldn't be required now
2015-07-09 12:01:44 +10:00
David Serfozo
7c9a449158
added new IJavascriptCallback implementation into the pipeline
2015-07-07 19:30:43 +02:00
amaitland
7090ac9cda
For now simplify message handing - remove delegates
...
Will look at implementing a managed class to handle/route messages later
2015-06-29 15:24:40 +10:00
amaitland
833db43a1d
FrameId is actually a 64bit int
2015-06-29 13:13:06 +10:00
amaitland
53221506f2
Remove redundant AddProcessMessageDelegate method from ClientAdapter
2015-06-29 12:33:42 +10:00