summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_field.h
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 19:07:50 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 19:07:50 +0000
commit51678ad73ad231bd77862f53e18e629420a26042 (patch)
treec54dc34d5d64fb1c796aa52573bbd23c24f2ca65 /webkit/glue/form_field.h
parent8470f4693faac244f839c38358512244b47cb680 (diff)
downloadchromium_src-51678ad73ad231bd77862f53e18e629420a26042.zip
chromium_src-51678ad73ad231bd77862f53e18e629420a26042.tar.gz
chromium_src-51678ad73ad231bd77862f53e18e629420a26042.tar.bz2
Add exports needed for glue to build as a component.
This adds WEBKIT_GLUE_EXPORT, WEBKIT_PLUGINS_EXPORT, and WEBKIT_EXTENSIONS_EXPORT macros that are used by the files in webkit/{glue,plugins,extensions} to show what needs to be exported from a DLL. R=darin@chromium.org BUG=98755 TEST=waterfall stays green. Review URL: http://codereview.chromium.org/8741006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112748 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_field.h')
-rw-r--r--webkit/glue/form_field.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h
index 58a8653..a8480cd 100644
--- a/webkit/glue/form_field.h
+++ b/webkit/glue/form_field.h
@@ -9,11 +9,12 @@
#include "base/string16.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement.h"
+#include "webkit/glue/webkit_glue_export.h"
namespace webkit_glue {
// Stores information about a field in a form.
-struct FormField {
+struct WEBKIT_GLUE_EXPORT FormField {
FormField();
virtual ~FormField();
@@ -41,7 +42,8 @@ struct FormField {
};
// So we can compare FormFields with EXPECT_EQ().
-std::ostream& operator<<(std::ostream& os, const FormField& field);
+WEBKIT_GLUE_EXPORT std::ostream& operator<<(std::ostream& os,
+ const FormField& field);
} // namespace webkit_glue