Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: extensions/shell/app/shell_main_mac.h

Issue 745093002: AppShell support for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/shell/app/shell_main_mac.h
diff --git a/extensions/shell/app/shell_main_mac.h b/extensions/shell/app/shell_main_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..df3ff5b73e4b99a7ebf0a53b106cd8fbaf7bc2c7
--- /dev/null
+++ b/extensions/shell/app/shell_main_mac.h
@@ -0,0 +1,17 @@
+// Copyright 2014 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 EXTENSIONS_SHELL_APP_SHELL_MAIN_MAC_H_
+#define EXTENSIONS_SHELL_APP_SHELL_MAIN_MAC_H_
+
+#include "base/basictypes.h"
James Cook 2014/12/10 21:05:00 Does this really need basictypes.h? Or macros.h?
Yoyo Zhou 2014/12/11 02:40:50 I figured out it needed build/build_config.h for O
+
+#if defined(OS_MACOSX)
+extern "C" {
+__attribute__((visibility("default"))) int ContentMain(int argc,
+ const char** argv);
+} // extern "C"
+#endif // OS_MACOSX
+
+#endif // CONTENT_SHELL_APP_SHELL_CONTENT_MAIN_H_

Powered by Google App Engine
This is Rietveld 408576698