| Index: chrome/browser/ui/browser_window.h
|
| diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
|
| index b74f9faf7bd76560cd72b66ff1af60bf7e9ff895..0f9aea9b6ced31e569b88d963b6ed09dde5ef90b 100644
|
| --- a/chrome/browser/ui/browser_window.h
|
| +++ b/chrome/browser/ui/browser_window.h
|
| @@ -44,10 +44,18 @@ class Extension;
|
| // NOTE: All getters may return NULL.
|
| class BrowserWindow {
|
| public:
|
| + enum ShowContext {
|
| + SHOW_CONTEXT_NORMAL,
|
| + SHOW_CONTEXT_RESTORE
|
| + };
|
| +
|
| virtual ~BrowserWindow() {}
|
|
|
| - // Show the window, or activates it if it's already visible.
|
| - virtual void Show() = 0;
|
| + // Show the window, or activates it if it's already visible. |show_context|
|
| + // specifies the context under which the show is taking place. In the restore
|
| + // cases, session restore is in effect, and on Mac this determines the type
|
| + // of animation to apply.
|
| + virtual void Show(ShowContext show_context) = 0;
|
|
|
| // Show the window, but do not activate it. Does nothing if window
|
| // is already visible.
|
|
|