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
amaitland
0288ee353e
It's possible for the dataIn stream to be null, allow for it being optional.
2016-02-11 15:45:14 +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
1e1e091c57
Add ThrowIfDisposed to more of the wrappers
2016-02-10 09:57:20 +10:00
Alex Maitland
69ffd4370b
Merge pull request #1542 from amaitland/cleanup/duplicatecode
...
Cleanup ManagedCefBrowserAdapater + Remove Duplicate Code
2016-02-01 16:16:07 +10:00
amaitland
306be4255d
Add try/catch around _browserProcessServiceHost->Open call - seems that occasionally there's a timing issue
...
See #862 , #804 and #1494
2016-01-12 16:00:38 +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
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
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
amaitland
dcbddfbab9
Rewrite CefFrameWrapper::Parent::get - unsure if it would have worked previously, logic now follows CefFrameWrapper::Browser::get()
2016-01-11 12:03:12 +10:00
amaitland
4ef95605c5
Add ThrowIfDisposed check as accessing an invalid frame will cause a hard crash.
...
Resolves #1509
2016-01-11 11:45:04 +10:00
amaitland
83dba09e99
Start to remove some of the methods from ManagedCefBrowserAdapter that are now available through IBrowserHost
2016-01-09 08:09:38 +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
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
4e4ccd32d1
Finish the ToNative Dictionary<String^, Object^> implementation
2015-12-23 07:48:27 +10:00
amaitland
533c1912e0
So it appears the configuration has a two tier hierarchy, the main preference key can have a dictionary of values as it's child.
...
For instance webgl may have a number of sub preferences.
Allow for returning of a dictionary when returning a specific preference
Having some compiler problems with setting of dictionary values
2015-12-23 07:48:26 +10:00
amaitland
c7b1243952
Move template decelerations into header files.
2015-12-23 07:48:26 +10:00
amaitland
abd10ede6d
Implement GetAllPreferences
2015-12-23 07:48:26 +10:00
amaitland
fb137f932f
Implement basic Get/Set of Preferences
...
Haven't yet implemented the GetAllPreferences as yet.
2015-12-23 07:48:23 +10:00
amaitland
c54da651f0
Add ThrowIfDisposed(); calls to CefRequestWrapper
2015-12-22 19:05:35 +10:00
amaitland
a28f43462f
Add InitializePostData method to create the underlying CefPostDataWrapper
2015-12-22 19:04:24 +10:00
amaitland
1d9ce8d4de
Add a number of missing methods to IBrowserHost (some methods are not relevant to windows and some need additional pieces
...
Improve documentation
Reorder events so they match the CefBrowserHost doco (alphabetical ordering)
Tidy up the xmldoc for IJsDialogHandler.OnJSDialog suppressMessage param
2015-12-22 09:10:29 +10:00
amaitland
b18e74be1e
Upgrade to 3.2526.1362 (Chromium 47.0.2526.80)
2015-12-17 11:47:35 +10:00