amaitland
18e3cb77de
Add IResponse.ErrorCode
...
Add IResponse.IsReadOnly
2016-05-30 08:20:25 +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
33006a030a
Update to CEF 3.2704.1415
2016-05-30 07:52:05 +10:00
amaitland
bc298f6415
Add GetSource and GetText methods that take an IStringVisitor
2016-05-29 22:21:32 +10:00
amaitland
3061becb3f
IResourceHandler now implements IDisposable - you can cleanup and resources when the handler is disposed
2016-05-26 07:28:19 +10:00
amaitland
9262d731d5
IResponseFilter now implements IDisposable
...
Call delete in CefResponseFilterAdapter destructor
2016-05-20 08:13:14 +10:00
amaitland
d1d754cf58
Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
...
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland
87dcecd749
Upgrade to 3.2623.1401
2016-05-16 21:12:52 +10:00
amaitland
8bbfb38195
BrowserSettings - Remove duplicate virtual statement
2016-05-11 12:08:08 +10:00
amaitland
54f7fccdaa
Upgrade to .Net 4.5.2
...
Resolve #1572
2016-05-10 20:28:21 +10:00
amaitland
6ffbbf198a
EXPERIMENTAL : Add Cef.LoadLibCefLibrary - calls LoadLibraryEx allowing potentially can be used to host libcef.dll and resources in a different folder
2016-05-09 11:49:47 +10:00
amaitland
60ae3cc739
Switch to using TrySetResult instead of SetResult
...
Invoke TrySetResult using TaskFactory.Run so continuations are run in an async fashion
Reference #1672
2016-04-27 21:01:58 +10:00
amaitland
b246192b1b
Remove shutdownOnExit handler - WinForms and WPF have their own, OffScreen it's better to call explicitly.
...
Resolve #1671
2016-04-27 19:13:23 +10:00
amaitland
3e55460bb1
Change CefGetGeolocationCallbackWrapper to SetResult in destructor if no result has been returned - remove the need for task timeout
2016-04-27 19:11:53 +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
edgchen1
0a01649b58
Issue 1594 - Updated calls to GetBrowserWrapper()
...
Changed the returnNullIfBrowserNotFound parameter to true for some calls to GetBrowserWrapper() to prevent exceptions when closing a popup window.
2016-04-15 10:32:44 -07:00
amaitland
e2a690dca9
Change PluginVisitor to set the TaskCompletionSource to an empty list when Visit is never called
...
Slightly nicer behaviour than timing out
Update the example
2016-04-15 15:44:35 +10:00
amaitland
7f1278d7e6
ICookieVisitor now implements IDisposable - call delete in CookieVisitor.h so there's a notification when the visitor
...
Improve ICookieVisitor doc
2016-04-15 15:26:02 +10:00
amaitland
f96ef1aa8f
Add destructor to CefPdfPrintCallbackWrapper
2016-04-12 11:36:16 +10:00
amaitland
e5a6c6c32c
Upgrade to 3.2623.1396
2016-04-04 07:57:25 +10:00
amaitland
f106ab8b81
Change the remaining classes in the CefSharp.Internals namespace to private (where possible)
...
In general tighten up the access modifiers
2016-03-31 19:36:57 +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
7b29d7a665
RequestContext now implements CefWrapper
...
ThrowIfDisposed(); called in each method now
2016-03-20 08:42:58 +10:00
amaitland
1f2b7b50f6
CefPostDataWrapper set _disposed flag when object disposed
2016-03-20 08:17:40 +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
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
amaitland
57a6ac84d6
Upgrade to 2623.1395
2016-03-18 08:47:23 +10:00
Vasiliy Vdovichenko
45c4221a51
Fixed Wpf ChromiumWebBrowser throws ObjectDisposedException after dispose - https://github.com/cefsharp/CefSharp/issues/1631
2016-03-17 16:20:00 +02:00
amaitland
6e66d172a7
Cleanup bin/obj folder output for the VC++ projects - more c# style now than vc++ (overall consistency)
...
Update nuspec file to reference new locations
2016-03-16 11:36:23 +10:00
amaitland
d6f44844a1
Update RenderClientAdapter reference url - CEF project structure changed
2016-03-15 10:46:50 +10:00
amaitland
7ac0044c89
CookieVisitor.cpp - formatting braces on new line
2016-03-14 08:35:14 +10:00
YaiEf
150daa4ff5
Changed formatting and set Cookie DateTimes to MinValue instead of default value on exception
2016-03-13 12:08:50 +01:00
YaiEf
f9688a0a2e
Added try-catches to CookieVisitor.cpp to avoid crashes on invalid values for DateTime.
2016-03-13 10:53:55 +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
b4aaf36389
Update BrowserSettings.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-10 08:04:56 +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
15d79c1561
Add IRequest.ResourceType
2016-02-25 11:24:10 +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
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
turgayselvi
46c9836f80
ClientAdapter.cpp
...
set returnNullIfBrowserNotFound field value as "true" for GetBrowserWrapper method in OnBeforeResourceLoad in order to prevent crashing popup window, when window is closed.
2016-02-17 14:43:08 -08:00
amaitland
ec2059677a
Add missing methods and types for IContextMenuParams
...
Part of #1589
2016-02-17 17:21:05 +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
c4eb6bf564
Remove some stray semi colons
2016-02-17 12:57:05 +10:00