Add API to get whether the devtools is opened.
This commit is contained in:
parent
afc627aae1
commit
de7892cd6e
10 changed files with 24 additions and 2 deletions
|
@ -29,6 +29,10 @@ void InspectableWebContentsViewMac::CloseDevTools() {
|
|||
[view_ setDevToolsVisible:NO];
|
||||
}
|
||||
|
||||
bool InspectableWebContentsViewMac::IsDevToolsOpened() {
|
||||
return [view_ isDevToolsVisible];
|
||||
}
|
||||
|
||||
bool InspectableWebContentsViewMac::SetDockSide(const std::string& side) {
|
||||
return [view_ setDockSide:side];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue