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

Unified Diff: mojo/converters/ime/mojo_ime_export.h

Issue 1286383003: Mandoline: Enable Android software keyboard for the Omnibox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review issues Created 5 years, 4 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 | « mojo/converters/ime/ime_type_converters.cc ('k') | ui/mojo/ime/text_input_state.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/converters/ime/mojo_ime_export.h
diff --git a/mojo/converters/ime/mojo_ime_export.h b/mojo/converters/ime/mojo_ime_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..77d18fd27f2a671fa02ccf0f0dbb14a6294f593c
--- /dev/null
+++ b/mojo/converters/ime/mojo_ime_export.h
@@ -0,0 +1,32 @@
+// Copyright 2015 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 MOJO_CONVERTERS_IME_MOJO_IME_EXPORT_H_
+#define MOJO_CONVERTERS_IME_MOJO_IME_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+
+#if defined(WIN32)
+
+#if defined(MOJO_IME_IMPLEMENTATION)
+#define MOJO_IME_EXPORT __declspec(dllexport)
+#else
+#define MOJO_IME_EXPORT __declspec(dllimport)
+#endif
+
+#else // !defined(WIN32)
+
+#if defined(MOJO_IME_IMPLEMENTATION)
+#define MOJO_IME_EXPORT __attribute__((visibility("default")))
+#else
+#define MOJO_IME_EXPORT
+#endif
+
+#endif // defined(WIN32)
+
+#else // !defined(COMPONENT_BUILD)
+#define MOJO_IME_EXPORT
+#endif
+
+#endif // MOJO_CONVERTERS_IME_MOJO_IME_EXPORT_H_
« no previous file with comments | « mojo/converters/ime/ime_type_converters.cc ('k') | ui/mojo/ime/text_input_state.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698