| Index: chrome/browser/ui/cocoa/window_restore_utils.h
|
| diff --git a/chrome/browser/ui/cocoa/window_restore_utils.h b/chrome/browser/ui/cocoa/window_restore_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dbb903cb4bc1a7cc3930b57ac058e6f58183ac3f
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/cocoa/window_restore_utils.h
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_
|
| +#define CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_
|
| +
|
| +namespace restore_utils {
|
| +
|
| +// On Lion or later, returns |true| if the System Preference
|
| +// "Restore windows..." option is checked. Other OSes will return |false|.
|
| +bool IsWindowRestoreEnabled();
|
| +
|
| +} // namespace restore_utils
|
| +
|
| +#endif // CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_
|
|
|