mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix loading of DevTools frontend from chrome-devtools scheme (issue #1095).
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1547@1509 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -183,7 +183,7 @@ std::string CefDevToolsDelegate::GetDevToolsURL(content::RenderViewHost* rvh,
|
|||||||
std::string page_id = binding_->GetIdentifier(rvh);
|
std::string page_id = binding_->GetIdentifier(rvh);
|
||||||
std::string host = http_scheme ?
|
std::string host = http_scheme ?
|
||||||
base::StringPrintf("http://localhost:%d/devtools/", port) :
|
base::StringPrintf("http://localhost:%d/devtools/", port) :
|
||||||
base::StringPrintf("%s://%s/devtools/", chrome::kChromeDevToolsScheme,
|
base::StringPrintf("%s://%s/", chrome::kChromeDevToolsScheme,
|
||||||
scheme::kChromeDevToolsHost);
|
scheme::kChromeDevToolsHost);
|
||||||
|
|
||||||
return base::StringPrintf(
|
return base::StringPrintf(
|
||||||
|
@@ -12,7 +12,7 @@ namespace scheme {
|
|||||||
void AddInternalSchemes(std::vector<std::string>* standard_schemes) {
|
void AddInternalSchemes(std::vector<std::string>* standard_schemes) {
|
||||||
static CefContentClient::SchemeInfo schemes[] = {
|
static CefContentClient::SchemeInfo schemes[] = {
|
||||||
{ chrome::kChromeUIScheme, true, true, true },
|
{ chrome::kChromeUIScheme, true, true, true },
|
||||||
{ chrome::kChromeDevToolsScheme, true, true, false }
|
{ chrome::kChromeDevToolsScheme, true, false, true }
|
||||||
};
|
};
|
||||||
|
|
||||||
CefContentClient* client = CefContentClient::Get();
|
CefContentClient* client = CefContentClient::Get();
|
||||||
|
Reference in New Issue
Block a user