Commit Graph

6179 Commits

Author SHA1 Message Date
amaitland 899a0525da Untabify 2015-12-09 11:37:16 +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
amaitland bd49288ed5 Merge branch 'master' of https://github.com/rlmcneary2/CefSharp 2015-12-09 10:33:20 +10:00
Alex Maitland a1171ffb0a Merge pull request #1477 from amaitland/master
Update Readme.md
2015-12-09 08:55:20 +10:00
amaitland 0c94a66986 Update licence link to 3-BSD (I guess it's been incorrect for a while now)
Add reference to stackoverflow
Make note that Google group is no longer particularly active
Add additional links
2015-12-09 08:49:39 +10:00
hgupta9 dd37ae22ff fix documentation links
reorder and improve text
link 3 shields to nuget
move gitter shield to top
fix shields
add more shields
use local link for logo
add logo into readme
smaller links
reorder links
update readme to add links
2015-12-09 08:19:35 +10:00
Rich McNeary cee4e6b704 Merge pull request #1 from rlmcneary2/focus-changed-1256
Merge from focus-changed-1256 to master.
2015-12-08 09:57:37 -05: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 5323818d7b Fix comment. 2015-12-07 10:54:20 -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
Alex Maitland fa51548d9e Add Gitter Chat Badge
Let's see how this goes, hopefully it will encourage more people to get involved. I guess only time will tell though.
2015-12-02 10:57:13 +10:00
amaitland 98959d8f06 Basic example Load Request with post data has been added to the WPF Example 2015-11-29 07:59:04 +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 3a15e48149 Expand the example code - need to actually implement a working example 2015-11-29 07:36:15 +10:00
amaitland a59b78b834 Add some methods to PostDataExtensions - make life a little easier 2015-11-29 07:28:22 +10:00
amaitland 6a3ab12cb2 Add AddElement and RemoveElement to IPostData 2015-11-29 07:24:58 +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 c00eeb82f5 Remove some stray AnyCPU targets from the csprojcts 2015-11-27 11:35:41 +10:00
amaitland fc674d83a1 Remove CefSharp.Test project from solution - not currently being used 2015-11-27 11:35:41 +10:00
Alex Maitland 5212a6d089 Merge pull request #1443 from huseyint/master
Fixed typos in comments
2015-11-27 07:42:44 +10:00
Huseyin Tufekcilerli 34200be4fe Fixed typos in comments 2015-11-26 16:12:17 +02:00
amaitland 1aa3531087 Add more to the LoadRequest example - not yet wired up in the WPF Example project 2015-11-25 08:35:38 +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
Alex Maitland 11055688cd Release 45.0.0 2015-11-24 09:21:13 +10:00
amaitland db29e0bf9b Update the WinForms Example to demo using Cef.ExecuteProcess - uses your own app executable to run the sub process - quite a few limitations with this approach currently 2015-11-19 19:03:42 +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
Alex Maitland 8134e8280e Merge pull request #1426 from amaitland/fix/1407
Add Support for executing a JavascriptCallback with a Struct as a param
2015-11-19 18:12:19 +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 07820e9c8b For v8serialization Instead of creating a null and then not using refactor slightly 2015-11-18 18:45:28 +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