mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 18:16:20 +01:00
a6a8c0e845
This fixes an `Unhandled chrome.send("getApps");` error when creating a new tab. Creating a new tab initially loads chrome://newtab which should then be rewritten to chrome://new-tab-page for normal profiles in HandleNewTabURLRewrite. Failure to rewrite the URL results in the loading of NewTabUI instead of the expected NewTabPageUI. NewTabUI loads different resources for normal vs incognito/guest profiles (new_tab.js vs incognito_tab.js), and new_tab.js calls chrome.send("getApps") via page_list_view.js. This then fails in WebUIImpl::ProcessWebUIMessage because the message is unhandled. |
||
---|---|---|
.. | ||
views | ||
browser_delegate.h | ||
browser_platform_delegate_chrome.cc | ||
browser_platform_delegate_chrome.h | ||
chrome_browser_context.cc | ||
chrome_browser_context.h | ||
chrome_browser_delegate.cc | ||
chrome_browser_delegate.h | ||
chrome_browser_host_impl.cc | ||
chrome_browser_host_impl.h | ||
chrome_browser_main_extra_parts_cef.cc | ||
chrome_browser_main_extra_parts_cef.h | ||
chrome_content_browser_client_cef.cc | ||
chrome_content_browser_client_cef.h |