208 Commits

Author SHA1 Message Date
amaitland c6a387e592 Add LoadHtml overrides with Encoding param (default is UTF-8) 2014-12-16 10:48:16 +10:00
amaitland fba29ac001 Move managedCefBrowserAdapter creation to constructor (same as WPF control) 2014-12-12 13:15:03 +10:00
jankurianski 599e1414e4 Remove unnecessary Focus() method. 2014-12-10 21:23:37 +11:00
jankurianski 667b649e26 Implement CefBrowserHost::SetFocus for WinForms 2014-12-10 15:18:19 +11:00
amaitland ba06c3d892 Change LoadHtml to register a ResourceHandler 2014-12-09 12:41:21 +10:00
amaitland 3e2511bb81 Add DefaultResourceHandler implementation 2014-12-09 12:37:21 +10:00
amaitland 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +10:00
daveaton dd6044a497 Implement Drag Handler
Trying to learn how to Implement a feature for Dragging  Objects into
CefSharp
2014-12-08 20:55:20 +10:00
amaitland fc96909e0c Move User32 from CefSharp to CefSharp.WinForms 2014-11-27 20:28:44 +10:00
amaitland 1eeb9d2b7f Merge branch 'focused' of https://github.com/Octopus-ITSM/CefSharp 2014-11-27 20:24:51 +10:00
amaitland 9cf234fc20 Missing include in CefSharp.WinForms.csproj (VS doesn't always save projects unless you ask nicely) 2014-11-26 13:38:42 +10:00
amaitland c2956149f1 Set MenuHandler to null in Dispose (just for good measure) 2014-11-26 13:37:38 +10:00
amaitland 3cb667d13c Add license disclaimer 2014-11-26 13:35:24 +10:00
amaitland d8f684f1a4 Move DefaultFocusHandler into it's own internal class 2014-11-26 13:34:47 +10:00
jankurianski 9c8fab9f89 Added DefaultFocusHandler with SelectNextControl behaviour. 2014-11-26 00:08:35 +11:00
jankurianski 3bbb01c6ef Added IFocusHandler and WinForms example. 2014-11-25 22:29:35 +11:00
jankurianski 87667f2635 Pulling in amaitland:CefSharp feature/focus-handler changes 2014-11-25 21:50:42 +11:00
Sylvain Hamel dd29410f22 Implement Focused property 2014-11-21 09:00:20 -05:00
amaitland bf28d21fd7 Merge if statements - code simplification 2014-11-19 15:31:31 +10:00
Sylvain Hamel b72f3b757c fix #553 by handling Initial resize and OnSizeChanged 2014-11-18 23:08:34 -05:00
Alex Maitland 4b27600d9f Merge pull request #596 from amaitland/feature/SendMouseWheelEvent
Send MouseWheel events with WPF support
2014-11-14 15:35:04 +10:00
amaitland e364509f7e Revert fix for #522 2014-11-12 16:31:53 +10:00
Sylvain Hamel fdd967b324 expose SendMouseWheelEvent 2014-11-11 09:53:56 -05:00
amaitland 70dc161549 Merge remote-tracking branch 'remotes/upstream/cef/2062' into cef/2062-jsb-wip 2014-11-05 13:46:37 +10:00
amaitland 75d8cf255d Set OptimizedDoubleBuffer appears to fix WinForms issue where previously only able to Create the browser in the constructor 2014-10-31 17:08:54 +10:00
amaitland bb27ea3c48 First attempt at a fix for #522 - this is a hack.
Keeping track for future reference
2014-10-30 14:46:26 +10:00
amaitland 52db1e282a Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-30 11:30:22 +10:00
amaitland b3c1f8d24c Slightly more elegant solution than calling Invalidate on Resize 2014-10-21 22:17:09 +10:00
amaitland 0856afaabe Default DockStyle to Fill (user can override after control is created as required) 2014-10-21 22:06:37 +10:00
amaitland 54bf168310 Invalidate the control on Resize so it's redrawn (paint is then called and Cef is then updated) 2014-10-21 21:46:01 +10:00
amaitland 3ce9990807 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-20 14:16:06 +10:00
amaitland 98c8fd545d Rename OnSizeChanged to OnPaint
Minor code tidy up - move OnPaint to bottom of ChromiumWebBrowser
2014-10-15 14:48:59 +10:00
amaitland b07bd9fe64 Only call managedCefBrowserAdapter.OnSizeChanged(Handle); when painting 2014-10-15 14:48:59 +10:00
jankurianski 4804efd306 WinForms: don't report size changed when Size is 0x0.
This occurs when the control is on a modeless Form and it is minimized.
Same guard is in cefclient.
2014-10-14 11:27:46 +11:00
amaitland 72517f17f6 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-07 11:07:19 +10:00
jornh 311cb9c9dd Generate XML documentation for x64/Release builds 2014-10-05 09:38:56 +02:00
amaitland 6022c22fe6 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-03 18:31:59 +10:00
amaitland 6e767c02fe Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-03 18:22:43 +10:00
amaitland a58b6086c7 First 1750 feature - ShowDevTools/CloseDevTools 2014-10-03 16:41:17 +10:00
jornh 21e9dfa801 Merge pull request #471 from amaitland/fix/wpf-loadurl
Fix/Implement WPF Load(url) Method
2014-10-03 07:08:04 +02:00
jornh 12f9c297e8 Merge pull request #492 from amaitland/upgrade/1750
Upgrade to Cef 1750
2014-10-03 06:50:55 +02:00
amaitland c02c63cd1f Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-01 14:54:28 +10:00
amaitland 88072a477d Remove Address getter from IWebBrowser
Make Address private on ChromiumWebBrowser

Still allows for full data binding under MVVM as users will directly access the control in xaml, from a view model they're likely to bind through a Property that is data bound to address
and everywhere there's a reference to IWebBrowser then Load(string url) can be called in code
2014-09-30 15:43:55 +10:00
amaitland e0ca4e638a Remove DevToolsUrl - no longer valid in 1750 2014-09-26 14:37:46 +10:00
amaitland 286b590960 Rename EvaluateScript to EvaluateScriptAsync for consistency 2014-09-15 12:15:48 +10:00
amaitland 6505f43b15 EvaluateScript now accepts a nullable timespan and only executes a timeout if a value is specified 2014-09-15 12:11:31 +10:00
amaitland bdbb8c3f45 Register sample JS BoundObject after Handle is created (Handle creates managedCefBrowserAdapter) 2014-09-11 17:45:47 +10:00
amaitland 08d557ca46 Fix whitespace 2014-09-02 12:04:39 +10:00
amaitland 2c4d179c5d Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned 2014-09-02 12:02:32 +10:00
amaitland 4a3f459956 Add Task Timeout and change default timeout value to 60 seconds 2014-08-29 12:55:22 +10:00