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

Unified Diff: chrome/browser/sessions/base_session_service.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 | « no previous file | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/base_session_service.h
diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h
index 49762facf170ce46388bc35ae72142dff4f2edb0..2e38f5b51368f410dad858aad4c74f5cbdf6913e 100644
--- a/chrome/browser/sessions/base_session_service.h
+++ b/chrome/browser/sessions/base_session_service.h
@@ -125,6 +125,12 @@ class BaseSessionService : public CancelableRequestProvider,
SessionID::id_type tab_id,
const std::string& extension_id);
+ // Creates a SessionCommand stores a browser window's app name.
+ SessionCommand* CreateSetWindowAppNameCommand(
+ SessionID::id_type command_id,
+ SessionID::id_type window_id,
+ const std::string& app_name);
+
// Converts a SessionCommand previously created by
// CreateUpdateTabNavigationCommand into a TabNavigation. Returns true
// on success. If successful |tab_id| is set to the id of the restored tab.
@@ -140,6 +146,13 @@ class BaseSessionService : public CancelableRequestProvider,
SessionID::id_type* tab_id,
std::string* extension_app_id);
+ // Extracts a SessionCommand as previously created by
+ // CreateSetWindowAppNameCommand into the window id and application name.
+ bool RestoreSetWindowAppNameCommand(
+ const SessionCommand& command,
+ SessionID::id_type* window_id,
+ std::string* app_name);
+
// Returns true if the entry at specified |url| should be written to disk.
bool ShouldTrackEntry(const GURL& url);
« no previous file with comments | « no previous file | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698