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

Unified Diff: content/browser/hyphenation/hyphenation_export.h

Issue 2113933003: Add mojo interface to load hyphenation dictionaries on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved to content/browser Created 4 years, 5 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: content/browser/hyphenation/hyphenation_export.h
diff --git a/content/browser/hyphenation/hyphenation_export.h b/content/browser/hyphenation/hyphenation_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..f66c59fa50607cc1ad33e0c0a614b017a99de658
--- /dev/null
+++ b/content/browser/hyphenation/hyphenation_export.h
@@ -0,0 +1,29 @@
+// 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 COMPONENTS_HYPHENATION_HYPHENATION_EXPORT_H_
+#define COMPONENTS_HYPHENATION_HYPHENATION_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(HYPHENATION_IMPLEMENTATION)
+#define HYPHENATION_EXPORT __declspec(dllexport)
+#else
+#define HYPHENATION_EXPORT __declspec(dllimport)
+#endif // defined(HYPHENATION_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(HYPHENATION_IMPLEMENTATION)
+#define HYPHENATION_EXPORT __attribute__((visibility("default")))
+#else
+#define HYPHENATION_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define HYPHENATION_EXPORT
+#endif
+
+#endif // COMPONENTS_HYPHENATION_HYPHENATION_EXPORT_H_

Powered by Google App Engine
This is Rietveld 408576698