1 // Copyright (c) 2009 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.
5 #ifndef CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_
6 #define CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_
9 // We declare this in a separate file that is safe for including in C++ code.
11 namespace app_controller_mac
{
13 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in
14 // SessionService::Observe() to get around windows/linux and mac having
15 // different models of application lifetime.
16 bool IsOpeningNewWindow();
18 } // namespace app_controller_mac
20 #endif // CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_