Index: chrome/browser/ui/browser.h |
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
index c07215a8dc6bc0ba5dffe73993f56372b4242aac..ab660fbc867390cb7dce4b6debae58ba248cd2db 100644 |
--- a/chrome/browser/ui/browser.h |
+++ b/chrome/browser/ui/browser.h |
@@ -196,6 +196,10 @@ class Browser : public TabStripModelObserver, |
ui::WindowShowState initial_show_state; |
+ // If |is_session_restore| is set upon restoration and this flag is true, |
+ // the window will get marked as user hand positioned. |
+ bool initial_user_has_changed_window_or_position; |
+ |
bool is_session_restore; |
// Supply a custom BrowserWindow implementation, to be used instead of the |
@@ -213,6 +217,9 @@ class Browser : public TabStripModelObserver, |
override_bounds_ = bounds; |
} |
ui::WindowShowState initial_show_state() const { return initial_show_state_; } |
+ bool initial_user_has_changed_window_or_position() const { |
+ return initial_user_has_changed_window_or_position_; |
+ } |
void set_initial_show_state(ui::WindowShowState initial_show_state) { |
initial_show_state_ = initial_show_state; |
} |
@@ -882,6 +889,7 @@ class Browser : public TabStripModelObserver, |
// shell shortcut's startup info. |
gfx::Rect override_bounds_; |
ui::WindowShowState initial_show_state_; |
+ bool initial_user_has_changed_window_or_position_; |
// Tracks when this browser is being created by session restore. |
bool is_session_restore_; |