Index: ui/accelerated_widget_mac/accelerated_widget_mac_export.h |
diff --git a/ui/accelerated_widget_mac/accelerated_widget_mac_export.h b/ui/accelerated_widget_mac/accelerated_widget_mac_export.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e16df3dd04d2f2a2dc2582006b5c59d6f2be4167 |
--- /dev/null |
+++ b/ui/accelerated_widget_mac/accelerated_widget_mac_export.h |
@@ -0,0 +1,24 @@ |
+// 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 UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_ |
+#define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_ |
+ |
+#if defined(WIN32) |
+#error Not for use on Windows. |
+#endif |
+ |
+#if defined(COMPONENT_BUILD) |
+ |
+#if defined(ACCELERATED_WIDGET_MAC_IMPLEMENTATION) |
+#define ACCELERATED_WIDGET_MAC_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define ACCELERATED_WIDGET_MAC_EXPORT |
+#endif |
+ |
+#else // defined(COMPONENT_BUILD) |
+#define ACCELERATED_WIDGET_MAC_EXPORT |
+#endif |
+ |
+#endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_ |