15f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
25f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// found in the LICENSE file.
45f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#ifndef UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_EXPORT_H_
65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_EXPORT_H_
75f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
85f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#if defined(COMPONENT_BUILD)
95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#if defined(WIN32)
105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#if defined(WIN_WINDOW_IMPLEMENTATION)
125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define WIN_WINDOW_EXPORT __declspec(dllexport)
135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#else
145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define WIN_WINDOW_EXPORT __declspec(dllimport)
155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif  // defined(WIN_WINDOW_IMPLEMENTATION)
165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#else  // defined(WIN32)
185f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#if defined(WIN_WINDOW_IMPLEMENTATION)
195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define WIN_WINDOW_EXPORT __attribute__((visibility("default")))
205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#else
215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define WIN_WINDOW_EXPORT
225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif
235f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif
245f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#else  // defined(COMPONENT_BUILD)
265f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define WIN_WINDOW_EXPORT
275f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif
285f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
295f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif  // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_EXPORT_H
305f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
31