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

Unified Diff: chrome/browser/sessions/tab_restore_service_delegate.h

Issue 9359022: Aura: Support hovering restore & close buttons for full screen apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser_test Created 8 years, 10 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/sessions/tab_restore_service_browsertest.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/tab_restore_service_delegate.h
diff --git a/chrome/browser/sessions/tab_restore_service_delegate.h b/chrome/browser/sessions/tab_restore_service_delegate.h
index adf0eda024aa84d6ffa4e87e7be734824c9d01b4..aca5b5f80c5486c3fb457b089e79c7e936b002f6 100644
--- a/chrome/browser/sessions/tab_restore_service_delegate.h
+++ b/chrome/browser/sessions/tab_restore_service_delegate.h
@@ -36,6 +36,9 @@ class TabRestoreServiceDelegate {
// see Browser::active_index()
virtual int GetSelectedIndex() const = 0;
+ // see Browser::app_name()
+ virtual std::string GetAppName() const = 0;
+
// see Browser methods with the same names
virtual content::WebContents* GetWebContentsAt(int index) const = 0;
virtual content::WebContents* GetSelectedWebContents() const = 0;
@@ -58,7 +61,8 @@ class TabRestoreServiceDelegate {
virtual void CloseTab() = 0;
// see Browser::Create
- static TabRestoreServiceDelegate* Create(Profile* profile);
+ static TabRestoreServiceDelegate* Create(Profile* profile,
+ const std::string& app_name);
// see BrowserList::GetBrowserForController
static TabRestoreServiceDelegate* FindDelegateForController(
« no previous file with comments | « chrome/browser/sessions/tab_restore_service_browsertest.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698