161 Commits

Author SHA1 Message Date
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 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
jornh 311cb9c9dd Generate XML documentation for x64/Release builds 2014-10-05 09:38:56 +02: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 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 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 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
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 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
amaitland e6bc1d951b Set IsBrowserInitialized in WinForms WebView 2014-06-12 01:20:49 +03:00
amaitland 92ddf8286b Expose Delete (part of the Cut/Copy/Paste suite of commands) 2014-06-12 01:20:39 +03:00
Per Lundberg 26e7a36d3e Forward-port of ec4e0650c6 from @amaitland: API cleanup - move non WPF specific commands from IWpfWebBrowser to IWebBrowser (The files had changed, so it was easier to just redo the change than trying to get the merge working). 2014-06-12 01:12:34 +03:00
amaitland f2510c31a1 Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs) 2014-06-11 23:46:42 +03:00
amaitland 8c97e29e2a Move DownloadHandler from IRequestHandler to directly on IWebBrowser 2014-06-11 14:47:19 +10:00
amaitland a8074f8807 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-06 07:43:16 +10:00
amaitland 086172c606 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-03 19:28:30 +10:00
Per Lundberg 9bf90d573f Merge commit '254f1c7bba9bde5b7acf1a8a538ca0d53421d0bd' into feature/rename-webview
Conflicts:
	CefSharp.WinForms.Example/BrowserForm.cs (manually merged)
2014-06-02 23:36:25 -07:00
Per Lundberg 7312935e18 Added missing copyright header. 2014-06-02 12:52:28 -07:00
Per Lundberg de0f1fefac Renamed the WinForms WebView to ChromiumWebBrowser, in line with how System.Windows.Forms.WebBrowser is named. (and our browser control is arguably very similar in nature to the Microsoft ones) 2014-06-02 12:50:55 -07:00
amaitland 0e687c48e0 Merge remote-tracking branch 'remotes/upstream/master' into feature/DialogHandler 2014-06-02 15:07:27 +10:00
jornh 95d98db46d Revert "Add GetText() sync method"
This reverts commit 9369967c7f.
2014-06-01 18:43:11 +02:00
jornh 65f5880010 Remove the GetSource() sync-over-async wrapper from WebView again 2014-06-01 18:40:50 +02:00
amaitland 9369967c7f Add GetText() sync method 2014-05-29 13:03:55 +10:00
amaitland aa1f2725a9 Add GetSource() Sync method and WinForms example usage 2014-05-29 12:59:51 +10:00
amaitland ee3fcb5505 Implement GetSource and GetText in an Async fashion - uses TaskStringVisitor as a wrapper around a TaskCompletionSource 2014-05-29 12:57:39 +10:00
JanEggers 6bbe660df0 Merge remote-tracking branch 'upstream/master' into ExplitImplementInternalInterface 2014-05-21 08:45:25 +02:00
JanEggers 7ccc5a59ee implement dispose and use repo in cef for emergency dispose on shutdown 2014-05-17 06:00:12 +02:00
JanEggers 6f5a7c5435 close gets called in dispose so this call is redundant 2014-05-17 05:58:38 +02:00
JanEggers 9d875c0eca also implement internal interfaces explicit for win forms browser 2014-05-15 18:57:49 +02:00
amaitland 945866e001 Merge remote-tracking branch 'CefSharp/Master' into feature/add-text-search 2014-05-14 11:28:04 +10:00
amaitland 197dc10cd9 Add httpStatusCode to OnFrameLoadEnd 2014-05-13 16:57:49 +10:00
amaitland 6aa917fa63 Rename event handler reference (for consistency) 2014-05-13 16:47:30 +10:00