3879 Commits

Author SHA1 Message Date
amaitland 37ef2b4695 Add IRequest.ResourceType v47.0.3 2016-02-25 11:25:05 +10:00
amaitland ad5eef26f6 Update to version 47.0.3 2016-02-25 11:07:00 +10:00
amaitland 40b36aec5e Add missing methods to IMenuModel 2016-02-18 13:53:16 +10:00
turgayselvi ae3bc589e5 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-18 13:53:16 +10:00
amaitland a09cb9b33a Untabify 2016-02-18 13:53:16 +10:00
amaitland bdddbf06d0 Add missing methods and types for IContextMenuParams
Part of #1589
2016-02-18 13:53:15 +10:00
amaitland f36080898a 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-18 13:53:15 +10:00
amaitland 33cf323d7a Remove some stray semi colons 2016-02-18 13:52:21 +10:00
amaitland 19c37ead03 Add IsDisposed properties to IRunContextMenuCallback 2016-02-18 13:48:44 +10:00
amaitland 7d75415910 Add ThrowIfDisposed to more of the wrappers 2016-02-18 13:48:44 +10:00
amaitland 1cc6728d66 IRunContextMenuCallback implements IDisposable (checked the other callbacks, it appears this is the only one that's missing the IDisposable interface). 2016-02-18 13:48:44 +10:00
amaitland 21d66b2e5f Update to version 47.0.2 v47.0.2 2016-01-29 10:31:52 +10:00
Per Lundberg e6af5ff8d6 47.0.1 coming up. 2016-01-28 15:22:31 +02:00
Per Lundberg f3fcaaceae Merge pull request #1561 from cefsharp/fix/support-drag-drop-from-input-fields
Added support for drag & drop from input fields
2016-01-28 15:15:38 +02:00
Per Lundberg 50ed2b1043 Added support for drag & drop from input fields
There was a problem with the previous implementation. It worked correctly for many use cases:

- Dragging from a web app to a WPF control.
- Dragging from a WPF control to a web app.
- Dragging _html content_ from a web app to an input field

**But**: when dragging text from one input field to another, the text would vanish (!) when you drop it.

We debugged this here quite extensively. It turned out that if you have _set_ the `FragmentHtml` (even though you've set it to an empty string), it behaves like this. The solution is to avoid setting it if it is empty.
2016-01-28 15:13:40 +02:00
amaitland 0c3427f719 Upgrade the AssemblyCopyright year to 2016 - don't worry about updating the other files as they were updated in master recently v47.0.0 2016-01-22 13:27:42 +10:00
amaitland 69824a9916 Re-add dpiAware to app.manifest for BrowserSubProcess 2016-01-16 09:09:22 +10:00
amaitland 65a2fa2656 Re-add the dpiAware attribute to the WinForms Example (no harm having it)
Add a list of supported applications including Windows 10
2016-01-16 09:07:48 +10:00
amaitland 911894b269 Remove dpiAware tag from app.manifest for both WinForms example and BrowserSubProcess
Use new CefEnableHighDPISupport method for on all processes
2016-01-16 09:07:47 +10:00
amaitland 86b5c541e3 Add try/catch around _browserProcessServiceHost->Open call - seems that occasionally there's a timing issue
See #862, #804 and #1494
2016-01-12 16:02:25 +10:00
amaitland 4efa3eddab Rewrite CefFrameWrapper::Parent::get - unsure if it would have worked previously, logic now follows CefFrameWrapper::Browser::get() 2016-01-11 13:59:37 +10:00
amaitland ea84e1cacb Add ThrowIfDisposed check as accessing an invalid frame will cause a hard crash.
Resolves #1509
2016-01-11 13:59:37 +10:00
amaitland def7c6cdb2 Add SetReferrer, ReferrerUrl and ReferrerPolicy
Resolves #1464
2016-01-11 13:58:47 +10:00
amaitland 70121a537a Add IPostData.HasExcludedElements 2016-01-11 13:58:47 +10:00
amaitland 9857194cef Build complete BitmapScalingMode enum list using ObjectDataProvider 2016-01-11 11:18:48 +10:00
gayak 1d4ce8d0e6 Add BitmapScalingMode demo.
Add BitmapScalingMode binding.
2016-01-11 11:18:48 +10:00
amaitland fa37d22a24 WinForms ChromiumWebBrowser - Make NotifyMoveOrResizeStarted and SetFocus obsolete they have been removed from master - use the underlying IBrowserHost methods instead. 2016-01-09 08:13:50 +10:00
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