Index: chrome/browser/app_controller_cppsafe_mac.h |
diff --git a/chrome/browser/app_controller_cppsafe_mac.h b/chrome/browser/app_controller_cppsafe_mac.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da2aefb9e29580a25221742fb829123eba031aed |
--- /dev/null |
+++ b/chrome/browser/app_controller_cppsafe_mac.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2009 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_APP_CONTROLLER_CPPSAFE_MAC_H_ |
+#define CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_ |
+ |
+// We declare this in a separate file that is safe for including in C++ code. |
+ |
+namespace app_controller_mac { |
+ |
+// True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in |
+// SessionService::Observe() to get around windows/linux and mac having |
+// different models of application lifetime. |
+bool IsOpeningNewWindow(); |
+ |
+} // namespace app_controller_mac |
+ |
+#endif // CHROME_BROWSER_APP_CONTROLLER_CPPSAFE_MAC_H_ |