Add isDevToolsFocused to webview
This commit is contained in:
parent
4cdee5547f
commit
14db4a1946
7 changed files with 12 additions and 14 deletions
|
@ -268,10 +268,6 @@ bool NativeWindow::IsWebViewFocused() {
|
|||
return host_view && host_view->HasFocus();
|
||||
}
|
||||
|
||||
bool NativeWindow::IsDevToolsFocused() {
|
||||
return inspectable_web_contents_->GetView()->IsDevToolsViewFocused();
|
||||
}
|
||||
|
||||
void NativeWindow::CapturePage(const gfx::Rect& rect,
|
||||
const CapturePageCallback& callback) {
|
||||
const auto view = web_contents()->GetRenderWidgetHostView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue