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

Unified Diff: third_party/WebKit/Source/web/WebExport.h

Issue 1676083002: Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win dbg non-oilpan fix: make TextFinder non-copyable Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/TextFinder.h ('k') | third_party/WebKit/Source/web/WebFrameImplBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebExport.h
diff --git a/third_party/WebKit/Source/web/WebExport.h b/third_party/WebKit/Source/web/WebExport.h
new file mode 100644
index 0000000000000000000000000000000000000000..d9109cc69e21d2a2842b48026e1c99412e8b829f
--- /dev/null
+++ b/third_party/WebKit/Source/web/WebExport.h
@@ -0,0 +1,31 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebExport_h
+#define WebExport_h
+
+#include "wtf/Compiler.h"
+
+namespace blink {
+
+// This macro is intended to export symbols in Source/web/ which are still
+// private to Blink (for instance, because they are used in unit tests).
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+#if BLINK_WEB_IMPLEMENTATION
+#define WEB_EXPORT __declspec(dllexport)
+#else
+#define WEB_EXPORT __declspec(dllimport)
+#endif // BLINK_WEB_IMPLEMENTATION
+#else // defined(WIN32)
+#define WEB_EXPORT __attribute__((visibility("default")))
+#endif
+#else // defined(COMPONENT_BUILD)
+#define WEB_EXPORT
+#endif
+
+} // namespace blink
+
+#endif // WebExport_h
« no previous file with comments | « third_party/WebKit/Source/web/TextFinder.h ('k') | third_party/WebKit/Source/web/WebFrameImplBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698