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

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

Issue 10837192: Speculative revert to see if this change introduced a performance regression on Mac intl perf bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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_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 browser::FindBrowserForWebContents 67 // see browser::FindBrowserForController
68 static TabRestoreServiceDelegate* FindDelegateForWebContents( 68 static TabRestoreServiceDelegate* FindDelegateForController(
69 const content::WebContents* contents); 69 const content::NavigationController* controller,
70 int* index);
70 71
71 // see browser::FindBrowserWithID 72 // see browser::FindBrowserWithID
72 static TabRestoreServiceDelegate* FindDelegateWithID( 73 static TabRestoreServiceDelegate* FindDelegateWithID(
73 SessionID::id_type desired_id); 74 SessionID::id_type desired_id);
74 75
75 protected: 76 protected:
76 virtual ~TabRestoreServiceDelegate() {} 77 virtual ~TabRestoreServiceDelegate() {}
77 }; 78 };
78 79
79 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_ 80 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/tab_restore_service_browsertest.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698