Commit Graph

881 Commits

Author SHA1 Message Date
rassilon eab58306c1 Merge remote-tracking branch 'origin/master' into development
Merges master into the formerly cef/2272 branch.

Conflicts:
	CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
	CefSharp.BrowserSubprocess.Core/packages.config
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp.Core/Internals/ClientAdapter.cpp
	CefSharp.Core/Internals/ClientAdapter.h
	CefSharp.Core/packages.config
	CefSharp.Example/RequestHandler.cs
	CefSharp.Example/TempFileDialogHandler.cs
	CefSharp.OffScreen.Example/packages.config
	CefSharp.Test/packages.config
	CefSharp.WinForms.Example/packages.config
	CefSharp.Wpf.Example/packages.config
	CefSharp/IDialogHandler.cs
	CefSharp/IKeyboardHandler.cs
	CefSharp/IRequestHandler.cs
	build.ps1
2015-06-10 11:31:16 -04:00
Bill Tutt a92e44e4ad Move IBrowser into FrameLoadStart/EndEventArgs. 2015-06-08 23:07:37 -04:00
Bill Tutt bceb3db4c5 Merge remote-tracking branch 'origin/cef/2272' into cef/2272 2015-05-28 23:17:59 -04:00
Bill Tutt 12c330ad92 Merge remote-tracking branch 'origin/master' into cef/2272 2015-05-28 23:14:54 -04:00
Antonyo 33c61a6610 Make SourceHook virtual for Wpf ChromiumWebBrowser so inherited controls can override custom hook. 2015-05-29 10:53:12 +09:00
amaitland d394124b3a Move public facing CefBrowserHost methods into extension methods that use the IBrowserHost wrapper 2015-05-29 11:23:25 +10:00
amaitland 67d57c96a0 Move Stop/Back/Forward methods into WebBrowserExtensions 2015-05-28 20:20:32 +10:00
amaitland c0e79c20b0 Add GetBrowser methods to get direct access to the underlying CefBrowser instance 2015-05-28 20:08:56 +10:00
amaitland d37dd2d2ef Move LoadHtml into an extension method 2015-05-27 16:18:28 +10:00
Matthew Morrison 890b80bc0f Fixed some issues with formatting. 2015-05-23 17:46:06 -05:00
Matthew Morrison f7f13f0359 Add cursor type to SetCursor call. Duplicated CursorType enum from CEF source. 2015-05-22 19:40:40 -05:00
amaitland 1a1fcb9f2e Make the next set of frame related methods into extension methods 2015-05-21 19:12:14 +10:00
amaitland 024a80396e Move the first set of frame related method (Cut/Copy/Paste, etc) into a set of Extension methods 2015-05-21 18:49:58 +10:00
amaitland 4763020b9d Add GetMainFrame and GetFocusedFrame to IWebBrowser 2015-05-21 18:38:33 +10:00
amaitland 8a53dfe54d Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance 2015-05-21 13:57:17 +10:00
amaitland ee7c8efdd9 A few more resharper inspired cleanups 2015-05-21 13:51:15 +10:00
amaitland e43befe9fa Start to extract some duplicate code out into extension methods - saves repeating the same block three times 2015-05-21 13:51:14 +10:00
Bill Tutt c08b1ff38e Fix some review comments, and add frameloadstart/end/error related methods to IPopupHandler. 2015-05-20 22:59:43 -04:00
Bill Tutt 80d6ae12e5 Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper 2015-05-20 21:54:31 -04:00
Bill Tutt 79a66d8bc1 Add PopupHandler properties to the controls. 2015-05-17 17:57:14 -04:00
amaitland 0413c0bc6c Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-05-13 09:29:07 +10:00
jamespearce2006 da9d4df2c8 Cleanup code formatting 2015-05-07 23:40:56 +01:00
jamespearce2006 9422537738 Windowless Popup work 2015-05-07 21:55:17 +01:00
amaitland 561507b87b Add BackBufferHandle == IntPtr.Zero check to WritableBitmapInfo - in the rare case where it's been disposed of and the async OnPaint is called after the file handles have been released
Related to #1003
2015-05-06 11:10:51 +10:00
amaitland a4507d3c2e Reorder InteropBitmapInfo changes - fail fast, no need to calculate stride, remove redundant else block 2015-05-06 11:05:17 +10:00
jamespearce2006 6fa4b470f7 Return null immediately if file handle is not valid 2015-05-05 22:57:50 +01:00
jamespearce2006 6c16aa2725 switch to evaluate == first 2015-05-05 22:42:13 +01:00
jamespearce2006 446eda3435 WPF - Handle case where Bitmap is IntPtr.Zero
Because the OnPaint arrives on a thread other than the UI thread, it the
bitmap rendering process can occur after Dispose() has been called.
2015-05-05 18:05:44 +01:00
Bill Tutt 71c9cbac6d Merge remote-tracking branch 'origin/cef/2272' into CefFrameWrapper 2015-05-02 02:34:30 -04:00
Bill Tutt 1016329280 Merge remote-tracking branch 'origin/master' into cef/2272
Conflicts:
	CefSharp.BrowserSubprocess/app.manifest
	CefSharp.WinForms.Example/app.manifest
	CefSharp/Properties/AssemblyInfo.cs
	build.ps1
2015-05-02 02:33:50 -04:00
Bill Tutt de7b6b4240 More IFrame usages, take special note of the chaneges in the EventArgs types. 2015-05-02 01:15:47 -04:00
Bill Tutt e1e58a5da6 Add IFrame interface as the public face of CefFrameWrapper.
IRequestHandler: Pass IFrame instances instead of isMainFrame.
Support EvaluateJavaScriptAsync from a frame.
IBrowserAdapter, IBrowserAdapterNative: Dependency breaking between CefFrameWrapper and ManagedCefBrowserAdapter.
Add IBrowserAdapter.BrowserAdapter to IWebBrowserInternal and implment for all controls.

This builds, but hasn't been tested yet. Thoughts?
2015-05-02 00:01:31 -04:00
jamespearce2006 928d576164 NullReferenceException in ChromiumWebBrowser if not yet in VisualTree 2015-05-01 15:00:35 +01:00
amaitland bdec0cb880 Add ZoomLevel property to the IWpfWebBrowser interface 2015-04-28 10:43:10 +10:00
rassilon 33d4dbd816 Call SetCurrentValue instead. 2015-04-27 18:41:12 -04:00
rassilon fdd5508467 Continue the TaskScheduler items:
* Replace IWebBrowser.ZoomLevel property with:
   GetZoomLevelAsync(), and SetZoomLevel().
2015-04-27 18:20:32 -04:00
rassilon 4275da30b7 The other two hiding tab files. Be gone! 2015-04-25 02:48:37 -04:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland c66b28a645 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-21 11:54:56 +10:00
amaitland 39c8194b49 rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on 2015-04-16 16:31:54 +10:00
amaitland bdabd3a91c Remove usage of TaskFactory - will look at implementing later 2015-04-10 16:33:12 +10:00
Alex Maitland 5c40ff0af3 Merge pull request #933 from amaitland/experiment/taskscheduler
Add Experiment TaskScheduler
2015-04-10 16:30:46 +10:00
amaitland 4b3ee2a9a0 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-10 16:22:57 +10:00
Alex Maitland d7525280d8 Merge pull request #923 from exinferis/master
Added parameter for lowercasing JS functions (or not)
2015-04-10 15:44:21 +10:00
Alex Maitland 3d9841517f Merge pull request #913 from amaitland/bug/wpf-isloading
Resolve: IsLoaded is unreliable
2015-04-10 15:40:06 +10:00
Alex Maitland 4f3868656b Merge pull request #916 from svantreeck/master
WPF Popup - Change to absolute positioning
2015-04-10 15:38:57 +10:00
amaitland ad56dbb6b0 Expose SendKeyEvent on the WPF ChromiumWebBrowser 2015-04-09 19:26:10 +10:00
amaitland 76e28b1b16 Switch lparam to CastToInt32() extension method 2015-04-09 19:23:28 +10:00
amaitland 9d7b65ccfc Add TaskFactory that corresponds to the UI Thread
Execute SetZoomLevel on UI Thread
2015-04-09 11:30:02 +10:00
amaitland d55ea0c90e Rename NavStateChanged to LoadingStateChanged 2015-04-08 11:09:37 +10:00