amaitland
7aa128781d
Add IsDisposed checks
...
Resolves #1307
2015-10-13 19:46:38 +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
amaitland
73e01e09e6
Merge branch 'features/HighDpiAgain' of https://github.com/bjarteskogoy/CefSharp
2015-08-26 15:18:29 +10:00
Bjarte Skogøy
276c05195e
Spaces instead of tabs.
2015-08-21 08:58:57 +02: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
Bjarte Skogøy
c7c0dad0d4
Init bitmap infos when scale info is available
2015-08-18 23:33:10 +02: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
amaitland
0c031a1a3b
Split RequestContext out from BrowserSettings
2015-07-22 13:51:16 +10:00
Tommaso Ercole
a3e869b542
Add basic CefRequestContext wrapper
2015-07-21 23:51:49 +10:00
David Serfozo
798d90ade2
constructors/destructors moved to .h;;little changes to make code more consistent
2015-07-08 18:29:46 +02:00
David Serfozo
7c9a449158
added new IJavascriptCallback implementation into the pipeline
2015-07-07 19:30:43 +02:00
amaitland
3ab612a44a
Rename Oninitialized to OnAfterBrowserCreated (more closely matches the underlying CEF API)
2015-07-07 16:48:45 +10:00
Alex Maitland
ff6d53ecff
Merge pull request #1102 from amaitland/cleanup/browsersettings
...
BrowserSettings map to Enabled/Disabled/Default Enum
2015-07-07 10:37:07 +10:00
amaitland
df29944016
Implement SendMouseMoveEvent in IBrowserHost
...
Can now be used by offscreen
2015-07-06 12:47:29 +10:00
amaitland
5c27b7befa
Set toolTip to null after mouse leaves
2015-07-06 12:42:50 +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
92a325b77e
Change Nullable types from ref to value (as nullable is a struct).
...
Decompiled code showed `ValueType` before and how shows the correct type
2015-07-01 22:42:24 +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
2129c1907e
Remove IBrowserAdapter from Frame and Browser wrappers - now directly cast CefClient to ClientAdapter so can execute js
2015-06-29 14:03:10 +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
David Serfozo
cc8a07c21f
added evaluatescriptasync message handlers and rerouted evalscript to cef ipc
2015-06-27 19:01:21 +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
amaitland
aa63727712
Untabify ManagedCefBrowserAdapter
2015-06-25 10:41:37 +10:00
David Serfozo
b1c7a2b791
CefWcfRenderProcess removed;;examples updated;;added exceptions
2015-06-24 21:38:51 +02:00
David Serfozo
4d62f6ad8e
wcf made switchable
2015-06-20 19:50:48 +02:00
rassilon
8ec01da230
Use GetBrowserWrapper everywhere except popup creation/closing for all of ClientAdapter.cpp.
...
This means that none of the callbacks need to own disposing the IBrowser^ instance.
2015-06-17 18:14:07 -04: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
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
831e2e6ffd
Switch the nullptr checks around...pedantic I know :)
2015-05-21 18:31:35 +10:00
amaitland
9fb921af80
For GetFocusedFrame and GetMainFrame shouldn't need to check the result, their should always be a frame if the CefBrowser instance != null
2015-05-21 18:29:48 +10:00
amaitland
b6df5c48c1
Change GetFrame methods to return IFrame reference
2015-05-21 18:21:08 +10:00
amaitland
d4b4e5fd35
Manually apply merge changes from master to ManagedCefBrowserAdapter as it's now split into .h and .cpp, so can't auto merge changes
2015-05-13 09:32:50 +10:00