From a1fe9c0450e6d56112949b33ef2f7491e0cf0f60 Mon Sep 17 00:00:00 2001 From: Kristian Monsen Date: Tue, 18 Oct 2011 13:53:58 +0100 Subject: Part of fix for bug 5455901 Add exports needed for autofill and cookies Local only exports due to using of autofill and cookies outside chromium. All changes marked with #ifdef ANDROID Change-Id: I72dcd7fe0fe546073c271663123ba17469deaa83 --- webkit/glue/form_data.h | 9 ++++++++- webkit/glue/form_field.h | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'webkit') 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 +#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 +#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); -- cgit v1.1