summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/form_data.h9
-rw-r--r--webkit/glue/form_field.h9
2 files changed, 16 insertions, 2 deletions
diff --git a/webkit/glue/form_data.h b/webkit/glue/form_data.h
index f0011c7..4be7412 100644
--- a/webkit/glue/form_data.h
+++ b/webkit/glue/form_data.h
@@ -7,6 +7,9 @@
#include <vector>
+#ifdef ANDROID
+#include "base/base_api.h"
+#endif
#include "base/string_util.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/form_field.h"
@@ -14,7 +17,11 @@
namespace webkit_glue {
// Holds information about a form to be filled and/or submitted.
-struct FormData {
+struct
+#ifdef ANDROID
+BASE_API
+#endif
+FormData {
// The name of the form.
string16 name;
// GET or POST.
diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h
index f2903fb..4a507a7 100644
--- a/webkit/glue/form_field.h
+++ b/webkit/glue/form_field.h
@@ -7,6 +7,9 @@
#include <vector>
+#ifdef ANDROID
+#include "base/base_api.h"
+#endif
#include "base/string16.h"
#ifndef ANDROID
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement.h"
@@ -15,7 +18,11 @@
namespace webkit_glue {
// Stores information about a field in a form.
-struct FormField {
+struct
+#ifdef ANDROID
+BASE_API
+#endif
+FormField {
FormField();
#ifndef ANDROID
explicit FormField(WebKit::WebFormControlElement element);