Determine wheter a navigation entry is in-page

This commit is contained in:
Cheng Zhao 2015-05-11 13:51:52 +08:00
parent 4a195e6283
commit fc2bc20572
2 changed files with 16 additions and 10 deletions

View file

@ -348,8 +348,9 @@ void WebContents::WebContentsDestroyed() {
}
void WebContents::NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) {
Emit("navigation-entry-commited", load_details.entry->GetURL());
const content::LoadCommittedDetails& details) {
Emit("navigation-entry-commited", details.entry->GetURL(),
details.is_in_page, details.did_replace_entry);
}
void WebContents::DidAttach(int guest_proxy_routing_id) {