diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index f11a3c9..a74373d 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -1155,6 +1155,7 @@ void TabContents::SetIsLoading(bool is_loading, if (delegate_) delegate_->LoadingStateChanged(this); + NotifyNavigationStateChanged(INVALIDATE_LOAD); NotificationType type = is_loading ? NotificationType::LOAD_START : NotificationType::LOAD_STOP; @@ -1781,11 +1782,11 @@ void TabContents::RequestMove(const gfx::Rect& new_bounds) { delegate()->MoveContents(this, new_bounds); } -void TabContents::DidStartLoading(RenderViewHost* rvh, int32 page_id) { +void TabContents::DidStartLoading(RenderViewHost* rvh) { SetIsLoading(true, NULL); } -void TabContents::DidStopLoading(RenderViewHost* rvh, int32 page_id) { +void TabContents::DidStopLoading(RenderViewHost* rvh) { scoped_ptr<LoadNotificationDetails> details; NavigationEntry* entry = controller_.GetActiveEntry(); |