Remove ActivateContents and DeactivateContents

This commit is contained in:
Cheng Zhao 2015-06-24 20:10:07 +08:00
parent bd4d6dcda2
commit 7d05a12ee9
2 changed files with 0 additions and 10 deletions

View file

@ -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);

View file

@ -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;