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

Unified Diff: chrome/browser/ui/browser_tabrestore.h

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really remove webkit_support Created 7 years, 8 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
« no previous file with comments | « chrome/browser/ui/browser_tab_restore_service_delegate.cc ('k') | chrome/browser/ui/browser_tabrestore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_tabrestore.h
diff --git a/chrome/browser/ui/browser_tabrestore.h b/chrome/browser/ui/browser_tabrestore.h
index d4a2f09649550c10d8ce22cb8031867b230bcfa2..5081c1336f30ebbe5bd05832041183d69e597ebf 100644
--- a/chrome/browser/ui/browser_tabrestore.h
+++ b/chrome/browser/ui/browser_tabrestore.h
@@ -16,13 +16,17 @@ class SessionStorageNamespace;
class WebContents;
}
+namespace sessions {
+class SerializedNavigationEntry;
+}
+
namespace chrome {
// Add a tab with its session history restored from the SessionRestore
// system. If select is true, the tab is selected. |tab_index| gives the index
// to insert the tab at. |selected_navigation| is the index of the
-// TabNavigation in |navigations| to select. If |extension_app_id| is
-// non-empty the tab is an app tab and |extension_app_id| is the id of the
+// SerializedNavigationEntry in |navigations| to select. If |extension_app_id|
+// is non-empty the tab is an app tab and |extension_app_id| is the id of the
// extension. If |pin| is true and |tab_index|/ is the last pinned tab, then
// the newly created tab is pinned. If |from_last_session| is true,
// |navigations| are from the previous session. |user_agent_override| contains
@@ -30,7 +34,7 @@ namespace chrome {
// the regular user agent is overridden.
content::WebContents* AddRestoredTab(
Browser* browser,
- const std::vector<TabNavigation>& navigations,
+ const std::vector<sessions::SerializedNavigationEntry>& navigations,
int tab_index,
int selected_navigation,
const std::string& extension_app_id,
@@ -44,7 +48,7 @@ content::WebContents* AddRestoredTab(
// history restored from the SessionRestore system.
void ReplaceRestoredTab(
Browser* browser,
- const std::vector<TabNavigation>& navigations,
+ const std::vector<sessions::SerializedNavigationEntry>& navigations,
int selected_navigation,
bool from_last_session,
const std::string& extension_app_id,
« no previous file with comments | « chrome/browser/ui/browser_tab_restore_service_delegate.cc ('k') | chrome/browser/ui/browser_tabrestore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698