amaitland
bbe267b44c
Throw exception if IsBrowserInitialized when trying to call RegisterJsObject
2015-07-06 12:16:58 +10:00
amaitland
df94d54a61
Remove duplicate GetMainFrame and GetFocusedFrame methods - turned them into extensions
2015-07-01 19:49:27 +10:00
amaitland
f239503bb3
Move SendMouseWheelEvent to IBrowserHost
2015-07-01 19:38:14 +10:00
amaitland
091339de25
OffScreen control - update to throw exception if Browser has not been initialized
...
It's quite common for users to attempt to execute a browser function before it's initialized and for it to silently fail if it's not been initialized
2015-07-01 19:24:49 +10:00
amaitland
958a6264a3
Remove LoadUrl code from ManagedCefBrowserAdapter - remove more duplication
2015-07-01 12:29:37 +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
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
amaitland
d394124b3a
Move public facing CefBrowserHost methods into extension methods that use the IBrowserHost wrapper
2015-05-29 11:23:25 +10:00
amaitland
67d57c96a0
Move Stop/Back/Forward methods into WebBrowserExtensions
2015-05-28 20:20:32 +10:00
amaitland
c0e79c20b0
Add GetBrowser methods to get direct access to the underlying CefBrowser instance
2015-05-28 20:08:56 +10:00
amaitland
d37dd2d2ef
Move LoadHtml into an extension method
2015-05-27 16:18:28 +10: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
1a1fcb9f2e
Make the next set of frame related methods into extension methods
2015-05-21 19:12:14 +10:00
amaitland
4763020b9d
Add GetMainFrame and GetFocusedFrame to IWebBrowser
2015-05-21 18:38:33 +10:00
amaitland
8a53dfe54d
Pass the IBrowserAdapter (ManagedCefBrowserAdapter) reference directly into the ClientAdapter instance
2015-05-21 13:57:17 +10:00
amaitland
cedc3196fa
Remove WindowsBase reference from OffScreen - not required (Uses Gdi Bitmap)
2015-05-21 13:51:14 +10:00
amaitland
fcde9660d3
Add System.ServiceModel to OffScreen - needed to use the new extension methods
2015-05-21 13:51:14 +10:00
amaitland
e43befe9fa
Start to extract some duplicate code out into extension methods - saves repeating the same block three times
2015-05-21 13:51:14 +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
80d6ae12e5
Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper
2015-05-20 21:54:31 -04:00
amaitland
8bcab86694
Fix #1035
...
OffScreen check BackBufferHandle == IntPtr.Zero before attempting to create a new bitmap
2015-05-20 18:12:50 +10:00
Bill Tutt
79a66d8bc1
Add PopupHandler properties to the controls.
2015-05-17 17:57:14 -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
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
0eeacddd78
Sign the OffScreen project (using existing snk file)
2015-05-02 06:55:27 +10:00
rassilon
fdd5508467
Continue the TaskScheduler items:
...
* Replace IWebBrowser.ZoomLevel property with:
GetZoomLevelAsync(), and SetZoomLevel().
2015-04-27 18:20:32 -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
0e78ee0e28
Attempt to improve efficiency of OffScreen rendering by only creating a new bitmap when the old one changes in size (same behaviour as WPF).
...
Moved bitmap creation into GdiBitmapInfo
2015-04-24 15:53:12 +10:00
rassilon
701d391c59
Adding .Net enum of CefThreadId (mostly to be able to call .ToString()).
...
Added license headers on new files.
Remove sync version of GetZoomLevel on ManagedCefBrowserAdapter.
Updated callers to call GetZoomLevelAsync() but in a blocking sync manner.
Added CurrentlyOn/EnsureOn static methods to CefTaskScheduler.
2015-04-22 08:19:36 -04:00
amaitland
c66b28a645
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-04-21 11:54:56 +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
Alex Maitland
d7525280d8
Merge pull request #923 from exinferis/master
...
Added parameter for lowercasing JS functions (or not)
2015-04-10 15:44:21 +10:00
amaitland
fb4f0bbc05
Mark IsLoadingChanged Obsolete in OffScreen and WinForms versions
2015-04-10 08:26:26 +10:00
amaitland
d55ea0c90e
Rename NavStateChanged to LoadingStateChanged
2015-04-08 11:09:37 +10:00
amaitland
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
89b02583e8
Remove method overloads and use optional param instead
2015-04-07 20:30:15 +10:00
Exinferis
8581c3f03b
Added parameter for lowercasing JS functions (or not)
2015-04-02 15:37:12 +02:00
rassilon
a04d3c6eb8
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-02 23:08:04 -05:00
amaitland
aada02c356
Add ScreenInfo class to represent Width/Height/ScaleFactor
2015-03-02 10:40:01 +10:00
amaitland
4b9bdacabf
Add BrowserSettings property and Dispose of BrowserSettings as it's a managed class
2015-02-27 14:25:48 +10:00
amaitland
be6e6d12da
Add AddressChanged and IsLoadingChanged handlers to OffScreen
2015-02-27 14:23:01 +10:00
amaitland
7a67f05b75
Code cleanup - reorder properties so they're grouped together
2015-02-27 14:20:08 +10:00
amaitland
ac2af300a0
Add default value to OffScreen constrictor
2015-02-27 14:13:08 +10:00
amaitland
e4df212597
Add TODO in offscreen browser
2015-02-27 11:58:36 +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
b6ac43a0a8
Merge remote-tracking branch 'remotes/upstream/master' into improvements/more-wpf-rendering-tweaks
2015-02-15 22:26:03 +10:00