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
c66b28a645
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-04-21 11:54:56 +10:00
amaitland
1d2b5fa55c
Up the WCF MaxRecieveMessageSize as per discussion in https://github.com/cefsharp/CefSharp/issues/958#issuecomment-94410222
...
It's now 128MB in line with the Chromium IPC
2015-04-20 21:37:24 +10:00
amaitland
39c8194b49
rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on
2015-04-16 16:31:54 +10:00
amaitland
4b3ee2a9a0
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-04-10 16:22:57 +10:00
amaitland
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
e470bcf50c
Rename LowercaseFirst tp GetJavascriptName - more descriptive naming
2015-04-07 20:42:26 +10:00
amaitland
64906605ce
Pass lowerCaseJavascriptNames as param to LowercaseFirst method - reduces code duplication
2015-04-07 20:41:35 +10:00
amaitland
ce12ff0a04
Remove unnecessary method overloads, the lowerCaseJavascriptNames param wasn't being propagated recursively.
...
Default TryCallMethod to using LowercaseFirst
2015-04-07 20:36:19 +10:00
Exinferis
8581c3f03b
Added parameter for lowercasing JS functions (or not)
2015-04-02 15:37:12 +02:00
rassilon
48c2550011
Fix #918 by adding extension method to cast from IntPtr to Int32
2015-03-31 10:26:09 -04:00
amaitland
ddb725ef53
Add very rough description of JavascriptCallbackProxy - should be enough to give at least the basic idea of how it fits together
2015-03-19 11:25:46 +10:00
amaitland
886e303893
As we don't have control over the lifecycle of the Surrogate or EndPointBehaviour I think it's easier just to pass around a WeakReference
2015-03-12 11:32:35 +10:00
amaitland
1e7e2210ad
Rename JavascriptCallbackDto to JavascriptCallback
2015-03-12 11:29:14 +10:00
amaitland
c8d9272508
Rename JavascriptCallback to JavascriptCallbackProxy
2015-03-12 11:26:46 +10:00
amaitland
a5688b4510
Revert "Remove WCF Surrogate and inject browser host"
...
This reverts commit 746e51432a .
2015-03-12 11:08:01 +10:00
amaitland
746e51432a
Remove WCF Surrogate and inject browser host
2015-03-11 14:46:36 +10:00
amaitland
a09767b72c
More descriptive naming of WeakReference
...
Also check if channel state is Opened before trying to release callback
2015-03-11 11:57:26 +10:00
David Serfozo
9775b438bd
dispose fix in CefBrowserWrapper, JavascriptCallback modified to inherit from DisposableResource
2015-03-09 23:57:25 +01:00
David Serfozo
4468961b5e
reverted formatting issues, removed entry from DotSettings and fixed copyright notice
2015-03-09 20:19:01 +01:00
David Serfozo
462c4c0f98
weakreference for browserprocessservicehost in javascriptcallback
2015-03-08 22:33:44 +01:00
David Serfozo
0644cf1c18
added actual callback code on browserprocess side and IJavascriptCallback
2015-03-08 16:15:41 +01:00
David Serfozo
98ba30bf5d
added wcf operations to do javascript callbacks
2015-03-08 13:22:56 +01:00
David Serfozo
754bf3f913
added browserprocess side of javascriptcallback and wcf classes for conversion
2015-03-08 13:18:20 +01:00
David Serfozo
bb4fe467b8
added JavascriptCallbackRegistry and wired up
2015-03-08 13:11:09 +01:00
amaitland
aada02c356
Add ScreenInfo class to represent Width/Height/ScaleFactor
2015-03-02 10:40:01 +10:00
Bjarte Skogøy
f8c242e88d
Use device scale factor to support higher DPI on WPF
2015-02-25 09:31:58 +01:00
amaitland
bfec2c95b1
Add IBitmapFactory so that different Rendering methods can be plugged in (potentially a .Net 4.5 InteropBitmapInfo can be created)
...
Move into Rendering namespace
2015-01-29 15:25:08 +10:00
amaitland
524f5cb213
Merge branch 'enhancement/writeablebitmap' into improvements/more-wpf-rendering-tweaks
2015-01-29 11:54:12 +10:00
amaitland
0c45119f17
Remove SetBufferHelper method and move code inline so some minor tweaks can be performed like only setting variables when required (Small things I know though important in such a performance critical section)
2015-01-29 11:50:13 +10:00
amaitland
953d917226
Add JSB support for Methods with optional params
2015-01-22 12:54:38 +10:00
amaitland
bf4983b52d
Resolve null pointer exception - Functions/Methods that return null or have no return value were through an exception
2015-01-19 11:45:24 +10:00
amaitland
899e991a0a
First attempt at WritableBitmapInfo implementation - uses dirty rects to determine which part of the screen to update
2015-01-16 14:02:08 +10:00
amaitland
c2242e5158
Create another layer of abstraction around BitmapInfo - Allow for future possibility of implementing WritableBitmap in WPF
2015-01-16 12:22:40 +10:00
amaitland
ff678b5ae2
Remove duplicate JavascriptObject analysis code - add additional params
2015-01-09 13:33:24 +10:00
amaitland
6f5730e5c8
Rename Analyse method to AnalyseObjectForBinding
...
Add additional comment about it's functionality
2015-01-09 12:26:27 +10:00