Commit Graph

2231 Commits

Author SHA1 Message Date
amaitland 65d44b3962 Only send register IPC message of there are is a bound object 2015-08-18 09:29:50 +10:00
Alex Maitland a904c78399 Merge pull request #1190 from amaitland/cleanup/newhandlers
Revise Event Handlers, Add ILoadHandler, IDisplayHandler and remove IPopupHandler
2015-08-17 15:16:11 +10:00
amaitland e83f1d9fd8 Untabify 2015-08-17 14:51:05 +10:00
amaitland ad336a8928 First draft of sslinfo
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj.filters
	CefSharp.Example/RequestHandler.cs
2015-08-17 14:49:47 +10:00
amaitland 315e345582 Add OnOpenUrlFromTab and OnRenderViewReady 2015-08-17 13:59:48 +10:00
amaitland b780568544 Add DoClose to ILifeSpanHandler 2015-08-17 13:49:10 +10:00
amaitland 29e6bc7571 Rename IMenuHandler to IContextMenuHandler 2015-08-17 13:42:44 +10:00
amaitland be6046276b Add OnContextMenuCommand and OnContextMenuDismissed handlers 2015-08-17 13:40:56 +10:00
amaitland 75ff0ed3e4 Add IMenuModel
Refactor to reflect actual underlying Cef Model (Remove return bool)
2015-08-17 13:33:27 +10:00
amaitland 9e9735fdfc Fix formatting in IDragHandler 2015-08-17 13:16:55 +10:00
amaitland 6e1c9ad778 Add OnResetDialogState and OnDialogClosed to IJsDialogHandler 2015-08-17 13:16:45 +10:00
amaitland fd78bf430c Untabify 2015-08-17 12:19:23 +10:00
amaitland 41acea55d3 Add ILoadHandler to directly expose CefLoadHandler interface
Rather than have a complex set of rules where some methods were handled via IPopupHandler and others weren't
It's just a basic wrapper around CEF now with the internal event handlers only being called if it's not a popup
2015-08-17 11:54:40 +10:00
amaitland 8dbfe02618 Start adding/moving methods to IDisplayHandler - reflect CefDisplayHandler implementation 2015-08-17 11:29:51 +10:00
amaitland bb3103e1c2 Rename IPopupHandler to IDisplayHandler 2015-08-17 11:23:21 +10:00
amaitland 02b2be54db Remove OnAfterCreated and OnBeforeClose from IPopupHandler 2015-08-17 11:20:49 +10:00
amaitland 0a3bc35236 Remove more methods from IPopupHandler - still two more to go 2015-08-17 11:03:30 +10:00
amaitland aa90cf307f Reorder methods in IPopupHandler 2015-08-17 10:57:50 +10:00
amaitland 49248739b2 Add license disclaimer
Remove unused using statement
2015-08-17 10:57:06 +10:00
amaitland 6928de190b OnFaviconURLChange is now only exposed on IRequestHandler 2015-08-17 10:56:40 +10:00
amaitland 7ae3515e93 Revert IPopupHandler implementing IKeyboardHandler
All keyboard checks are simply handled through IKeyboardHandler (for both main and popup browsers)
2015-08-17 10:51:24 +10:00
cefsharp-ms 2e9a8a8734 pending task only cancelled on real timeouts 2015-08-14 12:09:25 +02:00
amaitland c242593779 Add IBrowser property to AddressChangedEventArgs 2015-08-13 21:55:33 +10:00
amaitland 2368115c61 Make CanReload as Obsolete - use IsLoading instead 2015-08-13 21:39:19 +10:00
amaitland 77c11c3ad0 Move Title property from IWebBrowser to IWpfWebBrowser (not really required for WinForms and OffScreen)
TitleChanged EventHandler is now the best way to access these for WinForms and OffScreen
2015-08-13 21:36:18 +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
Alex Maitland 411497f089 Merge pull request #1187 from amaitland/feature/devtoolsoverride
Add ShowDevTools override
2015-08-13 20:37:36 +10:00
amaitland 25b8534e31 Add IsMainFrame property to FrameLoadEndEventArgs for backwards compatibility
Make IsMainFrame as obsolete
2015-08-13 18:29:57 +10:00
amaitland 7d6a7146ba Use default params for ShowDevTools - only one method rather than individual overloads
Remove CefObjectFactory.h - will make CefWindowInfoWrapper a public class
2015-08-13 15:08:45 +10:00
amaitland b1e9ce5c5a Add ShowDevTools overload that allows for passing of coordinates and custom windowInfo
Just need to wrap CefBrowerSettings
2015-08-13 11:05:22 +10:00
Alex Maitland 042f873975 Resolve issue with loging plugin diagnostic page - MimeType was null which crashed unexpectedly
Added validation so that MimeType is required or exception throw
Remove some of the method overloads and replace with default params on the main methods
2015-08-09 12:26:00 +10:00
amaitland 3861ebec3d Remove some unused WCF pieces now that native IPC is used to register js binding objects 2015-08-07 13:24:50 +10:00
David Serfozo 5a76864ad0 uneeded method removed from IBrowserProcess 2015-08-06 10:28:06 +02:00
amaitland 326aaf70f8 Move handlers to their own namespace and create an implementation of LifeSpanHandler to deal with custom popups 2015-08-03 17:57:01 +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 6e54db1018 Update IWindowInfo wrapper to expose all four properties for SetAsChild (left, top, right, bottom) 2015-08-03 17:54:06 +10:00
amaitland 562d6ea51c Catch OperationCanceledException otherwise VS will break (if you have break on user unhandled exceptions enabled)
Add in braces and extra lines (simple formating)
2015-08-03 14:52:58 +10:00
amaitland bec6fe4618 Formatting and naming fixups 2015-08-03 12:16:20 +10:00
amaitland 5a09a5ef35 Merge branch 'cefextensions' of https://github.com/arsher/CefSharp 2015-08-03 12:12:51 +10:00
amaitland 74d987a02d Switch to Interlocked.Increment for Id generation
Add missing xml comment
2015-08-03 10:59:31 +10:00
amaitland aabbb65f8d Merge branch 'asyncmethods' of https://github.com/cefsharp-ms/CefSharp 2015-08-03 10:29:52 +10:00
amaitland ab98228b51 Merge branch 'cookiemanager' of https://github.com/arsher/CefSharp 2015-08-03 10:13:56 +10:00
Alex Maitland 85fc74df8a Merge pull request #1156 from amaitland/feature/CefStreamReader
Use CefStreamReader::CreateForFile for Reading files on Disk
2015-08-03 08:41:10 +10:00
David Serfozo 4fdca242d0 CefExtension modified to null-check JavascriptCode in constructor 2015-08-02 16:07:43 +02:00
David Serfozo b521b99f73 added missing copyright notice 2015-08-01 20:27:19 +02:00
David Serfozo 4f31a9309c added cefextension class 2015-08-01 14:10:20 +02:00
cefsharp-ms 0b300d5dda Merged master 2015-07-31 17:41:00 +02:00
cefsharp-ms dbf5e94293 updated kPromisCreatorScript field to be static const 2015-07-31 17:17:55 +02:00
cefsharp-ms 70827bbe1e updated comment on new IWebBrowser method 2015-07-31 17:17:10 +02:00
cefsharp-ms f804ca48ec added missing copyright notices 2015-07-31 17:17:04 +02:00