Commit Graph

6294 Commits

Author SHA1 Message Date
Per Lundberg 6d0e7bcb28 Use the CreateChannelFactory-based approach here also. 2014-04-04 21:22:03 +02:00
Per Lundberg cc82a790d1 Let's make this more strict, so that it actually works and isn't too "relaxed", in the strictly-typed world of C#/.NET... 2014-04-04 21:20:58 +02:00
Per Lundberg c3f8d3dd7b Let's extract this out since I realized we are violating the important DRY principle. 2014-04-04 21:17:31 +02:00
Per Lundberg ee69eda415 Jan - I think it actually is better after all to keep everything related to the Subprocess in its own repo (i.e. the subprocess repo). That way, we can separate the concerns more elegantly (IMHO). 2014-04-04 21:04:37 +02:00
Per Lundberg 933d047665 ObjectBase is now DisposableResource, which better explains what it pertains to. 2014-04-04 20:41:29 +02:00
Per Lundberg ee42af15e8 Trivial whitespace fixup. 2014-04-04 20:32:33 +02:00
Per Lundberg 1ac8059a66 Fixed the creation of the Javascript proxy client to happen at the right time, i.e. when a new browser is created. That should be massively more efficient in terms of speed than connecting to the service on every JS call. :) 2014-04-04 20:32:15 +02:00
Per Lundberg 6006d2eb80 Trivial whitespace fix. 2014-04-04 19:55:37 +02:00
JanEggers e505b1aa85 fixed initialization timing issue 2014-04-03 19:08:16 +02:00
Per Lundberg f698790dc0 Again, one class per file is better. 2014-04-02 18:48:37 +01:00
Per Lundberg ab157e97e1 Don't want to have this here. @JanEggers, I presume that the idea from your end was to support more complex object graphs? (i.e. My.Fancy.Property being exposed to Javascript...)
I'll leave that out for now, but feel free to fix/experiment with that at some point.
2014-04-02 18:46:10 +01:00
Per Lundberg 8dd3baff3a Whitespace fix. 2014-04-02 18:27:16 +01:00
Per Lundberg f3af673ee1 Split out the member descriptions into two child classes: JavascriptMethodDescription and JavascriptPropertyDescription. (We don't have to support direct fields at this point, I think; properties should be very much enough for most needs.) 2014-04-02 18:22:36 +01:00
Per Lundberg a03e5878b0 Let's go with the name "Javascript" everywhere, instead of JavaScript. The latter is arguably more "correct", but the former is also quite widespread and you could very well claim that "Javascript" is a such a common name that it can be normalized to follow normal "name rules", i.e. capitalize first letter only... 2014-04-02 18:18:13 +01:00
Per Lundberg e562ceadb4 Minor tweaks, and removed @JanEggers assumption that we might have stuff here which is not present on the managed side of the world. I'll leave that out for now, you can implement it later if you like Jan. 2014-04-02 18:08:16 +01:00
Per Lundberg 0a439c1a7e Removed the <value> stuff. I don't really think we need it, it just clutters the class and doesn't really add that much value. 2014-04-02 18:05:02 +01:00
Per Lundberg 9183198799 One file per class, bitte... 😃 2014-04-02 18:00:47 +01:00
Per Lundberg 75b4d130c7 Should never rely on webBrowser; it's the backing field for the WebBrowser property (which should be used instead of going straight to the backing field...). 2014-04-02 17:56:19 +01:00
JanEggers b2a5b423f6 fixed binding 2014-04-02 16:16:09 +02:00
JanEggers bb91eca194 added javascript wrapper objects 2014-04-02 17:11:27 +03:00
amaitland 14107bebbb WPF ZoomIn/Out Functionality
Added GetZoomLevel and SetZoomLevel methods to ManagedCefBrowserAdapater
Currently unable to get GetZoomLevel to return any value other than 0,
comment in source says "This method can only be called on the UI
thread", so need to investigate that further. SetZoomLevel works as
expected.
Added WPF Commands for ZoomIn, ZoomOut and ZoomReset.
Added Dependency properties for ZoomLevel and ZoomLevelIncrement
Added content menu items for ZoomIn, ZoomOut and ZoomReset to Wpf
Example
2014-04-02 15:22:43 +10:00
jornh 63aa5cfa3a Merge pull request #304 from brock8503/master
Calling browser close in managedcefbrowseradapter destructor
2014-04-01 10:08:31 +02:00
brock8503 39742b67ac On cleanup the browser close api should be called to close the child
proccess.
2014-03-31 17:10:37 -07:00
brock8503 cae957a056 Adding more granularity when cookies are accessed through the View API's. 2014-03-31 17:10:37 -07:00
brock8503 8b6248b76a Small formatting fix 2014-03-31 17:10:36 -07:00
JanEggers 4e7438b054 one method slipped through 2014-03-29 23:47:06 +01:00
JanEggers 3b09e72e1f fixed warnings 2014-03-29 23:42:17 +01:00
JanEggers a053abbffb implemented dispose pattern 2014-03-29 23:28:08 +01:00
JanEggers 1656150198 no chnages in method order this time 2014-03-29 23:09:13 +01:00
Per Lundberg eb20b2fdf8 Merge pull request #299 from JanEggers/Moved_INotifyPropertyChanged
Moved Class as requested by todo and added some comments
2014-03-29 22:04:21 +02:00
jornh 50615de74a Revert "#288, kind of: Enabled package restore. I didn't do anything here manually actually (or if I did, it was at least not today :-) Could be a difference with VS2012 and 2013 I guess."
This reverts commit 71ec685b6c.
2014-03-29 13:07:17 +01:00
JanEggers 2c819bdfd6 moved Class as requested by todo and added some comments 2014-03-29 10:35:52 +01:00
jornh b2352c0d71 Update README.WPF.md
A few CefSharp3 specifities fixed
2014-03-29 09:39:24 +01:00
Per Lundberg 778f423ae9 #137: Removed a bunch of .nuspec files which aren't really ready yet. 2014-03-28 22:49:23 +02:00
JanEggers ebd3be1b27 #296: Cherry-picking parts of the 334d15d95a commit from @JanEggers. (I wanted to split it up even further) 2014-03-28 22:48:52 +02:00
Per Lundberg 79053ebc7c Added TODO. 2014-03-28 22:33:10 +02:00
Per Lundberg 71ec685b6c #288, kind of: Enabled package restore. I didn't do anything here manually actually (or if I did, it was at least not today :-) Could be a difference with VS2012 and 2013 I guess. 2014-03-28 22:23:39 +02:00
Per Lundberg d3a1f1dcd1 Merge pull request #288 from jornh/3.31-and-native-nugets-cherrypicked-rebase
Use Chromium 31 and native NuGet packages, to avoid the massive repository bloat we've previously had. Thanks to @jornh for spending quite a massive amount of work on this one!
2014-03-28 22:17:29 +02:00
Per Lundberg 0f9faafbe4 Merge pull request #295 from brock8503/master
Adding cookie expiration granularity to setcookies.
2014-03-28 22:08:45 +02:00
jornh 269a05657b No need for CEF/ mantenance scripting here any more 2014-03-28 19:41:57 +01:00
jornh 11567eed63 Good enough that CS.MinEx want's to build ...
This is what goes into the `CefSharp.Common` and `.Wpf` Nugets version 3.31.0.pre-1
2014-03-28 17:57:29 +01:00
jornh a7590937cc Switch CefSharp.Core from `solution to project Nuget packages.config
Also it's dried up now relying on `cef.sdk.props` setting $(CefSdkVer)
It requires cef.sdk NuGet version -pre2
2014-03-28 07:20:33 +01:00
jornh 067907a30c I missed removing some CS.Core NuGet files 2014-03-28 07:10:04 +01:00
jornh edb65a7d81 turns out previous commit need x64
- so bump `cef.sdk` in a non-DRY manner
- I also threw in a small .gitignore OCD change
2014-03-27 05:53:58 +01:00
jornh 7e7b4ad84d NuGet .spec updates for #288 2014-03-27 05:48:23 +01:00
jornh 6059982ea6 NuGet .spec updates for #288 2014-03-27 05:44:36 +01:00
Per Lundberg 82b734dd79 Merge pull request #291 from JanEggers/WebViewCleanup
Improved WebView resource cleanup
2014-03-26 23:25:31 +02:00
brock8503 53ab3cc2a9 Adding cookie expiration granularity to setcookies 2014-03-26 10:41:05 -07:00
JanEggers a6bf79e5cc improved WebView resource cleanup 2014-03-23 10:30:43 +01:00
jornh d18d41b77f Revert "More DRY with $(CefSdkDir)"
This reverts commit e25e55cdf9.
2014-03-22 13:59:52 +01:00