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

Unified Diff: ui/events/devices/events_devices_export.h

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 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
« no previous file with comments | « ui/events/devices/device_util_linux.cc ('k') | ui/events/devices/input_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/events_devices_export.h
diff --git a/ui/events/devices/events_devices_export.h b/ui/events/devices/events_devices_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..88b276cb16a05c99731b6b7cbe2e767ec23526bb
--- /dev/null
+++ b/ui/events/devices/events_devices_export.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2013 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_EVENTS_DEVICES_EVENTS_DEVICES_EXPORT_H_
+#define UI_EVENTS_DEVICES_EVENTS_DEVICES_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(EVENTS_DEVICES_IMPLEMENTATION)
+#define EVENTS_DEVICES_EXPORT __declspec(dllexport)
+#else
+#define EVENTS_DEVICES_EXPORT __declspec(dllimport)
+#endif // defined(EVENTS_DEVICES_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(EVENTS_DEVICES_IMPLEMENTATION)
+#define EVENTS_DEVICES_EXPORT __attribute__((visibility("default")))
+#else
+#define EVENTS_DEVICES_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define EVENTS_DEVICES_EXPORT
+#endif
+
+#endif // UI_EVENTS_DEVICES_EVENTS_DEVICES_EXPORT_H_
« no previous file with comments | « ui/events/devices/device_util_linux.cc ('k') | ui/events/devices/input_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698