Index: chrome/browser/ui/base_window.h |
diff --git a/chrome/browser/ui/base_window.h b/chrome/browser/ui/base_window.h |
index deaa700d549103304280f8d383dedda94f4dce6e..823b7dc0691425da77205cdd1e45cb49cc649c83 100644 |
--- a/chrome/browser/ui/base_window.h |
+++ b/chrome/browser/ui/base_window.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_BASE_WINDOW_H_ |
#include "base/compiler_specific.h" |
+#include "ui/base/ui_base_types.h" // WindowShowState |
#include "ui/gfx/native_widget_types.h" |
namespace gfx { |
@@ -38,6 +39,9 @@ class BaseWindow { |
// currently maximized or minimized) in terms of the screen coordinates. |
virtual gfx::Rect GetRestoredBounds() const = 0; |
+ // Returns the restore state for the window (platform dependent). |
+ virtual ui::WindowShowState GetRestoredState() const = 0; |
+ |
// Retrieves the window's current bounds, including its window. |
// This will only differ from GetRestoredBounds() for maximized |
// and minimized windows. |