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

Unified Diff: apps/shell_window_geometry_cache.h

Issue 21444002: Do not restore corrupt cached app window bounds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser tests 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 | « apps/shell_window.cc ('k') | apps/shell_window_geometry_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell_window_geometry_cache.h
diff --git a/apps/shell_window_geometry_cache.h b/apps/shell_window_geometry_cache.h
index d4b3581b0db9500e701adc58e35ecf10ab71e5cd..b6709df2929138fda1a2e0e5a8e4f199e9f3e4b0 100644
--- a/apps/shell_window_geometry_cache.h
+++ b/apps/shell_window_geometry_cache.h
@@ -73,8 +73,8 @@ class ShellWindowGeometryCache
ui::WindowShowState state);
// Get any saved geometry and state associated with |extension_id| and
- // |window_id|. If saved data exists, sets |bounds| and |state| if not NULL
- // and returns true.
+ // |window_id|. If saved data exists, sets |bounds|, |screen_bounds| and
+ // |state| if not NULL and returns true.
bool GetGeometry(const std::string& extension_id,
const std::string& window_id,
gfx::Rect* bounds,
« no previous file with comments | « apps/shell_window.cc ('k') | apps/shell_window_geometry_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698