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

Unified Diff: apps/shell_window.h

Issue 21444002: Do not restore corrupt cached app window bounds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | apps/shell_window.cc » ('j') | apps/shell_window_geometry_cache.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell_window.h
diff --git a/apps/shell_window.h b/apps/shell_window.h
index 5e449df2dcf572dea3968070921c613f583c70b7..57e97ba77e32866baead97efdb753dd5c1e702e3 100644
--- a/apps/shell_window.h
+++ b/apps/shell_window.h
@@ -305,11 +305,10 @@ class ShellWindow : public content::NotificationObserver,
void SaveWindowPosition();
// Helper method to adjust the cached bounds so that we can make sure it can
- // be visible on the screen. See http://crbug.com/145752 .
+ // be visible on the screen.
void AdjustBoundsToBeVisibleOnScreen(
const gfx::Rect& cached_bounds,
const gfx::Rect& cached_screen_bounds,
- const gfx::Rect& current_screen_bounds,
const gfx::Size& minimum_size,
gfx::Rect* bounds) const;
« no previous file with comments | « no previous file | apps/shell_window.cc » ('j') | apps/shell_window_geometry_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698