Index: apps/shell_window_geometry_cache.h |
diff --git a/apps/shell_window_geometry_cache.h b/apps/shell_window_geometry_cache.h |
index 334b9fbbfd434587e3e8845bee703ff97d797b68..c51bb5a6b263b8be4af6518fdfe86d8e9fffdd17 100644 |
--- a/apps/shell_window_geometry_cache.h |
+++ b/apps/shell_window_geometry_cache.h |
@@ -69,6 +69,7 @@ class ShellWindowGeometryCache |
void SaveGeometry(const std::string& extension_id, |
const std::string& window_id, |
const gfx::Rect& bounds, |
+ const gfx::Rect& screen_bounds, |
ui::WindowShowState state); |
// Get any saved geometry and state associated with |extension_id| and |
@@ -77,6 +78,7 @@ class ShellWindowGeometryCache |
bool GetGeometry(const std::string& extension_id, |
const std::string& window_id, |
gfx::Rect* bounds, |
+ gfx::Rect* screen_bounds, |
ui::WindowShowState* state); |
// BrowserContextKeyedService |
@@ -96,8 +98,10 @@ class ShellWindowGeometryCache |
private: |
// Data stored for each window. |
struct WindowData { |
- WindowData() : window_state(ui::SHOW_STATE_DEFAULT) {} |
+ WindowData(); |
+ ~WindowData(); |
gfx::Rect bounds; |
+ gfx::Rect screen_bounds; |
ui::WindowShowState window_state; |
base::Time last_change; |
}; |