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

Side by Side Diff: components/viz/hit_test/hit_test_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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017 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.
4
5 #ifndef COMPONENTS_VIZ_HIT_TEST_HIT_TEST_EXPORT_H_
6 #define COMPONENTS_VIZ_HIT_TEST_HIT_TEST_EXPORT_H_
7
8 #if defined(COMPONENT_BUILD)
9
10 #if defined(WIN32)
11
12 #if defined(HIT_TEST_IMPLEMENTATION)
13 #define HIT_TEST_EXPORT __declspec(dllexport)
14 #else
15 #define HIT_TEST_EXPORT __declspec(dllimport)
16 #endif // defined(VIZ_IMPLEMENTATION)
17
18 #else // defined(WIN32)
19
20 #if defined(HIT_TEST_IMPLEMENTATION)
21 #define HIT_TEST_EXPORT __attribute__((visibility("default")))
22 #else
23 #define HIT_TEST_EXPORT
24 #endif
25
26 #endif
27
28 #else // defined(COMPONENT_BUILD)
29 #define HIT_TEST_EXPORT
30 #endif
31
32 #endif // COMPONENTS_VIZ_HITTEST_HITTEST_EXPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698