Commit Graph

3885 Commits

Author SHA1 Message Date
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 a38b0d065b Tidy up the SchemeTest.html example a little more - still ajax posts requests are broken 2016-01-11 15:27:02 +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 009fa9b7de Fix JavaScript error in SchemeTest.html - wasn't showing the output correctly 2016-01-11 13:22:37 +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
Alex Maitland db1b23f7b2 Merge pull request #1540 from amaitland/enhancement/bitmapscalingbinding
Add BitmapScalingMode binding and demo
2016-01-11 11:15:28 +10:00
amaitland 2ffcaa11dc WPF OnMouseWheel - move variables inside of null check 2016-01-09 08:10:23 +10:00
amaitland 37f584ed01 Remove NotifyMoveOrResizeStarted and SetFocus from WinForms ChromiumWebBrowser - will mark them as obsolete in the 47 branch so they can be removed from master 2016-01-09 08:09:39 +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 08cbdff153 Merge pull request #1538 from Sharon98/master
Send modifier keys during MousewWheel event
2016-01-09 08:02:12 +10:00
Sharon98 5244c7495c Send modifier keys during MousewWheel event
This will allow processing of modifier keys such as ctrl and shift during mouse wheel event.
2016-01-08 10:04:48 -06:00
amaitland 36b0b95d55 Remove dpiAware tag from app.manifest for both WinForms example and BrowserSubProcess
Use new CefEnableHighDPISupport method for on all processes
2016-01-06 11:50:18 +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
Alex Maitland ee315ff95c Merge pull request #1418 from amaitland/feature/touchscroll
Implement WPF Touch Scroll
2016-01-05 21:58:28 +10:00
amaitland 31891e5de3 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 21:47:41 +10:00
Alex Maitland c6216c0d49 Update README.md
See if we can direct more ppl to `Gitter`
2016-01-04 17:19:53 +10:00
Alex Maitland d27683d4f4 Update README.md
Add reference to 47 branch in Release branches table.
2016-01-02 09:54:28 +10:00
Alex Maitland ecf652bd24 Update CONTRIBUTING.md
Fix some formatting.
2016-01-01 09:24:25 +10:00
Alex Maitland 497e847d3d Update Contributing.md
Add Gitter reference - let's use that as the first point of call now, need to get more people contributing
Reorder pieces - make the issue template more prominent
2016-01-01 09:21:55 +10:00
Alex Maitland aecc050e3e Update Contact Section
Ask simple questions on Gitter
2016-01-01 08:55:50 +10:00
amaitland c101d629be Set RenderProcessMessageHandler and LoadHandler to null on Dispose
Reoder so they match the order in IWebBrowser so they're easier to compare
2015-12-30 12:01:06 +10:00
amaitland af05e56c12 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
2015-12-30 09:57:34 +10:00
amaitland 3008241de9 Merge branch 'example-script' of https://github.com/rlmcneary2/CefSharp 2015-12-30 09:24:43 +10:00
amaitland 6abfe427b1 Add demo that loads the pepper flash plugin that comes with Google Chrome 2015-12-29 11:07:04 +10:00
Rich McNeary f1197acc78 Add menu to demonstrate javascript evaluation / execution. 2015-12-28 14:29:25 -05:00
Rich McNeary a168cadbad Add javascript syntax highlighting. Include demo page. 2015-12-28 14:28:15 -05:00
Rich McNeary 8e548d9c31 Add javascript syntax highlighting. New page to evaluate / execute js code. 2015-12-28 14:27:02 -05:00
amaitland 5ebed6d26f Build complete BitmapScalingMode enum list using ObjectDataProvider 2015-12-28 21:56:42 +10:00
gayak 1f6dc69dee Add BitmapScalingMode demo.
Add BitmapScalingMode binding.
2015-12-28 21:33:14 +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
Rich McNeary 62131a65a5 Merge remote-tracking branch 'refs/remotes/origin/master' into example-script 2015-12-15 10:53:58 -05:00
Rich McNeary 4e4f5f7d01 Merge remote-tracking branch 'refs/remotes/origin/master' 2015-12-15 10:53:32 -05:00