• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #ifndef CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_
6 #define CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_
7 #pragma once
8 
9 // We declare this in a separate file that is safe for including in C++ code.
10 
11 namespace app_controller_mac {
12 
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();
17 
18 }  // namespace app_controller_mac
19 
20 #endif  // CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_
21