Commit Graph

4985 Commits

Author SHA1 Message Date
amaitland f1ddf6f61f Remove TryGetCefHost method - similar cleanup to previous commit, brings code more inline with cefclient example
(It would appear that having an instance of the browser then there will always to be a host)
2014-12-30 09:16:28 +10:00
amaitland 3cf7b0159a Remove TryGetCefMainFrame method - now just using calls directly to GetMainFrame() (brings code more inline with cefclient example) 2014-12-30 09:10:56 +10:00
amaitland 995974d3df Rename _renderClientAdapter to _clientAdapter 2014-12-30 08:55:27 +10:00
amaitland f9821ae549 Add offScreenRendering param to ManagedCefBrowserAdapter and create the relevant Client Adapter as required. 2014-12-30 08:53:16 +10:00
amaitland b70a309d35 Move methods from RenderClientAdapter to ClientAdapter
RenderClientAdapter should really only contains methods that relate to `OSR` (not relevant to the WinForms implementation)
2014-12-30 08:48:07 +10:00
amaitland 8b8d97e350 Pass in WPF Window handle when creating offscreeen browser 2014-12-30 08:42:29 +10:00
amaitland ff93296956 Redirect std output as well - only write on error
Untabify
2014-12-29 15:42:45 +10:00
amaitland d4f9d79aa4 Fix mistake in build script 2014-12-29 15:23:42 +10:00
amaitland 7aff85096b Second attempt to get msbuild error output 2014-12-29 15:18:00 +10:00
amaitland 626dc33bf2 Change msbuild verbosity to normal 2014-12-29 14:01:50 +10:00
Alex Maitland 084b124c72 Merge pull request #717 from MantisCore/master
Add a FromStream method to ResourceHandler.
2014-12-28 08:09:18 +10:00
MantisCore 1cc6ab2f5e Changed the ResourceHandler constructor overload taking a stream to a method FromStream instead to make it more consistent with existing methods. 2014-12-27 12:22:16 +01:00
MantisCore eabfcff3fe Added constructor overloads to ResourceHandler to enable supplying an existing resource stream. 2014-12-27 11:56:54 +01:00
daveaton 4d056bca41 Simple Fix to OnBefore Unload
Added is_Reloaded
2014-12-25 21:54:09 -06:00
daveaton bbc03c0741 Extend IJsDialogHandler To Include OnBeforeUnload Dialog Messages
Extended IJsDialogHandler to catch on exit Javascript Dialog messages.
2014-12-25 14:07:42 -06:00
amaitland af24c31592 Add license disclaimer to GdiBitmapInfo 2014-12-22 23:16:57 +10:00
amaitland abbb3145c8 Merge remote-tracking branch 'remotes/upstream/cef/2171' into improvements/2171 2014-12-22 23:06:23 +10:00
Alex Maitland 628cf9f862 Merge pull request #706 from amaitland/cleanup/wpf-keyboardhooks
WPF Cleanup Keyboard SourceHook Take 2
2014-12-22 23:02:01 +10:00
amaitland 3325daf692 As per MSDN article's recommendation always call base.OnPreviewKey method so that subscribers are notified. 2014-12-22 22:54:57 +10:00
amaitland 061c350a9c Improve formatting and include comment about source code origin 2014-12-22 22:54:57 +10:00
amaitland 1f5c5a9740 Cleanup Adding/Removing of SourceHook by using PresentationSourceChangedHandler 2014-12-22 22:54:57 +10:00
amaitland 48c3625523 Import keyboard SourceHook code from cefclient to comprehensively handle key modifiers
Simplified OnPreviewKey so that it only deals with keys that would have been handled by WPF
2014-12-22 22:51:34 +10:00
Alex Maitland aa7ef3c395 Merge pull request #705 from cefsharp/revert-695-cleanup/wpf-keyboardhooks
Revert "WPF Cleanup Keyboard SourceHook"
2014-12-22 22:45:11 +10:00
Alex Maitland e4431ddded Revert "WPF Cleanup Keyboard SourceHook" 2014-12-22 22:44:31 +10:00
Alex Maitland a57f1c4f3c Merge pull request #695 from amaitland/cleanup/wpf-keyboardhooks
WPF Cleanup Keyboard SourceHook
2014-12-22 22:41:55 +10:00
amaitland d366634f18 Remove unnecessary call to CefExecuteProcess. Relevant upstream comment
"It can be used to run secondary processes from the browser client executable (default behavior) or from a separate executable specified by the CefSettings.browser_subprocess_path value"

We use a separate browsersubprocess which has the relevant call.
2014-12-22 22:07:25 +10:00
amaitland 4baa1d65dc Remove "--type=renderer" check as the rendering is done by the browsersubprocess 2014-12-22 22:00:00 +10:00
amaitland 48aa818139 Remove old files (including nunit) v39.0.0-pre01 2014-12-22 17:28:06 +10:00
amaitland 6ecd2239df Remove testing localPackages entry from NuGet.config 2014-12-22 17:26:11 +10:00
amaitland 78bbc23bd2 Implement AddWordToDictionary and ReplaceMisspelling in CefSharp.Offscreen 2014-12-22 17:24:07 +10:00
amaitland e6e85f67eb Add license disclaimer
Cleanup formatting
2014-12-22 17:23:33 +10:00
amaitland 5543b21df5 Whitespace fixes 2014-12-22 17:08:24 +10:00
amaitland 3a2dc3ff44 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-22 16:51:23 +10:00
amaitland 9ce2c07888 Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation) 2014-12-22 16:48:54 +10:00
amaitland c7fe363126 Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00
amaitland 450ee3995d Close open popups (if any) when ManagedCefBrowserAdapter is disposed 2014-12-19 16:30:59 +10:00
amaitland 048ff475e5 When OnTitleChange and browser IsPopup then set the Window title directly 2014-12-19 14:09:17 +10:00
amaitland e355484853 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-18 22:25:28 +10:00
amaitland c7032ea83c Upgrade to Cef 3.2171.1949
OnCursorChange Signature has changed
2014-12-18 22:23:25 +10:00
Alex Maitland 244791f433 Updated to reflect release of 37.0.0 2014-12-18 21:05:08 +10:00
amaitland b8b6d8a15e Update build script to use APPVEYOR_REPO_TAG_NAME when publishing official tagged releases v37.0.0 2014-12-18 14:10:01 +10:00
amaitland 091c3302c1 As per MSDN article's recommendation always call base.OnPreviewKey method so that subscribers are notified. 2014-12-18 13:28:41 +10:00
amaitland 32334c2c62 Improve formatting and include comment about source code origin 2014-12-18 12:44:38 +10:00
amaitland 9abc531169 Cleanup Adding/Removing of SourceHook by using PresentationSourceChangedHandler 2014-12-18 12:30:40 +10:00
amaitland f28c027f5b Import keyboard SourceHook code from cefclient to comprehensively handle key modifiers
Simplified OnPreviewKey so that it only deals with keys that would have been handled by WPF
2014-12-18 12:29:16 +10:00
jornh cdae40c09c Fix commented out example code s/WebView/ChromiumWebBrowser/ 2014-12-18 00:38:13 +01:00
amaitland 85c44f7754 Move BytesPerPixel to BitmapInfo - simplifies code 2014-12-16 23:41:11 +10:00
amaitland 33b0e4710e Add TODO 2014-12-16 23:35:31 +10:00
amaitland 520349d643 Make BitmapInfo abstract and implement a strongly typed version in WPF and OffScreen 2014-12-16 23:19:21 +10:00
amaitland 40f3328b5b Add simple JSON example to BindingTest.html 2014-12-16 21:44:13 +10:00