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

Unified Diff: chrome/browser/sessions/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: Added new test for tab restore 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
Index: chrome/browser/sessions/session_service.h
diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h
index e6feffd1f400847d0218bdb2b953040c5842354c..b2b35581664678ab707fcacc496d59fbcba0a220 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -121,7 +121,13 @@ class SessionService : public BaseSessionService,
// Sets the type of window. In order for the contents of a window to be
// tracked SetWindowType must be invoked with a type we track
// (should_track_changes_for_browser_type returns true).
- void SetWindowType(const SessionID& window_id, Browser::Type type);
+ void SetWindowType(const SessionID& window_id,
+ Browser::Type type,
sky 2012/02/24 20:56:04 Use an enum for the boolean (can also be used in s
DaveMoore 2012/02/25 16:54:42 Done.
+ bool is_app);
+
+ // Sets the application name of the specified window.
+ void SetWindowAppName(const SessionID& window_id,
+ const std::string& app_name);
// Invoked when the NavigationController has removed entries from the back of
// the list. |count| gives the number of entries in the navigation controller.
@@ -362,7 +368,9 @@ class SessionService : public BaseSessionService,
bool ShouldTrackChangesToWindow(const SessionID& window_id);
// Returns true if we track changes to the specified browser type.
- static bool should_track_changes_for_browser_type(Browser::Type type);
+ static bool should_track_changes_for_browser_type(
+ Browser::Type type,
+ bool is_app);
// Returns true if we should record a window close as pending.
// |has_open_trackable_browsers_| must be up-to-date before calling this.

Powered by Google App Engine
This is Rietveld 408576698