Remove NativeWindow::ActivateContents
This commit is contained in:
parent
eb370ba22a
commit
e41b0d4d2c
5 changed files with 6 additions and 11 deletions
|
@ -267,8 +267,7 @@ void WebContents::CloseContents(content::WebContents* source) {
|
|||
}
|
||||
|
||||
void WebContents::ActivateContents(content::WebContents* source) {
|
||||
if (type_ == BROWSER_WINDOW)
|
||||
owner_window()->CloseContents(source);
|
||||
Emit("activate");
|
||||
}
|
||||
|
||||
bool WebContents::IsPopupOrPanel(const content::WebContents* source) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue