amaitland
9ef0e21c62
Add CookieManager nullptr check - rather than return a wrapper around an empty CefRefPtr return null directly
2015-12-09 13:26:46 +10:00
amaitland
c18f951a97
Move OnContextCreated from IRequestHandler to IRenderProcessMessageHandler
...
Manually resolve some merge conflicts
2015-12-09 11:32:24 +10:00
amaitland
af02212217
Merge branch 'feature/oncontextcreated' of https://github.com/amaitland/CefSharp
2015-12-09 11:26:07 +10:00
amaitland
d33c41ec5d
Remove unused include
...
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
Rich McNeary
5784444f43
Merge remote-tracking branch 'refs/remotes/cefsharp/master' into focus-changed-1256
...
# Conflicts:
# CefSharp/IRequestHandler.cs
2015-12-08 09:36:44 -05:00
Rich McNeary
7d4e074ef4
Move OnFocusedNodeChanged into new IRenderProcessMessageHandler.
2015-12-08 09:32:54 -05:00
Rich McNeary
443804084e
Changed to specifically request FocusNodeChanged messages.
2015-12-08 09:04:22 -05:00
Alex Maitland
a736754e2c
Merge pull request #1440 from amaitland/feature/loadrequest
...
Implement IFrame.LoadRequest
2015-12-08 12:07:49 +10:00
amaitland
7782490513
Add IRequestHandler.OnResourceLoadComplete
...
https://bitbucket.org/chromiumembedded/cef/commits/ced449a0efbb39e7ff36af844a4d067935dc324b
2015-12-08 10:46:27 +10:00
amaitland
4684cfcbb9
Upgrade to CEF 3.2526.1359 (Chromium 47.0.2526.73)
2015-12-08 10:27:08 +10:00
Rich McNeary
1fb54241f7
Add the OptionalMessages property to CefSettings.
2015-12-07 16:27:17 -05:00
Rich McNeary
8d013feb9f
Replace gcnew String() with StringUtils::ToClr().
2015-12-07 10:52:57 -05:00
Rich McNeary
ae49a5385b
Fix: tabs to spaces, if and for braces, use frame ID.
2015-12-07 09:48:57 -05:00
Rich McNeary
1ecf2d57b0
Initial implementation complete.
...
Add support for when an element node in the DOM gets focus. Also invoked
when focus passes from an element node to an non-element node or
nothing.
2015-12-04 16:01:26 -05:00
Rich McNeary
34f7554023
Added initial implementation to IRequestHandler.
2015-12-03 16:08:34 -05:00
Rich McNeary
ce79f71275
When OnFocusedNodeChanged data is passed from render to browser process.
2015-12-03 15:59:27 -05:00
amaitland
8cd491562d
Reorder params for SetInt64, SetJsCallback and SetCefTime - they're not in a logical order
2015-12-02 19:20:54 +10:00
amaitland
6f272833fb
Add IRequestHandler.OnContextCreated handler
...
Send an IPC message when OnContextCreated is called in the render process
Currently only called for the main frame
Should be possible to hook the DOMContentLoaded event
2015-12-02 19:04:19 +10:00
amaitland
08bbc19803
Improve the AddElement and RemoveElement logic - don't add/remove if the element is/isn't in the collection
2015-11-29 07:50:13 +10:00
amaitland
45b957337e
Add Readonly Checks to CefPostDataWrapper
...
Implement AddElement, RemoveElement and RemoveElements
Add IPostData.CreatePostDataElement
2015-11-29 07:10:02 +10:00
amaitland
de53893c19
Add operator so it's possible to cast from CefPostDataElementWrapper to CefPostDataElement
2015-11-29 07:05:01 +10:00
amaitland
994f94a415
Add ThrowIfDisposed calls to both CefPostDataElementWrapper and CefPostDataWrapper
2015-11-29 06:22:22 +10:00
amaitland
565e52eb32
CefPostDataWrapper now implements CefWrapper - removes duplicate Disposed logic
2015-11-29 06:20:19 +10:00
amaitland
3b2bd43880
Add initializePostData param to CreateRequest - simplifies the initialization of the CefPostDataWrapper, basically if you know that you'll need to use PostData then initialize up front
2015-11-29 06:19:35 +10:00
amaitland
d5bde1cdfc
Expose IFrame.LoadRequest
...
Add IFrame.CreateRequest to instantiate a new instance of the CefRequestWrapper
Was planning on using VC++ extensions methods, have yet to get that working, so for now just have a method on the IFrame interface directly.
2015-11-25 08:30:38 +10:00
amaitland
0fe0b4c4de
Add CefExecuteProcess as Cef.ExecuteProcess - useful for implementing your own very minimal browser without the custom subprocess
2015-11-19 18:15:31 +10:00
amaitland
1bce19a051
Remove unnecessary safe cast and cleanup the code a little
2015-11-18 18:50:38 +10:00
amaitland
263ac29a40
Reorder serializer params - now slightly more logical
2015-11-18 18:49:12 +10:00
amaitland
401dd969fc
Make params const and pass by ref
2015-11-18 18:39:36 +10:00
amaitland
3f15b53ab7
Resolves #1407
...
More the DeserializeV8Object call to within the context->Enter so a V8Object can be created
Change callback to use a struct as it's return type to demo the solution to this bug
Add missing list->SetDictionary call in V8Serialization.cpp
2015-11-18 09:17:16 +10:00
amaitland
0ecd64dfd2
Upgrade to 3.2526.1347
...
Upgrade 45.0.0 references to 47.0.0
Remove BrowserSettings.Java as it's an NPAPI plugin and support was removed in version 45
2015-10-30 09:10:12 +10:00
amaitland
95040059be
Resolves #1386 - Add UserDataPath
...
Also add JavascriptFlags and UncaughtExceptionStackSize
Hopefully all the properties have been exposed now
2015-10-30 08:06:46 +10:00
amaitland
c135fe2d90
Fixes #1387 StatusCode, StatusText and MimeType were always being overwritten in the constructor
2015-10-30 08:00:02 +10:00
amaitland
bfe9fe63d9
Upgrade to CEF 3.2454.1344
2015-10-30 07:47:43 +10:00
amaitland
94b77750e6
Fix #1357
...
In GetBrowserWrapper check if _cefBrowser has a valid pointer
Add ManagedCefBrowserAdapter IsDisposed check in JavascriptCallbackProxy::GetBrowser
Add CanExecute to check if underlying resources are still available
2015-10-26 12:04:54 +10:00
amaitland
cb927c5ef6
Remove redundant else statement from StringUtils.h
2015-10-26 11:49:14 +10:00
illfang
c5a9ed9038
added missing include for CI build
2015-10-23 16:51:22 +09:00
illfang
bd95633741
added CreateExceptionString to the string utils which creates a verbose message from a Cef V8 exception, if possible
2015-10-23 16:40:25 +09:00
amaitland
a3dff183dc
Upgrade to 3.2454.1342
2015-10-21 20:07:13 +10:00
bartwe
221ec0dacc
Expose explicit message loop handling.
2015-10-21 19:46:13 +10:00
amaitland
8f61fc618b
Update to 3.2454.1333
...
https://bitbucket.org/chromiumembedded/cef/commits/a594fe2ca4bcb1a7b7bccd814fbd6a382a4dc825
Resolves #1337
2015-10-15 21:12:16 +10:00
amaitland
7aa128781d
Add IsDisposed checks
...
Resolves #1307
2015-10-13 19:46:38 +10:00
amaitland
b1053cb6a5
Merge remote-tracking branch 'remotes/upstream/master' into enhancement/v8contextperframe
2015-10-13 14:08:32 +10:00
amaitland
ad9f7c70ac
Add IPluginHandler.OnBeforePluginLoad
...
Can now be used through the RequestContext
Add Example to WPF application
2015-10-12 15:32:10 +10:00
amaitland
b739c155f9
Make ICookieManager.FlushStore Async
...
Resolves #1276
2015-10-12 08:47:38 +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
2f3d9f868f
Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
...
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland
d1ba723bd5
Add CefSharpSettings.WcfTimeout - allow user to specify custom timeout when closing the WCF channel host
...
Can set to TimeSpan.Zero to Abort the channel (close without timeout)
2015-10-08 22:42:37 +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