Commit Graph

6294 Commits

Author SHA1 Message Date
jamespearce2006 7e4c27511a Integrating merge conflict fixes 2015-05-07 22:48:52 +01:00
jamespearce2006 c74a7726f2 project change 2015-05-07 22:45:24 +01:00
jamespearce2006 608d97a0b4 Fixed conflicts 2015-05-07 22:42:19 +01:00
jamespearce2006 9422537738 Windowless Popup work 2015-05-07 21:55:17 +01:00
jamespearce2006 35a6c4fdf6 Add WebBrowserFactory 2015-05-07 21:52:13 +01:00
jamespearce2006 ae61994c3d Offscreen popup support 2015-05-07 18:32:14 +01:00
amaitland 31aea0da84 Minor formatting of Cookie 2015-05-07 18:42:10 +10:00
amaitland 468f9d8d5d Create a Cookie class to represent the cef cookie as the .net doesn't quite work, cannot set it's timestamp
Resolve #338
2015-05-07 18:38:30 +10:00
Alex Maitland 3b0f4e31e1 Merge pull request #1010 from amaitland/enhancement/onjsdialog
Rewrite OnJSDialog so now matches the Cef API
2015-05-07 15:29:44 +10:00
amaitland 95470df8ee Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/onjsdialog 2015-05-07 15:27:44 +10:00
Alex Maitland 16ba0ab6a5 Merge pull request #1008 from amaitland/enhancement/requestcallback
Implement CefRequestCallback wrapper
2015-05-07 15:24:44 +10:00
Alex Maitland 0900a6cd32 Merge pull request #1011 from amaitland/enhancement/favicon
Add OnFaviconURLChange
2015-05-07 15:22:40 +10:00
amaitland b118b5f678 Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/requestcallback 2015-05-07 14:35:35 +10:00
amaitland fb3fb8e0de Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/onjsdialog 2015-05-07 14:32:36 +10:00
Bill Tutt bc3f89ddc4 Merge pull request #996 from rassilon/CefSharpBrowserWrapper
Part 1 of Wrap CefBrowser.
2015-05-07 00:00:43 -04:00
amaitland fb87cab4f4 Add OnFaviconURLChange implementation - there is no IDisplayHandler interface so added the method to IRequestHandler as that seemed the next best place. 2015-05-07 13:52:19 +10:00
amaitland 84bdf4d196 Untabify 2015-05-07 12:57:56 +10:00
amaitland fc9e6dc9ad Rewrite OnJSDialog so now matches the Cef API, whilst I understand that the ideal of having the types split into different methods was nice from a user point of view, I think we kept functionality from users that was exposed.
So the callback wrapper has been added so can now be executed async. SuppressMessage is now possible.

Fixes #999
2015-05-07 12:53:36 +10:00
amaitland 5e9531b68a Untabify 2015-05-07 11:37:12 +10:00
amaitland dc986b3b06 Implement CefRequestCallback wrapper and expose for relevant CefRequestHandler interfaces
Resolves #982
2015-05-07 11:33:33 +10:00
Bill Tutt 1393e58eb3 Fix build problem. No need to call .Dispose directly on disposables. 2015-05-05 22:20:35 -04: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
Bill Tutt 1f59244b81 Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper 2015-05-05 18:26:05 -04: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
jamespearce2006 8213471364 Testing changes to OnPopup 2015-05-05 17:31:46 +01:00
Bill Tutt be718159f0 Add Dispose destructors for FrameWrapper and BrowserWrapper. 2015-05-04 20:44:46 -04:00
Bill Tutt 455f536316 Remove empty line. 2015-05-04 20:22:43 -04:00
Bill Tutt eee3195436 Make the interface more friendly to .Net by using properties with IBrowser. 2015-05-04 19:31:08 -04:00
Bill Tutt 21efc10628 Use .Net friendly property names. 2015-05-04 19:15:57 -04:00
Bill Tutt ac0b52d646 Return Async task for GetSource/GetText based on review. 2015-05-04 18:52:34 -04:00
Bill Tutt 3d4f2a76d6 Add extra overload based on feedback. 2015-05-04 18:39:17 -04:00
amaitland 2821227448 Add additional xml doc and untabify 2015-05-04 16:45:21 +10:00
amaitland db3956bbe4 Add ILifeSpanHandler.OnBeforePopup no_javascript_access as ref param 2015-05-04 16:39:18 +10:00
amaitland 46c0a99899 Make OnPreKeyEvent isKeyboardShortcut a ref param 2015-05-04 16:39:18 +10:00
Alex Maitland 38665f7dc2 Merge pull request #955 from amaitland/cleanup/resourcehandler
Rewrite ResourceHandler/SchemeHandler
2015-05-04 15:30:59 +10:00
amaitland eabbcf64c1 Remove pragma once from cpp files, only needed in header files
(Was just adding to every file before without really thinking what I was doing, pretty harmless regardless).
2015-05-04 15:04:03 +10:00
amaitland e9ffd13f47 Update copyright year 2015-05-04 14:42:35 +10:00
amaitland d9a3f3dd31 Remove duplicate using 2015-05-04 14:38:20 +10:00
amaitland f8691fdee6 Merge remote-tracking branch 'remotes/upstream/cef/2272' into cleanup/resourcehandler 2015-05-04 14:34:31 +10:00
amaitland 88a3989259 Add CefSettings.PersistSessionCookies 2015-05-04 08:58:58 +10:00
Bill Tutt 872cb06c71 Part 1 of Wrap CefBrowser. 2015-05-02 23:32:22 -04:00
Bill Tutt 86f65c12ca Merge pull request #988 from rassilon/CefFrameWrapper
CefFrameWrapper implementation
2015-05-02 23:01:35 -04:00
Bill Tutt af412b623a Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/Cef.h
2015-05-02 05:04:21 -04:00
Bill Tutt 7776438ea0 Remove IBrowserAdapterNative, and add nullptr checks for GetCefBrowser return value. 2015-05-02 04:37:48 -04:00
Bill Tutt dcd56c27eb Add some descriptive comments about what some of the subprocess classes do. 2015-05-02 02:36:10 -04: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