1509 Commits

Author SHA1 Message Date
amaitland 16df485ffe Split paramArray and missing arg logic out into two if statements. Previously null was being replaced by Type.Missing.
Two seperate if statement branches allows for a method that has options params and a param array

Resolve #1673
2016-05-03 20:09:02 +10:00
amaitland 5c20c7e920 Add default values to DependencyChecker.AssertAllDependenciesPresent - make it easier to execute stand alone 2016-05-03 20:09:00 +10:00
amaitland f850c125b7 Add new CefMenuCommand enum items 2016-04-19 14:23:13 +10:00
Akash Jana bd564d0a17 Fix Issue #1582, Use ToLowerInvariant while converting Function names to avoid culture specific conversion. 2016-04-18 13:52:59 +10:00
dga711 2cd49a2c60 Add some xml documentation (#1643)
* add some xml doc

* add missing drag xml doc

* xml doc corrections

* more xml doc
2016-04-11 08:00:41 +10:00
amaitland 8b5d0df37b Change new paramAray test methods in BindingTest.html to execute immediately (same as all the majority)
Revert changes to NuGet.config
Remove unused using statement from ScriptedMethodsBoundObject
Rename JavascriptMethod.Parameters to just JavascriptMethod.Parameters (it's in the context of the method so naming was redundant)
Pre compute HasParamArray for minor (very minor) performance improvement - relevant when executing method many times in a tight loop
2016-04-11 08:00:41 +10:00
Chris Bardsley a078eaeb39 Refactored changes from build#1644 to account for discussed changes. 2016-04-11 08:00:40 +10:00
Chris Bardsley f08e05a98d Fix for C# paramArray and refactor on arguments mismatch 2016-04-11 08:00:28 +10:00
amaitland 872152e826 Update IDisplayHandler documentation - add return values that were missing 2016-04-04 08:03:04 +10:00
amaitland 105bdf3f80 ContextMenuEditState - Rename NONE to None for consistency 2016-03-22 07:20:58 +10:00
amaitland 5f087838ac Improve comments around CEF UI thread 2016-03-20 10:01:49 +10:00
amaitland 466fa67525 Change origin from string to Uri as that's what the code is expecting - so github.com wasn't working, http://www.github.com does
Improved the documentation a little
2016-03-20 09:45:28 +10:00
amaitland 8e817b3feb IRequestContext.ResolveHost changed to ResolveHostAsync with a TaskCompletionSource wrapper 2016-03-20 09:30:42 +10:00
amaitland 174beb2371 Add IRequestContext.ResolveHost
Add IRequestContext.ResolveHostCached
Both methods are for DNS -> IPAddress resolution

https://bitbucket.org/chromiumembedded/cef/commits/ce1e9e65fd3f5a075cac924ed987165bb4641d9d?at=master
2016-03-20 09:14:23 +10:00
amaitland ee67324a24 Add IRequestContext.CloseAllConnections
Add IRequestContext.ClearCertificateExceptions
Also forgot to make IRequestContext extend IDisposable

https://bitbucket.org/chromiumembedded/cef/commits/cd7e8a055816f1bfc681c18a2e959ef3e414f265?at=master
2016-03-20 08:13:45 +10:00
amaitland e4b2f24792 Add missing ResourceType enums as per https://bitbucket.org/chromiumembedded/cef/commits/3c1f28b051a44f3ec6d07bed99ff2ac11f4b88fe?at=master 2016-03-20 08:02:25 +10:00
amaitland f18fe9d4ae Add Cef.CurrentlyOnThread method for checking if your on a particular CEF thread
Add Cef.GetGlobalRequestContext, can be used to set preferences and other related features
Update IRequestContext.SetPreference documentation, preferences set via the command line are read only
2016-03-19 07:30:03 +10:00
amaitland cad16c40e4 CEF API Changes for 2623 upgrade
Update IGeolocationHandler.OnCancelGeolocationPermission - remove requestUrl
2016-03-18 08:47:24 +10:00
dga 86c3ec547e Target default scheduler to fix #1630 2016-03-17 21:58:14 +01:00
amaitland 703a7beb10 Add disable javasript to BrowserSettings comment so it's easier to search for 2016-03-11 08:56:09 +10:00
amaitland 2ee4eeab54 Update IBrowserSettings.Javascript comment - remove command line flag reference, no such argument exists
https://bitbucket.org/chromiumembedded/cef/issues/1848/fix-documentation-error-no-disable#comment-26103961
2016-03-11 08:45:30 +10:00
amaitland dd7ea823a3 Add PopupFeatures and BrowserSettings to OnBeforePopup
Update WinForms popup example - comment out experimental feature

Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)

Resolves #1586
2016-03-07 18:58:56 +10:00
amaitland af457916e3 Implement IFindHandler
Resolves #1459
2016-03-07 12:44:49 +10:00
amaitland ebccd68004 Add Identifer and IsReadOnly to IRequest
Resolves #1605
2016-03-07 08:39:45 +10:00
amaitland be593403b2 Upgrade version numbers to 49.0.0 - less confusion when downloading the packages from MyGet
Obviously the Chromium version hasn't been updated as yet, still waiting on cefbuilds.com to output the relevant packages.
2016-02-26 14:39:32 +10:00
amaitland 15d79c1561 Add IRequest.ResourceType 2016-02-25 11:24:10 +10:00
amaitland 93bd341db4 A few minor changes to the IResourceHandler xml doco 2016-02-18 18:53:42 +10:00
amaitland 12f42331dc Resolves #1592 - Expose all methods of CefResourceHandler
Previously we were passing in the frame, request wrappers which hadn't been used, so just keep things simple and remove the code.
Current users should extend ResourceHandler instead of IResourceHandler and add the override keyword
TODO: Deal with setting bytesRead property - currently using Stream.Length which won't work for every stream type
2016-02-18 16:44:51 +10:00
amaitland 110789db9e Add missing methods to IMenuModel 2016-02-18 13:36:25 +10:00
amaitland cb02123000 Untabify 2016-02-17 17:22:17 +10:00
amaitland ec2059677a Add missing methods and types for IContextMenuParams
Part of #1589
2016-02-17 17:21:05 +10:00
amaitland 784698c9a2 Add IsDisposed properties to IRunContextMenuCallback 2016-02-12 11:53:37 +10:00
amaitland 92f2fac35d Rewrite the xml doc for IResponseFilter 2016-02-11 14:55:28 +10:00
amaitland e2fe457b7e Update copyright year (few other files that needed updates as well, so they're coming along for the ride) 2016-02-11 14:40:47 +10:00
amaitland d84caa8646 Pass in find and replace strings as params
Code cleanup and simplifications - make things a little clearer
Remove dataInSize and dataOutSize - can be obtained from Stream.Length
Simplify writing overflow on second pass
Remove unused code
Should be working now
2016-02-11 14:36:23 +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 2d1f235942 IRunContextMenuCallback implements IDisposable (checked the other callbacks, it appears this is the only one that's missing the IDisposable interface). 2016-02-10 08:26:47 +10:00
amaitland 0181d59850 Add SendKeyEvent overload that takes the message params and parses them - using the managed method would have required an unnecessary object creation
This code maybe useful to someone, can be used in the context of the OffScreen browser now
2016-01-12 15:31:13 +10:00
amaitland 63ba97042d Move the Drag OSR methods from ManagedCefBrowserAdapter to CefBrowserHostWrapper 2016-01-12 14:36:24 +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 627f80c8ec Pass in only the required params into BrowserProcessServiceHost - was passing in the browser adapter which wasn't strictly required.
Pass the IBrowser instance into IWebBrowserInternal.OnAfterBrowserCreated
Keep a reference to IBrowser in the ChromiumWebBrowser instances (reduces the number of GetBrowser calls and also makes it clearer internally when the browser variable is set)
2016-01-12 14:01:37 +10:00
amaitland f74bef6921 Instead of passing in the BrowserId on OnAfterBrowserCreated pass in the IBrowser 2016-01-12 13:42:35 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland eef76d1c5e Add SetReferrer, ReferrerUrl and ReferrerPolicy
Resolves #1464
2016-01-11 13:57:51 +10:00
amaitland c91c9f3953 Add IPostData.HasExcludedElements 2016-01-11 13:40:42 +10:00
Alex Maitland c57d69b6be Merge pull request #1531 from rlmcneary2/rename-enable-focus
Rename EnableFocusedNodeChanged to FocusedNodeChangedEnabled
2016-01-06 11:17:53 +10:00
Rich McNeary a27a097df6 Change from EnableFocusedNodeChanged to FocusedNodeChangedEnabled to match the existing WindowlessRenderingEnabled setting property. 2016-01-05 07:30:23 -05:00
amaitland c101d629be Set RenderProcessMessageHandler and LoadHandler to null on Dispose
Reoder so they match the order in IWebBrowser so they're easier to compare
2015-12-30 12:01:06 +10:00
amaitland dc121af997 Add IRequestContext interface to allow for extension methods
Can now access the RequestContext through IBrowserHost (can get access to the global context if required now)
2015-12-23 08:30:43 +10:00
amaitland a28f43462f Add InitializePostData method to create the underlying CefPostDataWrapper 2015-12-22 19:04:24 +10:00