Commit Graph

484 Commits

Author SHA1 Message Date
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
amaitland e9fdeceb63 Change IRenderProcess to return Task<object> - moving towards having proper WCF async 2014-08-29 11:15:54 +10:00
amaitland ef5ef1a704 Remove unused BoundObjects dictionary 2014-08-29 10:09:02 +10:00
amaitland 0ed7555ba0 Change ExecuteScript to ExecuteScriptAsync and return a Task, changed IWebBrowser interface and simply wrapped the backend call.
This at least gets the API inline with what I'd expect in the future, still need to change WCF to use Async, this is a start.
Ideally would like to port @JanEggers PR #289 and have a Cef driven TaskScheduler
2014-08-29 10:00:41 +10:00
amaitland 902d61094e Change new status event to use generic EventHandler<> 2014-08-22 13:51:54 +10:00
amaitland 762b5af0cb Merge remote-tracking branch 'remotes/upstream/master' into enhancement/minor-api-changes 2014-08-22 13:49:17 +10:00
amaitland 31efce45e7 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-22 13:44:10 +10:00
amaitland 4fb72c9237 Fix incorrect version number in comment 2014-08-21 20:20:08 +10:00
amaitland 5e7e8b6304 Merge remote-tracking branch 'remotes/upstream/master' into feature/add-devtoolsurl 2014-08-21 20:18:42 +10:00
amaitland 024620cd78 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-08-21 20:17:47 +10:00
Adrian Phinney d5d3077735 Implemented OnStatusMessage and event for WPF and WinForms. 2014-08-12 08:57:06 -04:00
amaitland d3237a0721 Add DevToolsUrl property for temporary use until upgrade to Cef 1738 2014-08-05 11:45:54 +10:00
amaitland a2debed38a Move Focus methods from IWebBrowserInternal to IWinFormsWebBrowser and only call them in the context of the WinForms ChromiumWebBrowser 2014-07-09 11:37:10 +10:00
amaitland df1c713555 Fix return type and minor formatting 2014-07-09 11:30:20 +10:00
amaitland f507216311 Add OnGotFocus and OnSetFocus
Add CefFocusSource enum for mapping from cef_focus_source_t enum
2014-07-09 11:20:54 +10:00
amaitland ff2c90b0ff Implement WinForms RegisterJsObject 2014-07-08 17:11:34 +10:00
amaitland 34e458c62c Add missing new line 2014-07-01 11:40:33 +10:00
amaitland dc25a99243 Add IsLoadingChanged event handler to WinForms
Conflicts:
	CefSharp.WinForms/ChromiumWebBrowser.cs

Conflicts:
	CefSharp.WinForms/ChromiumWebBrowser.cs
	CefSharp/IsLoadingChangedEventArgs.cs
2014-07-01 11:37:15 +10:00
amaitland 9e671737d4 Remove custom delegates and replace with Generic EventHandler<>'s
Conflicts:
	CefSharp.WinForms/ChromiumWebBrowser.cs
2014-07-01 11:33:34 +10:00
amaitland 3a7e337364 Add IsLoadingChanged event handler to WinForms 2014-07-01 11:30:00 +10:00
amaitland 57864e407c Add IsBrowserInitializedChanged event handler to WinForms (WPF had support for notification, so adding that support to WinForms) 2014-07-01 11:29:51 +10:00
amaitland d07e184367 Remove TooltipText setter (should only be set by Cef) 2014-07-01 11:29:05 +10:00
amaitland 2a9140ee8a Remove IsLoading property setter (show never be set from user code) 2014-07-01 11:28:00 +10:00
amaitland eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 12:24:22 +10:00
amaitland 32a68c0a1c Implement IWebBrowserInternal explicitly 2014-06-12 01:43:40 +03:00