apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Add ability to handle different link click/navigation types #1526

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add a new CefLifeSpanHandler::OpenURLFromTab callback. 
CefBrowserHostImpl::OpenURLFromTab is called for cross-origin navigation 
requests and other navigation requests that might open in a special way (e.g. 
clicking a link via middle-click or ctrl+left-click) [1]. The 
WindowOpenDisposition value passed to this method indicates how the link should 
be opened. CEF currently always opens the link in the current browser. This 
information could be used to choose between creating a new browser and 
navigating in the current browser.

[1] See calls to OpenURL() in content/renderer/render_frame_impl.cc.

Original issue reported on code.google.com by magreenb...@gmail.com on 5 Feb 2015 at 11:02

GoogleCodeExporter commented 9 years ago
Issue 1114 has been merged into this issue.

Original comment by magreenb...@gmail.com on 11 Feb 2015 at 8:15

GoogleCodeExporter commented 9 years ago
This might also resolve issue #311.

Original comment by magreenb...@gmail.com on 11 Feb 2015 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 11 Feb 2015 at 8:35

GoogleCodeExporter commented 9 years ago
Issue 1112 has been merged into this issue.

Original comment by magreenb...@gmail.com on 4 Mar 2015 at 5:00

GoogleCodeExporter commented 9 years ago
Thanks for the patch (from issue #1560). The comments from issue #1525 apply 
here as well. New CefRequestHandler::OnOpenURLFromTab method added in trunk 
revision 2054.

Original comment by magreenb...@gmail.com on 9 Mar 2015 at 8:22