1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_ 6 #define CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_ 7 8 namespace restore_utils { 9 10 // On Lion or later, returns |true| if the System Preference 11 // "Restore windows..." option is checked. Other OSes will return |false|. 12 bool IsWindowRestoreEnabled(); 13 14 } // namespace restore_utils 15 16 #endif // CHROME_BROWSER_UI_COCOA_WINDOW_RESTORE_UTILS_H_ 17