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

Side by Side Diff: chrome/browser/sessions/tab_restore_service_delegate.h

Issue 10391158: Moves methods for finding browsers to browser_finder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include fixs Created 8 years, 7 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_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_
6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_ 6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 int selected_navigation, 57 int selected_navigation,
58 bool from_last_session, 58 bool from_last_session,
59 const std::string& extension_app_id, 59 const std::string& extension_app_id,
60 content::SessionStorageNamespace* session_storage_namespace) = 0; 60 content::SessionStorageNamespace* session_storage_namespace) = 0;
61 virtual void CloseTab() = 0; 61 virtual void CloseTab() = 0;
62 62
63 // see Browser::Create 63 // see Browser::Create
64 static TabRestoreServiceDelegate* Create(Profile* profile, 64 static TabRestoreServiceDelegate* Create(Profile* profile,
65 const std::string& app_name); 65 const std::string& app_name);
66 66
67 // see BrowserList::GetBrowserForController 67 // see browser::FindBrowserForController
68 static TabRestoreServiceDelegate* FindDelegateForController( 68 static TabRestoreServiceDelegate* FindDelegateForController(
69 const content::NavigationController* controller, 69 const content::NavigationController* controller,
70 int* index); 70 int* index);
71 71
72 // see BrowserList::FindBrowserWithID 72 // see browser::FindBrowserWithID
73 static TabRestoreServiceDelegate* FindDelegateWithID( 73 static TabRestoreServiceDelegate* FindDelegateWithID(
74 SessionID::id_type desired_id); 74 SessionID::id_type desired_id);
75 75
76 protected: 76 protected:
77 virtual ~TabRestoreServiceDelegate() {} 77 virtual ~TabRestoreServiceDelegate() {}
78 }; 78 };
79 79
80 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_ 80 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698