Alex Maitland
8d7a169590
Change Frame identifier from Int64 to String ( #4740 )
...
* Change Frame identifier from Int64 to String
Issue https://github.com/cefsharp/CefSharp/issues/4737
* Fix SetCanExecuteJavascriptOnMainFrame frameId parsing
* Add tests
* NetCore Tests - Install missing packages
2024-03-09 06:55:27 +10:00
Alex Maitland
83c8e009d9
DevTools - Add IWebBrowserInternal.DevToolsContext
...
- For use with next version of CefSharp.Puppeteer
2022-05-30 14:20:22 +10:00
amaitland
1824a0334d
WPF/WinForms/OffScreen - CanExecuteJavascriptInMainFrame incorrectly false after loading page with different origin
...
Proof of concept for a workaround. The frameId for the second OnContextReleased that arrives after the OnContextCreated from
the old render process strangely has a frameId greater than the new frameId
TODO: Unit tests
Issue #3021
2020-05-04 12:34:47 +10:00
Alex Maitland
1a2c8ffcb6
Add CefSharp.PostMessage ( #2799 )
...
- JavascriptMessageReceived event added to ChromiumWebBrowser/IWebBrowser
- CefSharp.PostMessage and cefSharp.postMessage added to V8Context on creation for use in Javascript
- Add PostMessageTest.html
2019-06-03 21:08:03 +10:00
Chris
bef5dd37c4
Maintenance - Fixed formatting, file encoding, and copyright year ( #2504 )
...
* Applied formatting
* Fixed file encoding + Updated copyright year
* Updated License
* Fixed more file encoding
* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland
eecf3aded9
Add IWebBrowser.CanExecuteJavascriptInMainFrame property, set to true/false when V8Context is created/released
...
Added checks in the execute/eval javscript methods in WebBrowserExtensions
Made possibly by the addition of OnContextReleased IPC message being added
2017-03-28 09:43:59 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
amaitland
d1d754cf58
Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
...
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland
627f80c8ec
Pass in only the required params into BrowserProcessServiceHost - was passing in the browser adapter which wasn't strictly required.
...
Pass the IBrowser instance into IWebBrowserInternal.OnAfterBrowserCreated
Keep a reference to IBrowser in the ChromiumWebBrowser instances (reduces the number of GetBrowser calls and also makes it clearer internally when the browser variable is set)
2016-01-12 14:01:37 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10: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
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
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
amaitland
3ab612a44a
Rename Oninitialized to OnAfterBrowserCreated (more closely matches the underlying CEF API)
2015-07-07 16:48:45 +10:00
Bill Tutt
a92e44e4ad
Move IBrowser into FrameLoadStart/EndEventArgs.
2015-06-08 23:07:37 -04:00
amaitland
8a53dfe54d
Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance
2015-05-21 13:57:17 +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
de7b6b4240
More IFrame usages, take special note of the chaneges in the EventArgs types.
2015-05-02 01:15:47 -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
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
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
9ce2c07888
Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation)
2014-12-22 16:48:54 +10:00
amaitland
c7fe363126
Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
...
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00
jankurianski
87667f2635
Pulling in amaitland:CefSharp feature/focus-handler changes
2014-11-25 21:50:42 +11:00
amaitland
6022c22fe6
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-10-03 18:31:59 +10:00
amaitland
a58b6086c7
First 1750 feature - ShowDevTools/CloseDevTools
2014-10-03 16:41:17 +10:00
amaitland
ef5ef1a704
Remove unused BoundObjects dictionary
2014-08-29 10:09:02 +10:00
Adrian Phinney
d5d3077735
Implemented OnStatusMessage and event for WPF and WinForms.
2014-08-12 08:57:06 -04:00
amaitland
a2debed38a
Move Focus methods from IWebBrowserInternal to IWinFormsWebBrowser and only call them in the context of the WinForms ChromiumWebBrowser
2014-07-09 11:37:10 +10:00
amaitland
f507216311
Add OnGotFocus and OnSetFocus
...
Add CefFocusSource enum for mapping from cef_focus_source_t enum
2014-07-09 11:20:54 +10:00
amaitland
68edca8d35
Add license disclaimer to all files in CefSharp project
2014-06-25 16:00:08 +10:00
amaitland
53117ad7f2
Move properties LifeSpanHandler, KeyboardHandler, JsDialogHandler from IWebBrowserInternal to IWebBrowser
2014-06-12 01:20:07 +03:00
JanEggers
6bbe660df0
Merge remote-tracking branch 'upstream/master' into ExplitImplementInternalInterface
2014-05-21 08:45:25 +02:00
amaitland
197dc10cd9
Add httpStatusCode to OnFrameLoadEnd
2014-05-13 16:57:49 +10:00
amaitland
59e437fa12
Add isMainFrame bool to OnFrameLoadEnd
2014-05-12 11:30:18 +10:00
amaitland
b349a0d361
Add isMainFrame param to OnFrameLoadStart
2014-05-12 11:25:42 +10:00
JanEggers
1656150198
no chnages in method order this time
2014-03-29 23:09:13 +01:00
Per Lundberg
8c40ab43cb
Removed a bunch of superfluous usings. I eat superfluous code for breakfast!
2014-03-21 22:38:53 +02:00
JanEggers
0833476676
added new CefSharp Project
2014-03-09 13:57:28 +01:00