Add "frameName" as paramter for "new-window" event

This commit is contained in:
Cheng Zhao 2014-10-27 19:14:17 +08:00
parent 389e56ce36
commit fefeb39757
5 changed files with 8 additions and 8 deletions

View file

@ -88,7 +88,7 @@ bool WebContents::ShouldCreateWebContents(
content::SessionStorageNamespace* session_storage_namespace) {
base::ListValue args;
args.AppendString(target_url.spec());
args.AppendString(partition_id);
args.AppendString(frame_name);
Emit("new-window", args);
return false;
}