amaitland
2df2a05be7
Update to 2272 nuget packages
...
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland
a0ba80ca6c
Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered
2015-03-12 12:38:23 +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
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
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
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
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
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
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
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
amaitland
ff634e299b
Replace IWebPluginInfo with WebPluginInfo
...
Instead of wrapping the Cef object, just read it's properties through a helper method
2015-01-08 13:00:49 +10:00
amaitland
57dad250f7
Add TypeConversion class as a common place for simple static methods used to convert to/from cef objects
2015-01-08 11:22:54 +10:00
amaitland
6ef03d4cc5
Simplify CefWebPluginInfoWrapper - no need to keep reference, simply read values into properties (Reduces risk of memory leaks if user keeps reference to IWebPluginInfo for some reason)
2015-01-08 10:44:11 +10:00
Bodekaer
3407a91d1d
Added drag-drop support, to allow dragging files, text and links into the browser (WPF-only currently)
2015-01-07 16:10:56 +01: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
daveaton
82affbebb6
Changed Small case and spaces changes
2015-01-06 05:12:19 -06:00
daveaton
3202167a61
Revert "Small case and space changes"
...
This reverts commit 74a2f1a13a .
2015-01-06 05:08:19 -06:00
daveaton
74a2f1a13a
Small case and space changes
2015-01-06 04:39:58 -06: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
f1ddf6f61f
Remove TryGetCefHost method - similar cleanup to previous commit, brings code more inline with cefclient example
...
(It would appear that having an instance of the browser then there will always to be a host)
2014-12-30 09:16:28 +10:00
amaitland
3cf7b0159a
Remove TryGetCefMainFrame method - now just using calls directly to GetMainFrame() (brings code more inline with cefclient example)
2014-12-30 09:10:56 +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
daveaton
4d056bca41
Simple Fix to OnBefore Unload
...
Added is_Reloaded
2014-12-25 21:54:09 -06:00
daveaton
bbc03c0741
Extend IJsDialogHandler To Include OnBeforeUnload Dialog Messages
...
Extended IJsDialogHandler to catch on exit Javascript Dialog messages.
2014-12-25 14:07:42 -06:00
amaitland
abbb3145c8
Merge remote-tracking branch 'remotes/upstream/cef/2171' into improvements/2171
2014-12-22 23:06:23 +10:00
amaitland
5543b21df5
Whitespace fixes
2014-12-22 17:08:24 +10:00
amaitland
3a2dc3ff44
Merge remote-tracking branch 'remotes/upstream/master' into cef/2171
2014-12-22 16:51:23 +10:00