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

Side by Side Diff: components/native_app_window/native_app_window_export.h

Issue 616253002: Extract NativeAppWindow from src/extensions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: might fix athena. similarity=33 Created 6 years, 2 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 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.
4
5 #ifndef COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_EXPORT_H_
6 #define COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_EXPORT_H_
7
8 // TODO(tapted): Enable this.
9 #if 0 && defined(COMPONENT_BUILD)
10 #if defined(WIN32)
11
12 #if defined(NATIVE_APP_WINDOW_IMPLEMENTATION)
13 #define NATIVE_APP_WINDOW_EXPORT __declspec(dllexport)
14 #else
15 #define NATIVE_APP_WINDOW_EXPORT __declspec(dllimport)
16 #endif // defined(NATIVE_APP_WINDOW_IMPLEMENTATION)
17
18 #if defined(NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION)
19 #define NATIVE_APP_WINDOW_VIEWS_EXPORT __declspec(dllexport)
20 #else
21 #define NATIVE_APP_WINDOW_VIEWS_EXPORT __declspec(dllimport)
22 #endif // defined(NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION)
23
24 #else // defined(WIN32)
25
26 #if defined(NATIVE_APP_WINDOW_IMPLEMENTATION)
27 #define NATIVE_APP_WINDOW_EXPORT __attribute__((visibility("default")))
28 #else
29 #define NATIVE_APP_WINDOW_EXPORT
30 #endif
31
32 #if defined(NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION)
33 #define NATIVE_APP_WINDOW_VIEWS_EXPORT __attribute__((visibility("default")))
34 #else
35 #define NATIVE_APP_WINDOW_VIEWS_EXPORT
36 #endif
37
38 #endif // defined(WIN32)
39
40 #else // defined(COMPONENT_BUILD)
41 #define NATIVE_APP_WINDOW_EXPORT
42 #define NATIVE_APP_WINDOW_VIEWS_EXPORT
43 #endif
44
45 #endif // COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_EXPORT_H_
OLDNEW
« no previous file with comments | « components/native_app_window/native_app_window_delegate.h ('k') | components/native_app_window/native_app_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698