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