Commit Graph

64 Commits

Author SHA1 Message Date
amaitland 8a53dfe54d Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance 2015-05-21 13:57:17 +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
amaitland 16616d924f Add missing DECL (__declspec(dllexport)) to OnPopupSize 2015-05-21 09:05:07 +10:00
Bill Tutt adb5ae0d77 More work on wrapping CefBrowser/CefFrame. 2015-05-17 17:41:44 -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 8755a9496f Comment out changes made by #842 and #852 until further investigation can be conducted - need to look more info how scale factor works and if the ScaleTransform we have is required. 2015-03-02 10:42:55 +10:00
amaitland aada02c356 Add ScreenInfo class to represent Width/Height/ScaleFactor 2015-03-02 10:40:01 +10:00
Bjarte Skogøy 98ec5be9b9 formatting 2015-02-27 10:35:53 +01:00
Bjarte Skogøy 52a8c09fc6 As it's implemented now the view rect needs to be adapted to the scaling. This will provide the correct area available for rendering. 2015-02-27 10:33:51 +01:00
Bjarte Skogøy 18509342d0 foramtting 2015-02-25 11:02:18 +01:00
Bjarte Skogøy f8c242e88d Use device scale factor to support higher DPI on WPF 2015-02-25 09:31:58 +01:00
amaitland bfec2c95b1 Add IBitmapFactory so that different Rendering methods can be plugged in (potentially a .Net 4.5 InteropBitmapInfo can be created)
Move into Rendering namespace
2015-01-29 15:25:08 +10:00
amaitland 9a52f082de Code cleanup - Merge ReleaseBitmapHandlers and DisposeBitmapInfo into one method 2015-01-29 12:04:15 +10:00
amaitland 524f5cb213 Merge branch 'enhancement/writeablebitmap' into improvements/more-wpf-rendering-tweaks 2015-01-29 11:54:12 +10:00
amaitland 0c45119f17 Remove SetBufferHelper method and move code inline so some minor tweaks can be performed like only setting variables when required (Small things I know though important in such a performance critical section) 2015-01-29 11:50:13 +10:00
amaitland 899e991a0a First attempt at WritableBitmapInfo implementation - uses dirty rects to determine which part of the screen to update 2015-01-16 14:02:08 +10:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
BinSys 5af020afcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 with bom) ,
now work on non-english system().
2015-01-10 02:40:23 +08:00
BinSys 3f954dfb0b Revert "change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,"
This reverts commit defd040dcc.
2015-01-10 02:22:19 +08:00
BinSys defd040dcc change c++ file copyright symbol (©) from 0xa9(cp1252) to 0xc2 0xa9(cp65001 without bom) ,
now work on non-english system().
2015-01-06 22:23:30 +08:00
amaitland 5ee13cc54f Make MainBitmapInfo and PopupBitmapInfo private
Make DisposeBitmapInfo private
2015-01-06 16:10:38 +10:00
amaitland 82d202e831 Merge SetBuffer method into OnPaint 2015-01-06 16:07: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 abbb3145c8 Merge remote-tracking branch 'remotes/upstream/cef/2171' into improvements/2171 2014-12-22 23:06:23 +10:00
amaitland c7032ea83c Upgrade to Cef 3.2171.1949
OnCursorChange Signature has changed
2014-12-18 22:23:25 +10:00
amaitland 85c44f7754 Move BytesPerPixel to BitmapInfo - simplifies code 2014-12-16 23:41:11 +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 7bc7cd227a Improve comment 2014-12-16 21:17:37 +10:00
amaitland 166c898251 Add comments to SetBufferHelper 2014-12-16 21:04:37 +10:00
amaitland 6f5ce15847 Simplify OnPaint 2014-12-16 20:55:48 +10:00
amaitland f1e5009224 Remove redundant local variable declaration 2014-12-16 20:52:27 +10:00
amaitland 96b300eaf2 Move currentWidth and currentHeight into SetBufferHelper 2014-12-16 20:51:18 +10:00
amaitland 325b7f19e2 Continue to cleanup width and height variables 2014-12-16 20:50:14 +10:00
amaitland e3f7718833 Rename width and height variables 2014-12-16 20:48:21 +10:00
amaitland 4dd0328712 Remove redundant ClearBitmap method from IRenderWebBrowser 2014-12-16 19:42:49 +10:00
amaitland d38118393b Release handlers used for InteropBitmap when disposing of RenderClientAdapter 2014-12-03 11:21:22 +10:00
Bodekaer af545988a3 Merge branch 'cef/2171' into cef/2171-jsb-wip
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj
	CefSharp.Core/packages.config
	CefSharp.Test/packages.config
	CefSharp.WinForms.Example/packages.config
	CefSharp.Wpf.Example/packages.config
	build.ps1
2014-11-03 18:29:19 +08:00
amaitland a51d46463f Whitespace fix 2014-11-03 18:18:12 +10:00
jornh e26c733442 Merge branch 'cef/2062' into pretend_WIPsMaster
Conflicts:
	CefSharp.Core/Internals/ClientAdapter.h
	CefSharp.Core/Wrappers/CefSubprocessWrapper.h
	CefSharp.Example/CefExample.cs
	CefSharp.Wpf/ChromiumWebBrowser.cs
	NuGet/pack.bat
	build.ps1
2014-11-02 19:45:29 +01:00
Bodekaer 0cccb2a1e6 Fixed missing parameter for ShowDevTools() method, which now supports parameter Inspect Element At which is not yet implemented in CEFSharp. 2014-10-31 16:04:45 +08:00
Peter Rekdal Sunde 4a477d181c bugfix: initialize RenderClientAdapter when WPF has calculated the actual size of current content. 2014-10-14 09:01:44 +02:00
Peter Rekdal Sunde 4e090ce54d this and that, see: https://github.com/peters/CefSharp/commit/ea2fbf6dcf7645149c80cde48c8afbfd40bd95a4#commitcomment-8110807 2014-10-10 08:49:44 +02:00
Peter Rekdal Sunde ea2fbf6dcf oh la la! dirty, dirty dirty.. temp fix for getting stuff working so we can continue development until a proper fix can be devised 2014-10-09 10:16:04 +02:00
amaitland b84f76eb53 Merge branch 'JsBinding_WIP' into JsBinding/Wip2 2014-10-03 18:37:09 +10: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
amaitland 6b542ba923 Pass BrowserId to OnAfterBrowserCreated action as a param - in rare case user was getting nullptr exception 2014-10-01 10:40:07 +10:00
amaitland 625b77fb05 Fix incorrect IMPLEMENT_REFCOUNTING 2014-09-30 23:59:09 +10:00