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
d7edc64b13
Remove IsOffScreen param - will use the IPopupHandler events instead
2015-07-28 16:18:54 +10:00
amaitland
d843e96407
Merge branch 'cef/2272' of https://github.com/jamespearce2006/CefSharp into cef/2272
2015-07-28 15:59:30 +10: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
9c7bf2e930
Change ResourceHandler to IResourceHandler
...
Add StatusText
2015-05-27 17:11:52 +10: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
adb5ae0d77
More work on wrapping CefBrowser/CefFrame.
2015-05-17 17:41:44 -04:00
jamespearce2006
e20fad9081
Simplify XAML example
2015-05-08 11:14:29 +01:00
jamespearce2006
da9d4df2c8
Cleanup code formatting
2015-05-07 23:40:56 +01:00
jamespearce2006
608d97a0b4
Fixed conflicts
2015-05-07 22:42:19 +01:00
jamespearce2006
ae61994c3d
Offscreen popup support
2015-05-07 18:32:14 +01:00
amaitland
95470df8ee
Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/onjsdialog
2015-05-07 15:27:44 +10:00
Alex Maitland
16ba0ab6a5
Merge pull request #1008 from amaitland/enhancement/requestcallback
...
Implement CefRequestCallback wrapper
2015-05-07 15:24:44 +10:00
Alex Maitland
0900a6cd32
Merge pull request #1011 from amaitland/enhancement/favicon
...
Add OnFaviconURLChange
2015-05-07 15:22:40 +10:00
amaitland
b118b5f678
Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/requestcallback
2015-05-07 14:35:35 +10:00
amaitland
fb3fb8e0de
Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/onjsdialog
2015-05-07 14:32:36 +10:00
amaitland
fb87cab4f4
Add OnFaviconURLChange implementation - there is no IDisplayHandler interface so added the method to IRequestHandler as that seemed the next best place.
2015-05-07 13:52:19 +10:00
amaitland
fc9e6dc9ad
Rewrite OnJSDialog so now matches the Cef API, whilst I understand that the ideal of having the types split into different methods was nice from a user point of view, I think we kept functionality from users that was exposed.
...
So the callback wrapper has been added so can now be executed async. SuppressMessage is now possible.
Fixes #999
2015-05-07 12:53:36 +10:00
amaitland
dc986b3b06
Implement CefRequestCallback wrapper and expose for relevant CefRequestHandler interfaces
...
Resolves #982
2015-05-07 11:33:33 +10:00
Bill Tutt
1f59244b81
Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper
2015-05-05 18:26:05 -04:00
jamespearce2006
8213471364
Testing changes to OnPopup
2015-05-05 17:31:46 +01:00
amaitland
db3956bbe4
Add ILifeSpanHandler.OnBeforePopup no_javascript_access as ref param
2015-05-04 16:39:18 +10:00
amaitland
eabbcf64c1
Remove pragma once from cpp files, only needed in header files
...
(Was just adding to every file before without really thinking what I was doing, pretty harmless regardless).
2015-05-04 15:04:03 +10:00
amaitland
f8691fdee6
Merge remote-tracking branch 'remotes/upstream/cef/2272' into cleanup/resourcehandler
2015-05-04 14:34:31 +10:00
Bill Tutt
872cb06c71
Part 1 of Wrap CefBrowser.
2015-05-02 23:32:22 -04:00
Bill Tutt
af412b623a
Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
...
Conflicts:
CefSharp.Core/Cef.h
2015-05-02 05:04:21 -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
amaitland
6abfb8c054
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
2015-04-28 14:04:35 +10:00
rassilon
61ce52a2a4
Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
...
Conflicts:
CefSharp.Core/SchemeHandlerFactoryWrapper.cpp
CefSharp.Core/SchemeHandlerFactoryWrapper.h
CefSharp.Core/SchemeHandlerResponse.cpp
Merge merge merge, merges are fun.
2015-04-25 03:06:21 -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
a9aeaecda5
Comment out example and remove TODO
2015-04-24 10:51:16 +10:00
amaitland
dffc3da31f
Implement OnProtocolExecution (mapped slightly differently as it's easier to return a bool than use a ref param)
2015-04-22 17:07:55 +10:00
amaitland
2429a5492a
Implement IRequestHandler.OnResourceRedirect
2015-04-22 16:59:02 +10:00
amaitland
f654c78874
Add basic OnQuotaRequest implementation
2015-04-22 16:29:18 +10:00
amaitland
ee50034502
Reorder/Include pragma once
...
Add license to AutoLock
This is more of a generic cleanup - no time like the present
2015-04-17 13:07:08 +10:00
amaitland
aa2006f352
Remove note about crashing as bug is now fixed
2015-04-17 13:07:04 +10:00
amaitland
3551faa364
Move ToHeaderMap method into TypeConversion as it's generic and used in two places
2015-04-17 13:07:04 +10:00
amaitland
6480706ced
Rename SchemeHandlerWrapper to ResourceHandlerWrapper
2015-04-17 13:07:03 +10:00
amaitland
b5ad359aea
Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking
2015-04-08 11:07:10 +10:00
amaitland
7621cbb745
Remove IsLoadingChangedEventArgs
2015-04-08 11:05:12 +10:00
amaitland
2dd49f8a2c
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-03-31 12:08:49 +10:00
amaitland
fe59df92ac
Cleanup OnBeforeResourceLoad - Remove IResponse and Response classes, to perform Redirect simply set the IRequest.Url
2015-03-28 19:56:26 +10:00
rassilon
fafc0ad2d5
Fix #884 by adding sourceUrl parameter to OnBeforePopup .Net callback.
2015-03-25 22:30:24 -04:00
amaitland
6c60da63c8
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-03-23 08:49:45 +10:00
rassilon
460cca4e5c
Use IsPopup instead.
2015-03-21 10:02:30 -04:00
rassilon
40f45b4183
Don't change the .Address property when (among other things) you display DevTools.
2015-03-20 14:02:17 -04:00
amaitland
0572ef6a25
Add isMainFrame to OnBeforeResourceLoad
2015-03-18 17:44:19 +10:00
dimas
16bc1215ee
Passing IsMainFrame as parameter to the OnBeforeBrowse
2015-03-18 13:15:25 +08:00