amaitland
64ddad841c
Update execute script example to be more complex
2014-09-17 10:30:35 +10:00
amaitland
2c4d179c5d
Change ExecuteScriptAsync to return JavascriptResponse so error messages and result can be returned
2014-09-02 12:02:32 +10:00
amaitland
0ed7555ba0
Change ExecuteScript to ExecuteScriptAsync and return a Task, changed IWebBrowser interface and simply wrapped the backend call.
...
This at least gets the API inline with what I'd expect in the future, still need to change WCF to use Async, this is a start.
Ideally would like to port @JanEggers PR #289 and have a Cef driven TaskScheduler
2014-08-29 10:00:41 +10:00
amaitland
cdd8e661ff
Change to javascript case
2014-08-28 20:40:21 +10:00
amaitland
547bed0c6c
Make BoundObject public and register in BrowserTabView
2014-08-27 14:59:27 +10:00
amaitland
024620cd78
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-08-21 20:17:47 +10:00
Adrian Phinney
96bdad96d4
Add StatusMessage examples for WPF/WinForms.
2014-08-12 09:25:33 -04:00
amaitland
11668c8992
Remove BindingTest object has no value, use CefSharp.Example.BoundObject instead
2014-07-10 10:41:16 +10:00
amaitland
a9cf8c30ab
Fixed webView to browser commit
2014-06-12 12:37:02 +10:00
Per Lundberg
6496a28a24
Updated because the webView is now just called 'browser' in the .xaml file.
2014-06-12 02:33:20 +03:00
Per Lundberg
a3bbd6e1f0
Merge commit '36ed4dbdc0cf0cb0d6b294df9d81a6a4fb7c1646' into JsBinding_WIP. This was taking @JanEggers changes and merging them into my local branch.
...
Conflicts:
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:10:08 +03:00
Per Lundberg
d662860344
Merge branch 'master' into JsBinding_WIP. This was a bit of work but not *that* hard after all. Let's see if it compiles also, but I'll keep any required changes for that in a changeset of its own (so that it's easier to follow for you guys).
...
Conflicts:
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp/CefErrorCode.cs
CefSharp/CefEventFlags.cs
CefSharp/CefSettingsBase.cs
CefSharp/Internals/IWebBrowserInternal.cs
2014-06-12 02:07:27 +03:00
amaitland
36503b616c
Assign RequestHandler in BrowserTabView
2014-06-12 01:55:34 +03:00
amaitland
fff9422e52
Rename ExamplePresenter to RequestHandler (Alex had also removed old commented out code, but I am moving that part of the change to a separate commit to help git/SourceTree better understand that the file has been renamed, so we preserve history etc)
...
Conflicts:
CefSharp.Example/ExamplePresenter.cs
2014-06-12 01:53:46 +03:00
amaitland
ff03b13a33
Create CefExample class to house common Init() and DefaultUrl
...
Conflicts:
CefSharp.WinForms.Example/BrowserForm.cs
2014-06-12 01:49:37 +03:00
amaitland
8b4c1f79f7
Change public commands to be straight ICommand (easier for them to be replaced if we implement an mvvm framework later)
2014-06-11 23:49:07 +03:00
amaitland
f2510c31a1
Change IWebBrowser.LoadError to have proper EventArgs (LoadErrorEventArgs)
2014-06-11 23:46:42 +03:00
JanEggers
36ed4dbdc0
implemented Property Getter / Setter
2014-06-07 09:52:45 +02:00
Per Lundberg
4b865946c3
Renamed the WPF control also, in line with how System.Windows.Controls.WebBrowser is actually named.
2014-06-02 13:00:03 -07:00
JanEggers
d8cec9be63
Merge remote-tracking branch 'upstream/master' into JsBinding_WIP
2014-06-02 20:06:02 +02:00
jornh
efe0e7a11c
Polish OnBeforePluginLoad handler example code a bit.
...
For safety towards side effects in other code keep ExamplePresenter disabled for now though.
2014-05-25 21:11:42 +02:00
jornh
7265a0da3b
Merge branch 'RequestHandlers' of https://github.com/fraenke75/CefSharp into fraenke75-RequestHandlers
...
Manual resolution including adding DECL OVERRIDE to the added virtual function in ClientAdapter.h
2014-05-25 17:12:35 +02:00
fraenke75
22c1ccef0c
Added the usage of the OnBeforePluginLoad to the ExamplePresenter
2014-05-22 17:30:07 +02:00
JanEggers
db71d32881
Merge remote-tracking branch 'upstream/master' into JsBinding_WIP
2014-05-20 20:47:13 +02:00
JanEggers
4a231544fd
fixed whitespace (contained tabs)
2014-05-17 05:59:17 +02:00
JanEggers
e04e36bd04
added cleanup command so resources get cleaned up if a user closes a tab
2014-05-15 20:18:42 +02:00
amaitland
260f8b1f39
Rename LoadCompleted to FrameLoadEnd (event is actually triggered when the loading of each frame is complete)
2014-05-12 14:09:30 +10:00
JanEggers
197763be5f
changed default command to ease testing
2014-05-10 19:11:49 +02:00
JanEggers
d7f8c8961b
wired method calls to reach the BrowserProcess
2014-05-08 22:21:06 +02:00
JanEggers
ec377dced6
Merge remote-tracking branch 'upstream/master' into Fixed_Warnings
2014-05-05 18:44:58 +02:00
JanEggers
519c6d3625
ignore unused events
2014-05-05 18:44:46 +02:00
Per Lundberg
f7e5b56f16
Add some margin between the X and the title.
2014-04-30 23:39:49 +03:00
Per Lundberg
991e442712
Less whitespace to the people.
2014-04-30 23:39:37 +03:00
Per Lundberg
6fcfc61ac3
Changed property name to make it more explicit what this one is about.
2014-04-30 23:38:28 +03:00
amaitland
a89387561a
Remove default value from constructor, keeps setting of URL's in one place (in MainWindow)
2014-04-30 23:34:08 +03:00
amaitland
1fb6a37814
Remove ViewSourceCommand from ViewModel, instead using the newly implemented command on WebView instead
2014-04-30 23:33:41 +03:00
Per Lundberg
86e928add2
Added an ItemTemplate with a Close button.
2014-04-30 23:33:02 +03:00
Per Lundberg
ebba8df329
Ah, apparently I missed these ones earlier. The downside of trying to be minimalistic I guess. ;)
2014-04-30 23:32:25 +03:00
Per Lundberg
23864d64a6
We also need a ContentTemplate, so we display stuff appropriately.
2014-04-30 23:31:34 +03:00
Per Lundberg
b745f7bf13
Set up bindings for Ctrl+T and Ctrl+W, to Open and Close tabs respectively.
2014-04-30 23:30:47 +03:00
Per Lundberg
8d0974880f
Cleaned up the way we used the tab, by binding to a collection of BrowserTabViewModels instead. We could clean this up even further by moving stuff out from MainWindow to a MainView & MainViewModel (to achieve a fully code-behind-free approach), but let’s start with this. :) Similarly, based on @amaitland’s changes, only splitting them more aggressively.
2014-04-30 23:29:41 +03:00
Per Lundberg
1ad34edc90
Added custom TabItem style, with some triggers to make Selected and non-selected tabs look different (to make it easier to distinguish them from each other).
2014-04-30 23:23:35 +03:00
Per Lundberg
d0021be6f5
Added custom DataTemplate for BrowserTabViewModels, so we can use the TabControl in a much more MVVM-oriented fashion than previously.
2014-04-30 23:22:29 +03:00
Per Lundberg
d546da5c71
Added the NonReloadingTabControl, with an appropriate (slightly customized) style. Based on 8bddd309e1 by amaitland, but slightly tweaked so we make each commit even more minimalistic in nature.
2014-04-30 23:19:59 +03:00
amaitland
9ab903f43c
Namespace and folder cleanup
...
Create ViewModels namespace - move ViewModel and rename to BrowserTabViewModel
Move and rename MainView to BrowserTabView
2014-04-30 23:05:11 +03:00
fraenke75
1b66115fae
Reverted changes which should not be committed
2014-04-22 16:40:33 +02:00
jornh
ed3ab35918
Merge pull request #335 from jornh/feature/print-command
...
Add Print()
2014-04-19 06:52:36 +02:00
jornh
0b3d13265e
Add Print() now that it's supported in the CEF 1650 branch
2014-04-17 09:41:12 +02:00
amaitland
389e2de969
Add license disclaimer
...
Remove an unused reference in MainWindow.xaml.cs
Fix comment for OnPropertyChanged event
2014-04-17 11:53:06 +10:00
Per Lundberg
ce1d9fcd0c
...and also refer to just "the CefSharp Authors", since the CefSharp Project is not really a legal entity in its own.
2014-04-15 22:46:47 +03:00