diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 5404eba59791..a8b8e26b4534 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -564,14 +564,6 @@ void NativeWindow::BeforeUnloadFired(content::WebContents* tab, } } -void NativeWindow::ActivateContents(content::WebContents* contents) { - FocusOnWebView(); -} - -void NativeWindow::DeactivateContents(content::WebContents* contents) { - BlurWebView(); -} - void NativeWindow::MoveContents(content::WebContents* source, const gfx::Rect& pos) { SetBounds(pos); diff --git a/atom/browser/native_window.h b/atom/browser/native_window.h index 0298101ce043..0dfc9e050b5a 100644 --- a/atom/browser/native_window.h +++ b/atom/browser/native_window.h @@ -235,8 +235,6 @@ class NativeWindow : public CommonWebContentsDelegate, void BeforeUnloadFired(content::WebContents* tab, bool proceed, bool* proceed_to_fire_unload) override; - void ActivateContents(content::WebContents* contents) override; - void DeactivateContents(content::WebContents* contents) override; void MoveContents(content::WebContents* source, const gfx::Rect& pos) override; void CloseContents(content::WebContents* source) override;