feat: emit devtools-open-url
event for DevTools link selection (#36774)
* feat: emit event for DevTools link selection * chore: devtools-open-in-new-tab -> devtools-open-url
This commit is contained in:
parent
8d008c977d
commit
7d46d3ec9d
7 changed files with 27 additions and 1 deletions
|
@ -723,7 +723,10 @@ void InspectableWebContents::SetIsDocked(DispatchCallback callback,
|
|||
std::move(callback).Run(nullptr);
|
||||
}
|
||||
|
||||
void InspectableWebContents::OpenInNewTab(const std::string& url) {}
|
||||
void InspectableWebContents::OpenInNewTab(const std::string& url) {
|
||||
if (delegate_)
|
||||
delegate_->DevToolsOpenInNewTab(url);
|
||||
}
|
||||
|
||||
void InspectableWebContents::ShowItemInFolder(
|
||||
const std::string& file_system_path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue