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

Unified Diff: webkit/forms/webkit_forms_export.h

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 | « webkit/forms/password_form_dom_manager.cc ('k') | webkit/glue/form_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/forms/webkit_forms_export.h
diff --git a/webkit/forms/webkit_forms_export.h b/webkit/forms/webkit_forms_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..d3cbe8f8fb64ef6557eb1450a929c3959d49ec51
--- /dev/null
+++ b/webkit/forms/webkit_forms_export.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2011 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 WEBKIT_FORMS_WEBKIT_FORMS_EXPORT_H_
+#define WEBKIT_FORMS_WEBKIT_FORMS_EXPORT_H_
+#pragma once
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(WEBKIT_FORMS_IMPLEMENTATION)
+#define WEBKIT_FORMS_EXPORT __declspec(dllexport)
+#else
+#define WEBKIT_FORMS_EXPORT __declspec(dllimport)
+#endif // defined(WEBKIT_FORMS_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#define WEBKIT_FORMS_EXPORT __attribute__((visibility("default")))
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define WEBKIT_FORMS_EXPORT
+#endif
+
+#endif // WEBKIT_FORMS_WEBKIT_FORMS_EXPORT_H_
« no previous file with comments | « webkit/forms/password_form_dom_manager.cc ('k') | webkit/glue/form_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698