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

Unified Diff: webkit/glue/form_field.h

Issue 342032: Remove the element_ member of FormField, as we don't use it and shouldn't be ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « chrome/common/render_messages.h ('k') | webkit/glue/form_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/form_field.h
===================================================================
--- webkit/glue/form_field.h (revision 30382)
+++ webkit/glue/form_field.h (working copy)
@@ -7,31 +7,21 @@
#include "base/string16.h"
-namespace WebCore {
-class HTMLFormControlElement;
-}
-
namespace webkit_glue {
// Stores information about a field in a form.
class FormField {
public:
FormField();
- FormField(WebCore::HTMLFormControlElement* element,
- const string16& name,
+ FormField(const string16& name,
const string16& value);
- WebCore::HTMLFormControlElement* element() const { return element_; }
string16 name() const { return name_; }
string16 value() const { return value_; }
- void set_element(WebCore::HTMLFormControlElement* element) {
- element_ = element;
- }
void set_value(const string16& value) { value_ = value; }
private:
- WebCore::HTMLFormControlElement* element_;
string16 name_;
string16 value_;
};
« no previous file with comments | « chrome/common/render_messages.h ('k') | webkit/glue/form_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698