amaitland
c19dc85494
WPF OnMouseWheel - move variables inside of null check
2016-01-09 08:08:58 +10:00
Sharon98
32a1fadbed
Send modifier keys during MousewWheel event
...
This will allow processing of modifier keys such as ctrl and shift during mouse wheel event.
2016-01-09 08:04:29 +10:00
amaitland
d6fbe2e60b
Reformat inline js (use @ notation so much of the string encapsulation can be removed)
...
Make ScriptedMethods class static and convert the methods into extension methods (really just for the hell of it)
Make some of the comments a little less verbose in terms of number of lines
Some Resharper inspired simplifications
Other code reformatting to make consistent with other parts of the project (switch case statements should have braces, ContinueWith blocks reformatted to match others)
Untabify ScriptedMethodsTest.html
Remove unused usings from ScriptedMethods
Add a few comments about camelCaseJavascriptNames
2016-01-09 07:59:32 +10:00
Rich McNeary
0db20550ae
Add menu to demonstrate javascript evaluation / execution.
2016-01-09 07:59:32 +10:00
Rich McNeary
a252785858
Add javascript syntax highlighting. Include demo page.
2016-01-09 07:59:31 +10:00
Rich McNeary
ab178bdf2c
Add javascript syntax highlighting. New page to evaluate / execute js code.
2016-01-09 07:59:31 +10:00
Rich McNeary
6a3eafc7fe
Initial script examples.
2016-01-09 07:59:31 +10:00
Rich McNeary
f06649a9ab
Change from EnableFocusedNodeChanged to FocusedNodeChangedEnabled to match the existing WindowlessRenderingEnabled setting property.
2016-01-06 11:43:49 +10:00
amaitland
6e7d5c244d
Touch scroll basics working (only tested on one device - Surface Pro)
...
As the code is not well tested and I'd like to merge into the next release I'm disabling this by default
IsManipulationEnabled = true can manually be set on the ChromiumWebBrowser instance to enable.
Enabled by default in the WPF Example
2016-01-05 22:01:32 +10:00
Alex Maitland
4f6130b531
Merge pull request #1444 from amaitland/feature/preferences
...
Implement Change Preferences at Runtime.
v47.0.0-pre01
2015-12-23 08:34:31 +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
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
Alex Maitland
fccef54c12
Merge pull request #1492 from cefsharp/perlun-patch-1
...
Adjusted details about CefSharp v37 (requiring VC++ 2013 redist)
2015-12-15 19:32:35 +10:00
Per Lundberg
0797d00767
Adjusted details about CefSharp v37
...
Also removed link to CefSharp v1. It's so outdated these days that there's no reason even linking to it. It was an important part of getting the project started, but... let's kill it now.
2015-12-15 11:16:09 +02:00
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
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