amaitland
fdd08896d7
Expose the IME methods/callback added with https://bitbucket.org/chromiumembedded/cef/commits/f7014be
...
It should now be possible for someone to implement IME support in the WPF control to resolve #1262
2016-12-14 07:32:03 +10:00
amaitland
79f3844cab
Follow up to #1764
...
- Call SetHandlersToNull() in a consistent fashion across all three implementations
- Reword comments slightly
2016-08-09 12:40:58 +10:00
Alex Maitland
d4feffb554
Feature - Add IBinder ( #1749 )
...
* Add basic ModelBinding which was imported from NancyFx framework - more can be stripped out that's unused
* Add IBinder as a param when registering an object for binding
Binding is disabled by default
* Add license and remove unused using statements
* Make bind method virtual to allow for overriding
Make methods protected
* Add very basic collection support - only primitive types supported for now.
Remove unused exceptions
* Support binding a list of sub objects
* Add null check for null params
* Add BindingOptions class - remove binder and CamelCaseJavascriptNames properties - allow for additional options in the future
Breaking change.
* Add support for List<object> binding type
2016-07-20 13:38:24 +10:00
amaitland
a9661a73eb
OffScreen - Allow for retrieval of main, popup or blended bitmap
...
Change methods to properties.
Add additional xml doc for new params
Rename variables and generally apply same style as rest of project
2016-07-06 21:56:51 +10:00
Valentin Deschaintre
910b56cbd3
Offscreen popup (dropdown list) merge with the background browser. ( #1734 )
...
* Enhanced implementation of offscreen ChromiumWebBrowser to enable more possibilities of override. Mainly improved the popup informations accessibility.
* Addition of a blending/merge implementation to set Bitmap to the whole image (full browser + popup) in case of dropdown lists in offscreen project. Fixed 2 comments.
* Remove the use of $"string {var}" for string.Format.
* Removal of "nameof" use.
* Move of the blending in ScreenshotOrNull for better performance. Removed useless function and variables. Samll fixes as asked in the PR.
2016-07-06 21:53:02 +10:00
amaitland
933bad3dcc
Add a more detailed description of what thread events are executed on
...
Should be enough to generate some meaningful API docs now
2016-06-15 14:14:39 +10:00
amaitland
afe758eb51
Use GhostDoc to generate bulk xml documentation - it's not perfect at least a lot of the interface doco has been copied into the
...
ChromiumWebBrowser instance classes
2016-06-15 13:44:16 +10:00
amaitland
d1d754cf58
Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
...
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland
54f7fccdaa
Upgrade to .Net 4.5.2
...
Resolve #1572
2016-05-10 20:28:21 +10:00
amaitland
60ae3cc739
Switch to using TrySetResult instead of SetResult
...
Invoke TrySetResult using TaskFactory.Run so continuations are run in an async fashion
Reference #1672
2016-04-27 21:01:58 +10:00
amaitland
81e909d772
OffScreen - Provide direct access to the underlying Bitmap (no locking or copying of the bitmap takes place). This maybe required in advanced scenarios
...
Add some additional doco to InvokeRenderAsync
2016-04-05 07:15:11 +10:00
amaitland
af457916e3
Implement IFindHandler
...
Resolves #1459
2016-03-07 12:44:49 +10:00
amaitland
f5248e7fec
OffScreen - Dispose the framewrapper when done calling LoadUrl - was causing problems when trying to dispose quickly as the CefFrame reference was never released
2016-02-08 23:05:24 +10:00
amaitland
1c44c24f0e
Add IsBrowserInitialized guard to OffScreen Size property - only called WasRezied when the browser has been initialized
2016-02-08 22:48:53 +10:00
amaitland
627f80c8ec
Pass in only the required params into BrowserProcessServiceHost - was passing in the browser adapter which wasn't strictly required.
...
Pass the IBrowser instance into IWebBrowserInternal.OnAfterBrowserCreated
Keep a reference to IBrowser in the ChromiumWebBrowser instances (reduces the number of GetBrowser calls and also makes it clearer internally when the browser variable is set)
2016-01-12 14:01:37 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
amaitland
83dba09e99
Start to remove some of the methods from ManagedCefBrowserAdapter that are now available through IBrowserHost
2016-01-09 08:09:38 +10:00
Rich McNeary
7d4e074ef4
Move OnFocusedNodeChanged into new IRenderProcessMessageHandler.
2015-12-08 09:32:54 -05:00
illfang
7c07fb48d9
always create the offscreen browser using the instance settings, request context and address
2015-10-22 20:23:07 +09:00
amaitland
dca52f931f
OffScreen - Allow for the delayed creation of the underlying OffScreenBrowser, useful for binding and potentially using as an custom popup implementation (when that eventually works properly)
...
Resolves #1170
2015-10-16 07:06:06 +10:00
amaitland
1238392642
Allow for custom rendering in OffScreen project
...
- Add BitmapFactory property
- Expose InvokeRenderAsync as virtual
2015-10-15 21:45:07 +10:00
amaitland
190178e79e
Only enable WCF if a bound object has been registered
...
Fixes #1272
2015-09-18 13:56:43 +10:00
amaitland
8c0798bf27
Add ignoreExistingScreenshot param to Offscreen ScreenshotAsync
2015-09-10 15:33:56 +10:00
amaitland
45e5da8d7b
Remove obsolete methods
2015-09-01 22:49:17 +10:00
amaitland
36bf1c5c58
Refactor GetScreenInfo - add GetViewRect method so closer match cefclient example
...
Add note about GetViewRect
2015-08-26 20:13:07 +10:00
mmamone
cb96ce1437
Implement start drag for WPF browser
...
Exposed the necessary functions for start drag to work:
* StartDragging (RenderClientAdapter)
* OnDragSourceEndedAt (ManagedCefBrowserAdapter)
* OnDragSourceSystemDragEnded (ManagedCefBrowserAdapter)
Implemented IRenderWebBrowser.StartDragging for the WPF
ChromiumWebBrowser.
TODO: Would like to add an adorner layer for the dragged text (using the
supplied fragment html), but feels like a project for later.
2015-08-19 13:03:18 +10:00
amaitland
29e6bc7571
Rename IMenuHandler to IContextMenuHandler
2015-08-17 13:42:44 +10:00
amaitland
41acea55d3
Add ILoadHandler to directly expose CefLoadHandler interface
...
Rather than have a complex set of rules where some methods were handled via IPopupHandler and others weren't
It's just a basic wrapper around CEF now with the internal event handlers only being called if it's not a popup
2015-08-17 11:54:40 +10:00
amaitland
bb3103e1c2
Rename IPopupHandler to IDisplayHandler
2015-08-17 11:23:21 +10:00
amaitland
2368115c61
Make CanReload as Obsolete - use IsLoading instead
2015-08-13 21:39:19 +10:00
amaitland
77c11c3ad0
Move Title property from IWebBrowser to IWpfWebBrowser (not really required for WinForms and OffScreen)
...
TitleChanged EventHandler is now the best way to access these for WinForms and OffScreen
2015-08-13 21:36:18 +10:00
amaitland
74665ef4e2
Pass args directly into the IWebBrowserInternal implementation (ChromiumWebBrowser) so that extra params can be added easily
...
Add some more TODO's - still some API cleanup work required
2015-08-13 21:33:23 +10:00
amaitland
7092d18af1
Add controlHandle property to to IWebBrowserInternal
...
For WinForms only create the browser if HasParent = false
2015-08-03 17:55:41 +10:00
cefsharp-ms
0b300d5dda
Merged master
2015-07-31 17:41:00 +02:00
amaitland
ebaba426ba
Fix compiler warning for missing xml comment from ChromiumWebBrowser OffScreen constructor
...
Add xml comment to RequestContext to better explain what it actually does
2015-07-31 14:19:57 +10:00
amaitland
9a0d7688a0
Merge branch 'cef/2272'
2015-07-28 17:17:12 +10:00
amaitland
ce2521c986
Add IWebBrowserInternal.HasParent property so we know when there is a parent - OnAfterCreated is handled different for popup with a parent
2015-07-28 16:59:59 +10:00
amaitland
6ccf8afbad
Add BrowserAdapter to IWebBrowserInternal (was previously removed as it was no longer required)
2015-07-28 16:03:27 +10:00
amaitland
370832cd94
Remove unused references from CefSharp.OffScreen
2015-07-28 08:06:41 +10:00
cefsharp-ms
a99e020138
added option to register async js objects with only method bindings
2015-07-23 15:10:28 +02:00
amaitland
0c031a1a3b
Split RequestContext out from BrowserSettings
2015-07-22 13:51:16 +10:00
amaitland
3ab612a44a
Rename Oninitialized to OnAfterBrowserCreated (more closely matches the underlying CEF API)
2015-07-07 16:48:45 +10:00
amaitland
bbe267b44c
Throw exception if IsBrowserInitialized when trying to call RegisterJsObject
2015-07-06 12:16:58 +10:00
amaitland
df94d54a61
Remove duplicate GetMainFrame and GetFocusedFrame methods - turned them into extensions
2015-07-01 19:49:27 +10:00
amaitland
f239503bb3
Move SendMouseWheelEvent to IBrowserHost
2015-07-01 19:38:14 +10:00
amaitland
091339de25
OffScreen control - update to throw exception if Browser has not been initialized
...
It's quite common for users to attempt to execute a browser function before it's initialized and for it to silently fail if it's not been initialized
2015-07-01 19:24:49 +10:00
amaitland
958a6264a3
Remove LoadUrl code from ManagedCefBrowserAdapter - remove more duplication
2015-07-01 12:29:37 +10:00
amaitland
819dfd54f9
Move WcfEnabled option into CefSharpSettings class
...
Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions
2015-06-29 13:20:47 +10:00
Bill Tutt
a92e44e4ad
Move IBrowser into FrameLoadStart/EndEventArgs.
2015-06-08 23:07:37 -04:00
Bill Tutt
bceb3db4c5
Merge remote-tracking branch 'origin/cef/2272' into cef/2272
2015-05-28 23:17:59 -04:00