Remove ActivateContents and DeactivateContents
This commit is contained in:
parent
bd4d6dcda2
commit
7d05a12ee9
2 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue