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

Unified Diff: chrome/browser/tab_contents/tab_contents.h

Issue 3346005: Don't create pending entries when a navigation is initiated by the page. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/tab_contents.h
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index 113bc72cf4a1657d61f61f8f45a95f017250cf66..8bca66f383dd53c43a665bf09ae3aaf7132e3087 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -818,6 +818,12 @@ class TabContents : public PageNavigator,
// different and was therefore updated.
bool UpdateTitleForEntry(NavigationEntry* entry, const std::wstring& title);
+ // Causes the TabContents to navigate in the right renderer to |entry|, which
+ // must be already part of the entries in the navigation controller.
+ // This does not change the NavigationController state.
+ bool NavigateToEntry(const NavigationEntry& entry,
+ NavigationController::ReloadType reload_type);
+
// Misc non-view stuff -------------------------------------------------------
// Helper functions for sending notifications.
« no previous file with comments | « chrome/browser/tab_contents/render_view_host_manager_unittest.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698