Add update-target-url event
This commit is contained in:
parent
1c504ec45d
commit
3c873736d7
6 changed files with 30 additions and 5 deletions
|
@ -389,6 +389,11 @@ void WebContents::ActivateContents(content::WebContents* source) {
|
|||
Emit("activate");
|
||||
}
|
||||
|
||||
void WebContents::UpdateTargetURL(content::WebContents* source,
|
||||
const GURL& url) {
|
||||
Emit("update-target-url", url);
|
||||
}
|
||||
|
||||
bool WebContents::IsPopupOrPanel(const content::WebContents* source) const {
|
||||
return type_ == BROWSER_WINDOW;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue