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
7aa128781d
Add IsDisposed checks
...
Resolves #1307
2015-10-13 19:46:38 +10:00
amaitland
2f3d9f868f
Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
...
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +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
8a8da5b35a
Async JSB now working in popups
...
Still have the issue of callbacks not working as expect, for some reason it can't find the context
2015-09-24 20:08:15 +10:00
amaitland
10ebd0d8cd
Remove unused MethodInvocation constructor
2015-09-24 19:56:01 +10:00
amaitland
e492c0d21e
Fixes #1263
...
Pass in CefCustomScheme as command line argument, as they're registered correctly in all processes
2015-09-15 15:15:26 +10:00
illfang
aad399ba5f
detailed exception string generation for exceptions in injected native functions / properties
2015-09-08 10:49:33 +09:00
cefsharp-ms
38fe85cf71
TargetInvocationException is converted properly in JavascriptObjectRepository.TryCallMethod
2015-09-04 13:31:23 +02: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
65d44b3962
Only send register IPC message of there are is a bound object
2015-08-18 09:29:50 +10:00
Alex Maitland
a904c78399
Merge pull request #1190 from amaitland/cleanup/newhandlers
...
Revise Event Handlers, Add ILoadHandler, IDisplayHandler and remove IPopupHandler
2015-08-17 15:16:11 +10:00
cefsharp-ms
2e9a8a8734
pending task only cancelled on real timeouts
2015-08-14 12:09:25 +02: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
3861ebec3d
Remove some unused WCF pieces now that native IPC is used to register js binding objects
2015-08-07 13:24:50 +10:00
David Serfozo
5a76864ad0
uneeded method removed from IBrowserProcess
2015-08-06 10:28:06 +02: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
amaitland
562d6ea51c
Catch OperationCanceledException otherwise VS will break (if you have break on user unhandled exceptions enabled)
...
Add in braces and extra lines (simple formating)
2015-08-03 14:52:58 +10:00
amaitland
74d987a02d
Switch to Interlocked.Increment for Id generation
...
Add missing xml comment
2015-08-03 10:59:31 +10:00
cefsharp-ms
0b300d5dda
Merged master
2015-07-31 17:41:00 +02:00
cefsharp-ms
f804ca48ec
added missing copyright notices
2015-07-31 17:17:04 +02:00
cefsharp-ms
5651aadd5b
MethodRunnerQueue consumer thread modified to run tasks on the same thread instead of the threadpool.
2015-07-31 17:16:57 +02: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
cefsharp-ms
bf08e671ff
MethodRunnerQueue made a bit smarter
2015-07-23 15:13:12 +02: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
8afb090f06
Add Timeout to Cef.GetPlugins
...
Made TaskExtensions public otherwise the c++ code cannot access it
Add try catch to CefExample to handle task being cancelled
2015-07-23 09:57:24 +10:00
David Serfozo
d6661df344
removed unnecessary code from previous js callback implementation
2015-07-07 19:30:50 +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
amaitland
ddd7ec1687
Cleanup usings
2015-06-29 14:14:12 +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
amaitland
d188382d20
Move PendingTaskRepository into matching namespace (resharper cleanup) - there is no messaging folder
2015-06-29 11:34:43 +10:00
amaitland
b9e3100994
Simplify PendingTaskRepository TaskCompletionSource creation - use KeyValuePair
2015-06-29 11:32:16 +10:00
David Serfozo
93a61c1442
removed unneeded eval script related methods
2015-06-27 19:01:52 +02: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
David Serfozo
bf33f0bc7c
V8 serialization utils added
2015-06-27 16:52:08 +02:00
amaitland
766da920ac
Add license disclaimer to new CefSharpArguments class (also some browsersubprocess classes)
2015-06-25 10:37:56 +10:00
David Serfozo
4d62f6ad8e
wcf made switchable
2015-06-20 19:50:48 +02: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
801bebbbd0
Merge branch 'MorePopupHandlerWork' of https://github.com/rassilon/CefSharp
2015-06-11 10:04:43 +10:00
rassilon
eab58306c1
Merge remote-tracking branch 'origin/master' into development
...
Merges master into the formerly cef/2272 branch.
Conflicts:
CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
CefSharp.BrowserSubprocess.Core/packages.config
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp.Core/Internals/ClientAdapter.cpp
CefSharp.Core/Internals/ClientAdapter.h
CefSharp.Core/packages.config
CefSharp.Example/RequestHandler.cs
CefSharp.Example/TempFileDialogHandler.cs
CefSharp.OffScreen.Example/packages.config
CefSharp.Test/packages.config
CefSharp.WinForms.Example/packages.config
CefSharp.Wpf.Example/packages.config
CefSharp/IDialogHandler.cs
CefSharp/IKeyboardHandler.cs
CefSharp/IRequestHandler.cs
build.ps1
2015-06-10 11:31:16 -04:00
rassilon
fd0f8499fc
Add example Ctrl-T menu handler that gets invoked when you have focus inside browser.
2015-06-09 23:29:09 -04:00
Bill Tutt
a92e44e4ad
Move IBrowser into FrameLoadStart/EndEventArgs.
2015-06-08 23:07:37 -04:00