amaitland
98d186c33c
Move OnMouseButton into IBrowserHost (rename to SendMouseClickEvent)
2015-07-06 12:39:33 +10:00
amaitland
fbe8ccd61c
Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen
2015-07-06 12:25:09 +10:00
amaitland
8eff8d011e
Add CefState enum
...
Change BrowserSettings to use CefState instead of bool?
Remove the Allowed/Disabled prefix so names now more closely match those of CEF
Should be easier to understand as there's no double negatives now
2015-07-06 11:30:53 +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
f499465f1d
Add CefWindowInfoWrapper
2015-07-01 19:04:28 +10:00
amaitland
ddd7ec1687
Cleanup usings
2015-06-29 14:14:12 +10:00
amaitland
2129c1907e
Remove IBrowserAdapter from Frame and Browser wrappers - now directly cast CefClient to ClientAdapter so can execute js
2015-06-29 14:03:10 +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
amaitland
d188382d20
Move PendingTaskRepository into matching namespace (resharper cleanup) - there is no messaging folder
2015-06-29 11:34:43 +10:00
amaitland
b9e3100994
Simplify PendingTaskRepository TaskCompletionSource creation - use KeyValuePair
2015-06-29 11:32:16 +10:00
David Serfozo
93a61c1442
removed unneeded eval script related methods
2015-06-27 19:01:52 +02:00
David Serfozo
762d94942a
added jscallback support for new evaluatescript implementation
2015-06-27 19:01:41 +02:00
David Serfozo
cc8a07c21f
added evaluatescriptasync message handlers and rerouted evalscript to cef ipc
2015-06-27 19:01:21 +02:00
David Serfozo
bf33f0bc7c
V8 serialization utils added
2015-06-27 16:52:08 +02:00
amaitland
766da920ac
Add license disclaimer to new CefSharpArguments class (also some browsersubprocess classes)
2015-06-25 10:37:56 +10:00
David Serfozo
4d62f6ad8e
wcf made switchable
2015-06-20 19:50:48 +02:00
amaitland
864f9ea7a2
Rename GetResponseHeaders to GetResponse
2015-06-15 23:07:02 +10:00
amaitland
afbed86524
First draft of what is hopefully the final rewrite of ResourceHandler/SchemeHandler
...
This will built but won't run as CefResponseWrapper has not yet been implemented.
2015-06-15 21:03:25 +10:00
amaitland
c445a508ea
Allow for ISchemeHandlerFactory.Create to return null (allow for default behaviour)
...
Updated ISchemeHandlerFactory xml doc
As both current use cases for ResourceHandlerWrapper can potentially return null rather than handle the resource change CefRequestWrapper to be disposed of automatically and use the CefRequest provided by ResourceHandlerWrapper::ProcessRequest
2015-06-15 20:00:32 +10:00
amaitland
ddff5f193d
Merge branch 'ReduceObjectsBeingFinalized' of https://github.com/rassilon/CefSharp into continued/43
2015-06-15 18:40:49 +10:00
amaitland
124cf84142
Wrap frame calls in using statements (Dispose will be ignored if frame null)
2015-06-15 12:21:22 +10:00
rassilon
26ad951da4
Ensure IRequest is disposed.
2015-06-13 10:01:49 -04:00
rassilon
0ee782e8f4
Make this interface disposable so taht code analysis should hopefully remind users to call .Dispose on it.
2015-06-13 10:00:02 -04:00
amaitland
5cf5fcf24c
Few more tweaks to simplify getting the browser instance.
...
Still need to move the wrapper out from ManagedCefBrowserAdapter and into ClientAdapter for the main CefBrowserWrapper
2015-06-11 13:33:35 +10:00
amaitland
4dbd6e36a7
IPopupHandler now implements IKeyboardHandler
...
At some point later on we can then consolidate the code in ClientAdapter to be much simpler
2015-06-11 12:40:32 +10:00
amaitland
6aecd5e2bc
Add IBrowser to ILifeSpanHandler.OnBeforeClose
2015-06-11 11:44:35 +10:00
amaitland
60be64f67b
Add IBrowser to IRequestHandler.OnBeforeBrowse - reorder params to match CEF API
...
Need to look at loading the cached browser instance
2015-06-11 11:06:19 +10:00
amaitland
801bebbbd0
Merge branch 'MorePopupHandlerWork' of https://github.com/rassilon/CefSharp
2015-06-11 10:04:43 +10:00
amaitland
d0af09c82d
Merge remote-tracking branch 'remotes/origin/cleanup/downloadhandler'
2015-06-11 09:33:41 +10:00
rassilon
79d8565d9e
Add native_key_code paraameter to OnKeyEvent since it isn't exactly the same as windowsKeyCode on Windows. Update docs to adapt.
2015-06-10 19:22:00 -04:00
rassilon
eab58306c1
Merge remote-tracking branch 'origin/master' into development
...
Merges master into the formerly cef/2272 branch.
Conflicts:
CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
CefSharp.BrowserSubprocess.Core/packages.config
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp.Core/Internals/ClientAdapter.cpp
CefSharp.Core/Internals/ClientAdapter.h
CefSharp.Core/packages.config
CefSharp.Example/RequestHandler.cs
CefSharp.Example/TempFileDialogHandler.cs
CefSharp.OffScreen.Example/packages.config
CefSharp.Test/packages.config
CefSharp.WinForms.Example/packages.config
CefSharp.Wpf.Example/packages.config
CefSharp/IDialogHandler.cs
CefSharp/IKeyboardHandler.cs
CefSharp/IRequestHandler.cs
build.ps1
2015-06-10 11:31:16 -04:00
rassilon
fd0f8499fc
Add example Ctrl-T menu handler that gets invoked when you have focus inside browser.
2015-06-09 23:29:09 -04:00
rassilon
94e3fecae1
Make isKeyboardShortcut actually settable from the handler, and improve the IKeyboardHandler documentation.
2015-06-09 16:20:55 -04:00
amaitland
294ed9081d
Upgrade version numbers and packages version for 41.0.0 (3.2272.32)
2015-06-09 14:50:00 +10:00
amaitland
d20599a5b2
Change selectedAcceptFilter to a ref param as the initial value was being hidden by using an out param
2015-06-09 14:47:48 +10:00
amaitland
d4630ead1a
API changed for OnBeforeResourceLoad, OnCertificateError, OnQuotaRequest.
...
For OnCertificateError, OnQuotaRequest the callback was changed to be a generic one, so no outward facing API change.
With OnBeforeResourceLoad there is now a async callback which isn't used, the only two options that will work are Cancel or Continue
Conflicts:
CefSharp.Core/Internals/ClientAdapter.cpp
CefSharp.Core/Internals/ClientAdapter.h
2015-06-09 14:43:18 +10:00
amaitland
ebcf516ce6
Update CefFileDialogMode to reflect new values
2015-06-09 14:36:02 +10:00
amaitland
adc47f075f
Update to 2272 nuget packages
...
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
Conflicts:
CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj
CefSharp.BrowserSubprocess.Core/packages.config
CefSharp.Core/CefSharp.Core.vcxproj
CefSharp.Core/packages.config
CefSharp.OffScreen.Example/packages.config
CefSharp.Test/packages.config
CefSharp.WinForms.Example/packages.config
CefSharp.Wpf.Example/packages.config
2015-06-09 14:35:52 +10:00
Bill Tutt
a92e44e4ad
Move IBrowser into FrameLoadStart/EndEventArgs.
2015-06-08 23:07:37 -04:00
Bill Tutt
a7ba17fbc2
The changes continue...
2015-06-08 22:48:29 -04:00
amaitland
bbaa58faed
Expand ISchemeHandlerFactory to pass in browser, frame, schemeName and request
2015-06-05 13:40:27 +10:00
amaitland
c193020c72
Change public API to use Continue and Cancel methods - callback is then somewhat more consistent with other callback wrappers
2015-06-05 12:17:12 +10:00
amaitland
c8d73574da
Add cancel param to ProcessRequestCallback - previously only able to call the Continue() method on the callback
2015-06-05 12:12:33 +10:00
amaitland
54790a94c4
Remove return xml comments, not valid anymore
2015-06-05 12:02:55 +10:00
Bill Tutt
3a330f4352
Here's some more, and the missing return stmt. GetResourceHandler of course doesn't go on PopupHandler.
2015-06-03 00:14:43 -04:00
amaitland
6bda7b20aa
Add CefAuthCallbackWrapper
2015-06-01 16:46:28 +10:00
amaitland
4b6af9448a
Add CefFileDialogCallbackWrapper
2015-06-01 16:27:42 +10:00
amaitland
64379bc193
Start updating examples to Dispose() the callbacks
...
Untabify IRequestCallback
2015-06-01 12:05:53 +10:00