Translate |disposition| to string

This commit is contained in:
Cheng Zhao 2014-11-04 18:12:57 +08:00
parent 013593ccf8
commit f29c7164f3
5 changed files with 16 additions and 5 deletions

View file

@ -91,7 +91,7 @@ bool WebContents::ShouldCreateWebContents(
args.AppendString(target_url.spec());
args.AppendString(frame_name);
args.AppendInteger(CURRENT_TAB);
Emit("new-window", args);
Emit("-new-window", args);
return false;
}
@ -107,7 +107,7 @@ content::WebContents* WebContents::OpenURLFromTab(
args.AppendString(params.url.spec());
args.AppendString("");
args.AppendInteger(params.disposition);
Emit("new-window", args);
Emit("-new-window", args);
return NULL;
}