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

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

Issue 11085053: Improving window auto management between workspaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed as requested. Corner cases will have to be addressed as they show Created 8 years, 2 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 b9d36ec4f0824ae5dc6ea97d0d8e699d9e098485..462edb98e5e242436f16d3603aec52c0ff95f4d9 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -99,7 +99,8 @@ class SessionService : public BaseSessionService,
// Sets the bounds of a window.
void SetWindowBounds(const SessionID& window_id,
const gfx::Rect& bounds,
- ui::WindowShowState show_state);
+ ui::WindowShowState show_state,
+ bool user_has_changed_window_or_position);
// Sets the visual index of the tab in its parent window.
void SetTabIndexInWindow(const SessionID& window_id,
@@ -250,9 +251,11 @@ class SessionService : public BaseSessionService,
SessionCommand* CreateSetTabWindowCommand(const SessionID& window_id,
const SessionID& tab_id);
- SessionCommand* CreateSetWindowBoundsCommand(const SessionID& window_id,
- const gfx::Rect& bounds,
- ui::WindowShowState show_state);
+ SessionCommand* CreateSetWindowBoundsCommand(
+ const SessionID& window_id,
+ const gfx::Rect& bounds,
+ ui::WindowShowState show_state,
+ bool user_has_changed_window_or_position);
SessionCommand* CreateSetTabIndexInWindowCommand(const SessionID& tab_id,
int new_index);

Powered by Google App Engine
This is Rietveld 408576698