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
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
44d00d79a0
Cleanup some of the Cookie code in Cef.h - remove redundant casts, simplify if statements
2015-01-08 13:34:32 +10: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
251ae9a8ec
IntPtr is a struct so pass by value rather than reference
2014-12-30 16:29:07 +10:00
amaitland
584baa2170
Remove User32.cs and implement Focused methods in NativeMethodWrapper
2014-12-30 16:23:36 +10:00
amaitland
22f70bbb9e
Copy the buffer directly into the bitmap rather than converting to InteropBitmap then back again
...
Bitmap property was unused, so change to IsCleared property for now
2014-12-30 12:37:00 +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
995974d3df
Rename _renderClientAdapter to _clientAdapter
2014-12-30 08:55:27 +10:00
amaitland
f9821ae549
Add offScreenRendering param to ManagedCefBrowserAdapter and create the relevant Client Adapter as required.
2014-12-30 08:53: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
8b8d97e350
Pass in WPF Window handle when creating offscreeen browser
2014-12-30 08:42:29 +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
061c350a9c
Improve formatting and include comment about source code origin
2014-12-22 22:54:57 +10:00
amaitland
48c3625523
Import keyboard SourceHook code from cefclient to comprehensively handle key modifiers
...
Simplified OnPreviewKey so that it only deals with keys that would have been handled by WPF
2014-12-22 22:51:34 +10:00
Alex Maitland
e4431ddded
Revert "WPF Cleanup Keyboard SourceHook"
2014-12-22 22:44:31 +10:00
Alex Maitland
a57f1c4f3c
Merge pull request #695 from amaitland/cleanup/wpf-keyboardhooks
...
WPF Cleanup Keyboard SourceHook
2014-12-22 22:41:55 +10:00
amaitland
d366634f18
Remove unnecessary call to CefExecuteProcess. Relevant upstream comment
...
"It can be used to run secondary processes from the browser client executable (default behavior) or from a separate executable specified by the CefSettings.browser_subprocess_path value"
We use a separate browsersubprocess which has the relevant call.
2014-12-22 22:07:25 +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
amaitland
9ce2c07888
Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation)
2014-12-22 16:48:54 +10:00
amaitland
c7fe363126
Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
...
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00
amaitland
450ee3995d
Close open popups (if any) when ManagedCefBrowserAdapter is disposed
2014-12-19 16:30:59 +10:00
amaitland
048ff475e5
When OnTitleChange and browser IsPopup then set the Window title directly
2014-12-19 14:09:17 +10:00
amaitland
c7032ea83c
Upgrade to Cef 3.2171.1949
...
OnCursorChange Signature has changed
2014-12-18 22:23:25 +10:00
amaitland
32334c2c62
Improve formatting and include comment about source code origin
2014-12-18 12:44:38 +10:00
amaitland
f28c027f5b
Import keyboard SourceHook code from cefclient to comprehensively handle key modifiers
...
Simplified OnPreviewKey so that it only deals with keys that would have been handled by WPF
2014-12-18 12:29:16 +10:00