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

Side by Side Diff: chrome/browser/ui/browser_tab_restore_service_delegate.h

Issue 21022018: Sessions API - previously Session Restore API. Supports restoring currently open foreign windows an… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added assert true to test Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 virtual content::WebContents* AddRestoredTab( 33 virtual content::WebContents* AddRestoredTab(
34 const std::vector<sessions::SerializedNavigationEntry>& navigations, 34 const std::vector<sessions::SerializedNavigationEntry>& navigations,
35 int tab_index, 35 int tab_index,
36 int selected_navigation, 36 int selected_navigation,
37 const std::string& extension_app_id, 37 const std::string& extension_app_id,
38 bool select, 38 bool select,
39 bool pin, 39 bool pin,
40 bool from_last_session, 40 bool from_last_session,
41 content::SessionStorageNamespace* storage_namespace, 41 content::SessionStorageNamespace* storage_namespace,
42 const std::string& user_agent_override) OVERRIDE; 42 const std::string& user_agent_override) OVERRIDE;
43 virtual void ReplaceRestoredTab( 43 virtual content::WebContents* ReplaceRestoredTab(
44 const std::vector<sessions::SerializedNavigationEntry>& navigations, 44 const std::vector<sessions::SerializedNavigationEntry>& navigations,
45 int selected_navigation, 45 int selected_navigation,
46 bool from_last_session, 46 bool from_last_session,
47 const std::string& extension_app_id, 47 const std::string& extension_app_id,
48 content::SessionStorageNamespace* session_storage_namespace, 48 content::SessionStorageNamespace* session_storage_namespace,
49 const std::string& user_agent_override) OVERRIDE; 49 const std::string& user_agent_override) OVERRIDE;
50 virtual void CloseTab() OVERRIDE; 50 virtual void CloseTab() OVERRIDE;
51 51
52 private: 52 private:
53 Browser* browser_; 53 Browser* browser_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(BrowserTabRestoreServiceDelegate); 55 DISALLOW_COPY_AND_ASSIGN(BrowserTabRestoreServiceDelegate);
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_ 58 #endif // CHROME_BROWSER_UI_BROWSER_TAB_RESTORE_SERVICE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698