Emit "new-window" event for dispositions other than CURRENT_TAB

This commit is contained in:
Cheng Zhao 2014-11-04 17:59:15 +08:00
parent 77724345c4
commit 013593ccf8
6 changed files with 29 additions and 9 deletions

View file

@ -48,7 +48,8 @@ class Window : public mate::EventEmitter,
const std::string& title) override;
void WillCreatePopupWindow(const base::string16& frame_name,
const GURL& target_url,
const std::string& partition_id) override;
const std::string& partition_id,
WindowOpenDisposition disposition) override;
void WillCloseWindow(bool* prevent_default) override;
void OnWindowClosed() override;
void OnWindowBlur() override;