Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 147145: Fix: Certain redirections remove sites from the history... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 696
697 // If our controller was restored and the page id is > than the site 697 // If our controller was restored and the page id is > than the site
698 // instance's page id, the site instances page id is updated as well as the 698 // instance's page id, the site instances page id is updated as well as the
699 // renderers max page id. 699 // renderers max page id.
700 void UpdateMaxPageIDIfNecessary(SiteInstance* site_instance, 700 void UpdateMaxPageIDIfNecessary(SiteInstance* site_instance,
701 RenderViewHost* rvh); 701 RenderViewHost* rvh);
702 702
703 // Called by OnMsgNavigate to update history state. Overridden by subclasses 703 // Called by OnMsgNavigate to update history state. Overridden by subclasses
704 // that don't want to be added to history. 704 // that don't want to be added to history.
705 virtual void UpdateHistoryForNavigation(const GURL& display_url, 705 virtual void UpdateHistoryForNavigation(const GURL& display_url,
706 const NavigationController::LoadCommittedDetails& details,
706 const ViewHostMsg_FrameNavigate_Params& params); 707 const ViewHostMsg_FrameNavigate_Params& params);
707 708
708 // Saves the given title to the navigation entry and does associated work. It 709 // Saves the given title to the navigation entry and does associated work. It
709 // will update history and the view for the new title, and also synthesize 710 // will update history and the view for the new title, and also synthesize
710 // titles for file URLs that have none (so we require that the URL of the 711 // titles for file URLs that have none (so we require that the URL of the
711 // entry already be set). 712 // entry already be set).
712 // 713 //
713 // This is used as the backend for state updates, which include a new title, 714 // This is used as the backend for state updates, which include a new title,
714 // or the dedicated set title message. It returns true if the new title is 715 // or the dedicated set title message. It returns true if the new title is
715 // different and was therefore updated. 716 // different and was therefore updated.
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 // True if the user has decided to block future javascript messages. This is 1071 // True if the user has decided to block future javascript messages. This is
1071 // reset on navigations to false on navigations. 1072 // reset on navigations to false on navigations.
1072 bool suppress_javascript_messages_; 1073 bool suppress_javascript_messages_;
1073 1074
1074 // --------------------------------------------------------------------------- 1075 // ---------------------------------------------------------------------------
1075 1076
1076 DISALLOW_COPY_AND_ASSIGN(TabContents); 1077 DISALLOW_COPY_AND_ASSIGN(TabContents);
1077 }; 1078 };
1078 1079
1079 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1080 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/navigation_controller.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698