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

Side by Side Diff: ui/wm/core/wm_core_export.h

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/wm/core/window_util.cc ('k') | ui/wm/core/wm_core_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_WM_CORE_WM_CORE_EXPORT_H_ 5 #ifndef UI_WM_CORE_WM_CORE_EXPORT_H_
6 #define UI_WM_CORE_WM_CORE_EXPORT_H_ 6 #define UI_WM_CORE_WM_CORE_EXPORT_H_
7 7
8 #include "ui/views/views_export.h"
9
10 #if 1
11 #define WM_CORE_EXPORT VIEWS_EXPORT
12 #else
13
14 // Defines WM_CORE_EXPORT so that functionality implemented by the Views module 8 // Defines WM_CORE_EXPORT so that functionality implemented by the Views module
15 // can be exported to consumers. 9 // can be exported to consumers.
16 10
17 #if defined(COMPONENT_BUILD) 11 #if defined(COMPONENT_BUILD)
18 #if defined(WIN32) 12 #if defined(WIN32)
19 13
20 #if defined(WM_CORE_IMPLEMENTATION) 14 #if defined(WM_CORE_IMPLEMENTATION)
21 #define WM_CORE_EXPORT __declspec(dllexport) 15 #define WM_CORE_EXPORT __declspec(dllexport)
22 #else 16 #else
23 #define WM_CORE_EXPORT __declspec(dllimport) 17 #define WM_CORE_EXPORT __declspec(dllimport)
24 #endif // defined(WM_CORE_IMPLEMENTATION) 18 #endif // defined(WM_CORE_IMPLEMENTATION)
25 19
26 #else // defined(WIN32) 20 #else // defined(WIN32)
27 #if defined(WM_CORE_IMPLEMENTATION) 21 #if defined(WM_CORE_IMPLEMENTATION)
28 #define WM_CORE_EXPORT __attribute__((visibility("default"))) 22 #define WM_CORE_EXPORT __attribute__((visibility("default")))
29 #else 23 #else
30 #define WM_CORE_EXPORT 24 #define WM_CORE_EXPORT
31 #endif 25 #endif
32 #endif 26 #endif
33 27
34 #else // defined(COMPONENT_BUILD) 28 #else // defined(COMPONENT_BUILD)
35 #define WM_CORE_EXPORT 29 #define WM_CORE_EXPORT
36 #endif 30 #endif
37 31
38 #endif
39
40 #endif // UI_WM_CORE_WM_CORE_EXPORT_H_ 32 #endif // UI_WM_CORE_WM_CORE_EXPORT_H_
OLDNEW
« no previous file with comments | « ui/wm/core/window_util.cc ('k') | ui/wm/core/wm_core_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698