Evict resources from resource pool after timeout
[chromium-blink-merge.git] / ui / accelerated_widget_mac / accelerated_widget_mac_export.h
blobe16df3dd04d2f2a2dc2582006b5c59d6f2be4167
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_
6 #define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_
8 #if defined(WIN32)
9 #error Not for use on Windows.
10 #endif
12 #if defined(COMPONENT_BUILD)
14 #if defined(ACCELERATED_WIDGET_MAC_IMPLEMENTATION)
15 #define ACCELERATED_WIDGET_MAC_EXPORT __attribute__((visibility("default")))
16 #else
17 #define ACCELERATED_WIDGET_MAC_EXPORT
18 #endif
20 #else // defined(COMPONENT_BUILD)
21 #define ACCELERATED_WIDGET_MAC_EXPORT
22 #endif
24 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_EXPORT_H_