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

Unified Diff: components/viz/base/base_export.h

Issue 2908783002: WIP Hittest Component.
Patch Set: change HitTestFlags to constants so we can mix and match and convert to struct naming convention Created 3 years, 6 months 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: components/viz/base/base_export.h
diff --git a/components/viz/base/base_export.h b/components/viz/base/base_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..a24b526e19f7b955b35331788db20db0a1e65be3
--- /dev/null
+++ b/components/viz/base/base_export.h
@@ -0,0 +1,29 @@
+// Copyright 2017 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 VIZ_BASE_BASE_EXPORT_H_
+#define VIZ_BASE_BASE_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(VIZ_BASE_IMPLEMENTATION)
+#define VIZ_BASE_EXPORT __declspec(dllexport)
+#else
+#define VIZ_BASE_EXPORT __declspec(dllimport)
+#endif // defined(CC_BASE_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(VIZ_BASE_IMPLEMENTATION)
+#define VIZ_BASE_EXPORT __attribute__((visibility("default")))
+#else
+#define VIZ_BASE_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define VIZ_BASE_EXPORT
+#endif
+
+#endif // CC_BASE_BASE_EXPORT_H_

Powered by Google App Engine
This is Rietveld 408576698