mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
The |isMainContent| parameter to HandleLoadEnd should be true for reloads (issue #183).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@181 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -105,7 +105,8 @@ void BrowserNavigationController::LoadEntry(BrowserNavigationEntry* entry) {
|
||||
}
|
||||
|
||||
|
||||
BrowserNavigationEntry* BrowserNavigationController::GetLastCommittedEntry() const {
|
||||
BrowserNavigationEntry* BrowserNavigationController::GetLastCommittedEntry()
|
||||
const {
|
||||
if (last_committed_entry_index_ == -1)
|
||||
return NULL;
|
||||
return entries_[last_committed_entry_index_].get();
|
||||
@@ -139,7 +140,8 @@ BrowserNavigationEntry* BrowserNavigationController::GetEntryWithPageID(
|
||||
return (index != -1) ? entries_[index].get() : NULL;
|
||||
}
|
||||
|
||||
void BrowserNavigationController::DidNavigateToEntry(BrowserNavigationEntry* entry) {
|
||||
void BrowserNavigationController::DidNavigateToEntry(
|
||||
BrowserNavigationEntry* entry) {
|
||||
// If the entry is that of a page with PageID larger than any this Tab has
|
||||
// seen before, then consider it a new navigation.
|
||||
if (entry->GetPageID() > GetMaxPageID()) {
|
||||
@@ -218,7 +220,8 @@ int BrowserNavigationController::GetEntryIndexWithPageID(int32 page_id) const {
|
||||
return -1;
|
||||
}
|
||||
|
||||
void BrowserNavigationController::NavigateToPendingEntry(bool reload, bool ignoreCache) {
|
||||
void BrowserNavigationController::NavigateToPendingEntry(bool reload,
|
||||
bool ignoreCache) {
|
||||
// For session history navigations only the pending_entry_index_ is set.
|
||||
if (!pending_entry_) {
|
||||
DCHECK(pending_entry_index_ != -1);
|
||||
|
Reference in New Issue
Block a user