Commit Graph

290 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
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 a49848347b Remove _javascriptCallbackFactories dictionary
Should be required as the OnProcessMessageReceived IPC handler should be called on the relevant browser instance
2015-08-17 14:29:50 +10:00
amaitland 0e2078e288 Send bound objects in the new OnRenderViewReady method 2015-08-17 14:22:57 +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 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 6e1c9ad778 Add OnResetDialogState and OnDialogClosed to IJsDialogHandler 2015-08-17 13:16:45 +10:00
amaitland e19edc6ce0 Default return value for OnConsoleMessage is false, so revert to using the default 2015-08-17 12:11:40 +10:00
amaitland 02ae218cfc Simplify nesting for OnBeforeResourceLoad, OnBeforeBrowse, OnPreKeyEvent, OnKeyEvent 2015-08-17 12:10:49 +10:00
amaitland 9616f5dc57 Add note and remove TODO 2015-08-17 12:05:01 +10:00
amaitland 6000d5ce25 OnAfterCreated and OnBeforeClose are now simplified to reflect the removal of IPopupHandler 2015-08-17 11:58:52 +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 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 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
amaitland c242593779 Add IBrowser property to AddressChangedEventArgs 2015-08-13 21:55:33 +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 ca79bdf508 Rename CefWindowInfoWrapper.h to WindowInfo.h as it's not a public class that can be instantiated for use with ShowDevTools 2015-08-13 15:11:37 +10:00
David Serfozo 437cf20160 normal bound objects transfered with cef ipc as well 2015-08-06 10:25:33 +02:00
amaitland fb286eae03 Add conditional block for OnBeforePopup to handle WinForms style browser creation 2015-08-03 17:56:24 +10:00
amaitland aabbb65f8d Merge branch 'asyncmethods' of https://github.com/cefsharp-ms/CefSharp 2015-08-03 10:29:52 +10:00
cefsharp-ms 0b300d5dda Merged master 2015-07-31 17:41:00 +02:00
cefsharp-ms 561c2de020 RootObject message renamed to include async 2015-07-31 17:17:35 +02:00
cefsharp-ms 4523ddfaab method call message names include Async now 2015-07-31 17:17:16 +02:00
amaitland 4034bcd2dd Rename variables so GetResourceHandler code matches that of SchemeHandlerFactoryWrapper 2015-07-29 20:56:23 +10:00
amaitland 88b02ba904 Add ResourceHandlerType to deal with Files differently, use the underlying CefStreamReader::CreateForFile implementation 2015-07-29 20:49:29 +10:00
amaitland 2b34f80e7c Quick fix to make sure the correct IBrowser instance is used 2015-07-28 18:23:53 +10:00
amaitland 4ce9bc5463 Add IBrowser param to ILifeSpanHandler.OnAfterCreated 2015-07-28 17:19:50 +10:00
amaitland 9a0d7688a0 Merge branch 'cef/2272' 2015-07-28 17:17:12 +10:00
amaitland 19f0d61896 Add extra check for HasParent otherwise the browser window won't be closed accordingly - need to investigate why handles don't match 2015-07-28 17:07:25 +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 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 bc8e2e6429 Fix minor mistake in OnResourceRedirect - was attempting to get the popup browser instance - still need to rewrite this at some point so it's cleaner 2015-07-28 13:50:28 +10:00
amaitland 03fa6e52c2 Add target_disposition and user_gesture params to ILifeSpanHandler.OnBeforePopup 2015-07-28 11:14:06 +10:00
amaitland 580faf9d90 Fix bug in OnFaviconURLChange - incorrectly passes in true for IsPopup when it's the main window
Should probably rewrite the function to simplify
2015-07-24 14:50:09 +10:00
cefsharp-ms a8db666642 added async bound method result callback on browser process side 2015-07-23 15:12:28 +02:00
cefsharp-ms 7744b7197f async bindings are dispatched to a background thread for each browser 2015-07-23 15:12:05 +02:00
cefsharp-ms 4ec6d1ca6e async method bindings added 2015-07-23 15:11:27 +02:00
cefsharp-ms 0e073bcd0a added message to transmit async bound jsrootobject to render process 2015-07-23 15:10:52 +02:00
amaitland 7169d904e7 Pedantic code cleanup - mostly just formatting and rearrange some if statements
Fixed one minor issue with OnBeforeResourceLoad - wouldn't have been called for a popup if RequestHandler was null
2015-07-22 15:36:44 +10:00
amaitland a88ca171c9 Add IBrowser param to OnFaviconUrlChange
Add IBrowser param to OnResourceRedirect
Update comment so hopefully it's clearer that the browserControl param is the ChromiumWebBrowser instance
2015-07-22 14:53:34 +10:00
amaitland 1aba3b59e6 Add Request param to OnResourceRedirect 2015-07-22 14:47:28 +10:00
jankurianski 5e658fccb5 Upgraded to use local 3.2357.1274 NuGet packages and fixed breaking changes 2015-07-21 15:16:25 +10:00
amaitland c201454905 Merge branch 'cefipcjscallbacks' of https://github.com/arsher/CefSharp into feature/replacewcf2 2015-07-10 10:12:53 +10:00
David Serfozo e0d5dcd283 added error handling when browser id has no match in render process 2015-07-09 23:36:31 +02:00