Commit Graph

528 Commits

Author SHA1 Message Date
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
Bill Tutt bceb3db4c5 Merge remote-tracking branch 'origin/cef/2272' into cef/2272 2015-05-28 23:17:59 -04:00
Bill Tutt 12c330ad92 Merge remote-tracking branch 'origin/master' into cef/2272 2015-05-28 23:14:54 -04:00
Matthew Morrison f7f13f0359 Add cursor type to SetCursor call. Duplicated CursorType enum from CEF source. 2015-05-22 19:40:40 -05:00
amaitland 8a53dfe54d Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance 2015-05-21 13:57:17 +10:00
amaitland ee7c8efdd9 A few more resharper inspired cleanups 2015-05-21 13:51:15 +10:00
Bill Tutt c08b1ff38e Fix some review comments, and add frameloadstart/end/error related methods to IPopupHandler. 2015-05-20 22:59:43 -04:00
Bill Tutt 86f65c12ca Merge pull request #988 from rassilon/CefFrameWrapper
CefFrameWrapper implementation
2015-05-02 23:01:35 -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 dcd56c27eb Add some descriptive comments about what some of the subprocess classes do. 2015-05-02 02:36:10 -04:00
Bill Tutt de7b6b4240 More IFrame usages, take special note of the chaneges in the EventArgs types. 2015-05-02 01:15:47 -04:00
Bill Tutt 140defb5b6 More license blocks. 2015-05-02 00:09:24 -04:00
Bill Tutt afcb11c7c2 Merge remote-tracking branch 'origin/cef/2272' into CefFrameWrapper 2015-05-02 00:03:02 -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
amaitland 0cc73eba3a Make as many classes internal as possible.
Unfortunately cli/c++ doesn't support InternalsVisibleTo properly, so can't make everything internal
http://colins-corner.blogspot.com.au/2009/03/internalsvisibleto-ccli-and-asfriend.html
2015-05-02 07:09:48 +10:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland f12643ea47 Cherry picked changes from https://github.com/cefsharp/CefSharp/pull/972
Remove empty set from BoundObject example
Untabify BrowserProcessResponse
Make CamelCaseJavascriptNames (consistency, class should probably be made internal as a whole)
make JavascriptObjectRepository.CreateJavascriptObject private
Remove redundant using
2015-04-25 11:50:52 +10:00
Erguotou fa43ec9997 Pass down camelCaseJavascriptNames to subobjects
For consistency, pass down camelCaseJavascriptNames flag to
sub-objects so that naming remain the same.
2015-04-25 11:50:52 +10:00
Erguotou 35db8ce87d Added a few KnownTypes to support value type arrays 2015-04-25 11:50:52 +10:00
amaitland c24607286b Cherry picked changes from https://github.com/cefsharp/CefSharp/pull/972
Remove empty set from BoundObject example
Untabify BrowserProcessResponse
Make CamelCaseJavascriptNames (consistency, class should probably be made internal as a whole)
make JavascriptObjectRepository.CreateJavascriptObject private
Remove redundant using
2015-04-25 11:48:58 +10:00