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

Unified Diff: ui/views_content_client/views_content_client_export.h

Issue 284113011: Repurpose views+content example into a generic multiprocess views runtime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for r272332 Created 6 years, 7 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
Index: ui/views_content_client/views_content_client_export.h
diff --git a/ui/views_content_client/views_content_client_export.h b/ui/views_content_client/views_content_client_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..fafa52ee0ec5f30ede54552e60753fc6ad19d2d6
--- /dev/null
+++ b/ui/views_content_client/views_content_client_export.h
@@ -0,0 +1,32 @@
+// Copyright 2014 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 UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_EXPORT_H_
+#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_EXPORT_H_
+
+// Defines VIEWS_CONTENT_CLIENT_EXPORT so that functionality implemented by the
+// views_content_client module can be exported to consumers.
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(VIEWS_CONTENT_CLIENT_IMPLEMENTATION)
+#define VIEWS_CONTENT_CLIENT_EXPORT __declspec(dllexport)
+#else
+#define VIEWS_CONTENT_CLIENT_EXPORT __declspec(dllimport)
+#endif // defined(VIEWS_CONTENT_CLIENT_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(VIEWS_CONTENT_CLIENT_IMPLEMENTATION)
+#define VIEWS_CONTENT_CLIENT_EXPORT __attribute__((visibility("default")))
+#else
+#define VIEWS_CONTENT_CLIENT_EXPORT
+#endif
+#endif // defined(VIEWS_CONTENT_CLIENT_IMPLEMENTATION)
+
+#else // defined(COMPONENT_BUILD)
+#define VIEWS_CONTENT_CLIENT_EXPORT
+#endif
+
+#endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_EXPORT_H_

Powered by Google App Engine
This is Rietveld 408576698