Commit Graph

466 Commits

Author SHA1 Message Date
amaitland fa31882137 Untabify xml comments of newly added methods 2015-03-10 22:54:40 +10:00
amaitland 545c63aacc Expose CefAddWebPluginDirectory, CefAddWebPluginPath, CefRefreshWebPlugins methods 2015-03-10 22:52:45 +10:00
amaitland 649c497387 Remove nuget msbuild target from vc++ projects 2015-03-06 18:00:00 +10:00
amaitland f39fd0c2b3 Fix compiler warnings - minor typo's in xml comments 2015-03-06 17:55:02 +10:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon 74544d7f73 Use the full constructor in order to allow headers to be useful. 2015-03-02 22:51:21 -05:00
rassilon 55aaae243a Add _ prefix to field. 2015-03-02 20:28:04 -05:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05: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 ebf8b88523 - notify screen info changed
- update the scaletransform when presentation source is changed
2015-02-26 10:05:23 +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
rassilon e582c6cf8e Adjust parameter names and reformat CEF docs to .net notation. 2015-02-23 23:13:00 -05:00
rassilon d9e84a5a10 Expose Cross-Origin Whitelist from Cef.XXX as static methods. 2015-02-23 22:25:41 -05:00
amaitland b6ac43a0a8 Merge remote-tracking branch 'remotes/upstream/master' into improvements/more-wpf-rendering-tweaks 2015-02-15 22:26:03 +10:00
amaitland 00b25f5e3f Split SchemeHandlerFactoryWrapper out into it's own .h/.cpp files 2015-02-14 12:04:59 +10:00
amaitland 54b1520761 Fix problem where stream was being closed and subsequent read attempts threw an exception (e.g. browser refresh) 2015-02-06 21:49:54 +10:00
Bill Tutt 36478a90bb #785: Tiny build fix. 2015-02-03 20:11:30 -05:00
Bill Tutt 3bb569d596 #785: Be paranoid about "delete <member>" twice during dispose/finalization and only do it once.
I'm not sure if this is necessary, but it looked very odd to me.
2015-02-03 20:01:43 -05:00
Bill Tutt 08b1254879 #785: _browserProcessServiceHost isn't safe to call Close on if we're being finalized. (it may have already been disposed of separately on the finalizer thread) 2015-02-03 19:55:24 -05:00
amaitland 6d4a766c32 Remove IMouseEvent interface - served no real purpose 2015-02-03 23:07:00 +10:00
amaitland da16d9f0eb Cleanup code as per feedback in PR #732 2015-02-03 23:05:43 +10:00
amaitland 38e60a97f3 Merge branch 'feature/2171-drag-drop' of https://github.com/Bodekaer/CefSharp into enhancement/focus-take4 2015-02-03 22:54:46 +10:00
amaitland 912754dd53 Fix order of xml comment params 2015-02-02 18:46:58 +10: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 7e3d5ece25 Remove unused ManagedCefBrowserAdapter deceleration 2015-01-29 11:55:31 +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 823889099d Allow setting IsLocal and IsDisplayIsolated for a CustomScheme
Added relevant xml comments
2015-01-29 11:50:13 +10:00
amaitland b015ed7c2e Added ClearSchemeHandlerFactories method incase anyone wants to remove their factories 2015-01-29 11:50:13 +10:00
Jan Kurianski 0f23b663a2 Merge pull request #768 from pushplay/master
Implement CefGeolocationHandler::OnRequestGeolocationPermission
2015-01-29 10:48:25 +11:00
amaitland 43765ad1c3 Upgrade to 3.2171.1979 2015-01-27 20:03:25 +10:00
pushplay 485e2a97a2 Code clean up: fixing a brace. 2015-01-26 17:30:29 -08:00
pushplay aba800a9c3 Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests. 2015-01-26 14:16:46 -08:00
amaitland 1d7cc92a6a Pass in the IntPtr as lParam and then based on IntPtr Size (32bit == 4 and 64bit == 8) convert the IntPtr to either 32bit or 64bit 2015-01-22 11:59:53 +10:00
amaitland 0838dcd382 LPARAM is dependent on target platform so changing to int64 so both x86 and x64 are the same 2015-01-22 11:18:28 +10:00
amaitland a250e2d7ed WPF Fix lParam.ToInt32() overflow when running in 64bit mode
https://github.com/cefsharp/CefSharp/issues/509#issuecomment-70944315
2015-01-22 11:09:45 +10:00
amaitland 94510fa291 Fixed missing slash in xml comment (compiler produced warning of badly formed xml) 2015-01-22 10:39:04 +10:00
amaitland cab00326f2 Add shutdownOnProcessExit param to Cef.Initialize allowing users more control over Shutdown
Default behavior stays the same
2015-01-21 22:52:25 +10:00
amaitland 5d6528f441 Added myget feed to NuGet.config (Uploaded latest redist/sdk pages to myget)
Upgrade to 3.2171.1972
2015-01-21 10:53:33 +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
Alex Maitland d95c0064e3 Merge pull request #731 from binsys/cpp_files_encoding
change c++ file copyright symbol (©) encoding to work on non-english system
2015-01-15 14:53:38 +10:00
amaitland fce5f06362 Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users

Add JsDialogHandler that implements the default behavior
Assign in the WinForms example

Fix typo in IRequestHandler
2015-01-11 14:05:10 +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