Commit Graph

2434 Commits

Author SHA1 Message Date
amaitland 7bc7cd227a Improve comment 2014-12-16 21:17:37 +10:00
amaitland 013c3145c7 Only create new RenderingEventArgs when EventHandler is attached (performance reasons, no need to create object unnecessarily) 2014-12-16 21:05:29 +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 a11ec84b2b Only get BytesPerPixel when generating a new InteropBitmap 2014-12-16 20:27:35 +10:00
amaitland f674387023 Move rendering code inline 2014-12-16 20:25:38 +10:00
amaitland 0bb35f8b27 Only update the InteropBitmap reference when a new one is created 2014-12-16 20:24:47 +10:00
amaitland 7c1bc144b6 Remove SetBitmapHelper method - call code inline for now 2014-12-16 20:24:04 +10:00
amaitland 2824f3b225 Continued refactor of SetBitmapHelper 2014-12-16 20:23:05 +10:00
amaitland aaf676fa09 Simplify SetBitmap by removing Action<> 2014-12-16 19:48:08 +10:00
amaitland da6e95e898 Remove redundant SetBitmap method from IRenderWebBrowser 2014-12-16 19:44:31 +10:00
amaitland 4dd0328712 Remove redundant ClearBitmap method from IRenderWebBrowser 2014-12-16 19:42:49 +10:00
amaitland d3d8d53e15 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-16 19:27:13 +10:00
amaitland 6089015c99 Add NavstateChanged EventHandler to OffScreen 2014-12-16 17:21:33 +10:00
amaitland f805f50544 Save the internal byte array of MemoryStream from being expanded unnecessarily as per https://github.com/cefsharp/CefSharp/pull/691#issuecomment-67116871 2014-12-16 16:19:51 +10:00
amaitland 5cc66592c2 Update assemblyIdentity to include correct version and app name 2014-12-16 15:21:38 +10:00
amaitland a8885defed Reformat app.manifest files - was too verbose 2014-12-16 15:21:03 +10:00
Alex Maitland 997e7eda3e Merge pull request #664 from jimnoble/master
Add DPI-Aware Manifests for High DPI Support
2014-12-16 15:13:24 +10:00
Alex Maitland add83d9e91 Merge pull request #691 from amaitland/enhancement/resourcehandler-encoding
Enhancement - ResourceHandler Encoding
2014-12-16 13:23:29 +10:00
amaitland e235cf1598 Spelling mistakes 2014-12-16 12:35:03 +10:00
amaitland 3fec9843a7 Add ResourceHandler unicode example to CefExample 2014-12-16 10:51:47 +10:00
amaitland c6a387e592 Add LoadHtml overrides with Encoding param (default is UTF-8) 2014-12-16 10:48:16 +10:00
amaitland 85024f2fb0 Add ability to specify FromText Encoding and Preamble (without a preamble then Cef will use DefaultEncoding to render the html) 2014-12-16 10:43:44 +10:00
amaitland ffac7e6546 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-12 16:45:44 +10:00
Alex Maitland 5e225b7700 Merge pull request #683 from amaitland/enhancement/winforms-managed-init
WinForms - Create ManagedCefBrowserAdapter in Constructor
2014-12-12 13:24:26 +10:00
amaitland 56e9b9db37 Remove hack for #522 that's no longer required 2014-12-12 13:17:34 +10:00
amaitland 0efff78f0d Update examples to call RegisterJsObject in constructor 2014-12-12 13:16:59 +10:00
amaitland fba29ac001 Move managedCefBrowserAdapter creation to constructor (same as WPF control) 2014-12-12 13:15:03 +10:00
Alex Maitland 2ebf0b46e6 Merge pull request #681 from ghuntley/patch-1
documentation correction -> new CefSettings not new Settings
2014-12-12 11:28:44 +10:00
Geoffrey Huntley 47f5cd7b6d correction -> new CefSettings not new Settings 2014-12-12 11:37:18 +11:00
Alex Maitland 8bc801540a Merge pull request #675 from amaitland/fix/issue-614
Javascript Binding - Only call Connect for main browser (not popups)
2014-12-11 12:06:03 +10:00
Alex Maitland 8f7330ff06 Merge pull request #678 from numbersint/features/setfocus
Implement CefBrowserHost::SetFocus for WinForms
2014-12-10 20:53:47 +10:00
jankurianski 599e1414e4 Remove unnecessary Focus() method. 2014-12-10 21:23:37 +11:00
jankurianski 667b649e26 Implement CefBrowserHost::SetFocus for WinForms 2014-12-10 15:18:19 +11:00
amaitland 7ef8406179 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-09 21:38:44 +10:00
Alex Maitland ae8c153129 Merge pull request #674 from amaitland/feature/rework-resourcehandler
Rework ResourceHandler
2014-12-09 20:01:27 +10:00
amaitland 372f070d8f For popups don't Connect to the Browser process (Attempt to fix issue #614) 2014-12-09 18:35:12 +10:00
amaitland 44eff69334 Simplify add/update of ResourceHandler 2014-12-09 16:07:35 +10:00
amaitland 534e8a87a1 Update LoadHtml xml comment 2014-12-09 15:26:48 +10:00
amaitland b104cd7b12 Fix bug where calling RegisterHandler with the same url twice would throw and exception
All user to specify Comparer for dictionary
2014-12-09 15:16:45 +10:00
amaitland e9a7708d05 Untabify 2014-12-09 12:59:52 +10:00
amaitland 5a869771e7 Update WinForms and WPF examples to represent the ResourceHandler changes 2014-12-09 12:50:37 +10:00
amaitland 695e797f92 Add license disclaimer 2014-12-09 12:41:29 +10:00
amaitland ba06c3d892 Change LoadHtml to register a ResourceHandler 2014-12-09 12:41:21 +10:00
amaitland 3e2511bb81 Add DefaultResourceHandler implementation 2014-12-09 12:37:21 +10:00
amaitland 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +10:00