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

Unified Diff: ui/accelerated_widget_mac/accelerated_widget_mac_export.h

Issue 753933002: MacViews: Move content::AcceleratedWidget to new component, ui/accelerated_widget_mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20141124-MacViews-MoveSoftwareLayerMac-fromcl
Patch Set: gn check Created 6 years, 1 month 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
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.mm ('k') | ui/accelerated_widget_mac/io_surface_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.mm ('k') | ui/accelerated_widget_mac/io_surface_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698