amaitland
7aa128781d
Add IsDisposed checks
...
Resolves #1307
2015-10-13 19:46:38 +10:00
amaitland
d1ba723bd5
Add CefSharpSettings.WcfTimeout - allow user to specify custom timeout when closing the WCF channel host
...
Can set to TimeSpan.Zero to Abort the channel (close without timeout)
2015-10-08 22:42:37 +10:00
amaitland
b9ee476e8e
Fix up some of the vc++ include mess that we had going
...
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
amaitland
cb989648cb
Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks
2015-09-24 21:00:53 +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
cefsharp-ms
0b300d5dda
Merged master
2015-07-31 17:41:00 +02:00
amaitland
9a0d7688a0
Merge branch 'cef/2272'
2015-07-28 17:17:12 +10:00
amaitland
d843e96407
Merge branch 'cef/2272' of https://github.com/jamespearce2006/CefSharp into cef/2272
2015-07-28 15:59:30 +10:00
cefsharp-ms
a8db666642
added async bound method result callback on browser process side
2015-07-23 15:12:28 +02:00
cefsharp-ms
7744b7197f
async bindings are dispatched to a background thread for each browser
2015-07-23 15:12:05 +02:00
cefsharp-ms
0e073bcd0a
added message to transmit async bound jsrootobject to render process
2015-07-23 15:10:52 +02:00
cefsharp-ms
a99e020138
added option to register async js objects with only method bindings
2015-07-23 15:10:28 +02:00
Alex Maitland
3735150cdc
Merge pull request #1135 from amaitland/feature/requestcontext2
...
Add basic RequestContext Implementation
2015-07-22 14:27:07 +10:00
amaitland
0c031a1a3b
Split RequestContext out from BrowserSettings
2015-07-22 13:51:16 +10:00
jankurianski
d8891c7f50
ManagedCefBrowserAdapter can now be disposed before initialization
...
This fixes a crash when disposing a ChromiumWebBrowser prior to
initialization.
2015-07-22 13:16:59 +10:00
David Serfozo
5c9681e62e
renamed javascriptcallbackimpl
2015-07-08 18:41:04 +02:00
David Serfozo
7c9a449158
added new IJavascriptCallback implementation into the pipeline
2015-07-07 19:30:43 +02:00
amaitland
df29944016
Implement SendMouseMoveEvent in IBrowserHost
...
Can now be used by offscreen
2015-07-06 12:47:29 +10:00
amaitland
98d186c33c
Move OnMouseButton into IBrowserHost (rename to SendMouseClickEvent)
2015-07-06 12:39:33 +10:00
amaitland
fbe8ccd61c
Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen
2015-07-06 12:25:09 +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
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
David Serfozo
762d94942a
added jscallback support for new evaluatescript implementation
2015-06-27 19:01:41 +02:00
amaitland
ff695dbf6d
Only close _browserProcessServiceHost if Wcf::Enabled
...
(Had circular reference problem when trying to use Wcf::Enabled in ManagedCefBrowserAdapter.h class so for now just use a local variable)
2015-06-25 11:12:53 +10:00
rassilon
431cb511c3
* Move unmanged objects into finalizer and call finalizer from Dispose.
...
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04:00
amaitland
5cf5fcf24c
Few more tweaks to simplify getting the browser instance.
...
Still need to move the wrapper out from ManagedCefBrowserAdapter and into ClientAdapter for the main CefBrowserWrapper
2015-06-11 13:33:35 +10:00
amaitland
a43090f04a
Inline Close and CloseAllPopups code - use new wrapper class to close the main browser instance
...
Might need a quick review
2015-06-11 11:34:56 +10:00
amaitland
d394124b3a
Move public facing CefBrowserHost methods into extension methods that use the IBrowserHost wrapper
2015-05-29 11:23:25 +10:00
amaitland
6a7f4dca5e
Reuse a single reference to the IBrowser instance - keeping a copy of the wrapper means we can Dispose and release the resources.
...
Even if the user still has a reference it shouldn't interfere with `CEF`
2015-05-28 20:34:34 +10:00
amaitland
67d57c96a0
Move Stop/Back/Forward methods into WebBrowserExtensions
2015-05-28 20:20:32 +10:00
amaitland
c0e79c20b0
Add GetBrowser methods to get direct access to the underlying CefBrowser instance
2015-05-28 20:08:56 +10:00
amaitland
1ce10ea53f
Move LoadHtml (LoadString) to extension
2015-05-21 20:25:02 +10:00
amaitland
1a1fcb9f2e
Make the next set of frame related methods into extension methods
2015-05-21 19:12:14 +10:00
amaitland
024a80396e
Move the first set of frame related method (Cut/Copy/Paste, etc) into a set of Extension methods
2015-05-21 18:49:58 +10:00
amaitland
b6df5c48c1
Change GetFrame methods to return IFrame reference
2015-05-21 18:21:08 +10:00
amaitland
8a53dfe54d
Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance
2015-05-21 13:57:17 +10:00
Bill Tutt
adb5ae0d77
More work on wrapping CefBrowser/CefFrame.
2015-05-17 17:41:44 -04:00
jamespearce2006
da9d4df2c8
Cleanup code formatting
2015-05-07 23:40:56 +01:00
jamespearce2006
608d97a0b4
Fixed conflicts
2015-05-07 22:42:19 +01:00
jamespearce2006
ae61994c3d
Offscreen popup support
2015-05-07 18:32:14 +01:00
jamespearce2006
8213471364
Testing changes to OnPopup
2015-05-05 17:31:46 +01:00
Bill Tutt
872cb06c71
Part 1 of Wrap CefBrowser.
2015-05-02 23:32:22 -04:00
Bill Tutt
7776438ea0
Remove IBrowserAdapterNative, and add nullptr checks for GetCefBrowser return value.
2015-05-02 04:37:48 -04:00
Bill Tutt
e1e58a5da6
Add IFrame interface as the public face of CefFrameWrapper.
...
IRequestHandler: Pass IFrame instances instead of isMainFrame.
Support EvaluateJavaScriptAsync from a frame.
IBrowserAdapter, IBrowserAdapterNative: Dependency breaking between CefFrameWrapper and ManagedCefBrowserAdapter.
Add IBrowserAdapter.BrowserAdapter to IWebBrowserInternal and implment for all controls.
This builds, but hasn't been tested yet. Thoughts?
2015-05-02 00:01:31 -04:00
Bill Tutt
26ec64e587
Copy/Paste frame APIs from CefBrowser into ManagedCefBrowserAdapter.*
...
Start stubbing out some implementations in CefFrameWrapper.h
(This doesn't build yet, don't bother trying... )
2015-04-29 01:13:50 -04:00
rassilon
554d344b97
Now that they're all in one spot, split them into sensible groups, and add comment for async task private methods.
2015-04-22 19:24:15 -04:00
amaitland
533964105e
Group public and private methods together.
...
Make some methods private that were previously public
Remove Overload for `Reload` - not required
Rename `isKeyDown` to `IsKeyDown`
2015-04-23 08:41:13 +10:00
rassilon
1a31b991ac
Move rest of non-simple functions to .cpp file.
...
Rename private GetZoomLevel to GetZoomLevelOnUI to further indicate what thread it should run on.
Make WPARAM keyboard related functions private:
isKeyDown and GetCefKeyboardModifiers.
2015-04-22 10:46:07 -04:00