|
@@ -1183,10 +1183,6 @@ void NativeWindowViews::OnWidgetActivationChanged(
|
|
|
&NativeWindow::NotifyWindowBlur,
|
|
|
GetWeakPtr()));
|
|
|
|
|
|
- if (active && inspectable_web_contents() &&
|
|
|
- !inspectable_web_contents()->IsDevToolsViewShowing())
|
|
|
- web_contents()->Focus();
|
|
|
-
|
|
|
// Hide menu bar when window is blured.
|
|
|
if (!active && menu_bar_autohide_ && menu_bar_visible_)
|
|
|
SetMenuBarVisibility(false);
|