| Index: webkit/glue/form_field.h
|
| diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h
|
| index b0e9decfab348e8859ab2b1ffc46b640707f919e..691d2af96f24bc08aafd2fbc81670279e4c358eb 100644
|
| --- a/webkit/glue/form_field.h
|
| +++ b/webkit/glue/form_field.h
|
| @@ -35,9 +35,17 @@ class FormField {
|
| }
|
| void set_size(int size) { size_ = size; }
|
|
|
| + // Equality tests for identity which does not include |value_| or |size_|.
|
| + // Use |StrictlyEqualsHack| method to test all members.
|
| + // TODO(dhollowa): These operators need to be revised when we implement field
|
| + // ids.
|
| bool operator==(const FormField& field) const;
|
| bool operator!=(const FormField& field) const;
|
|
|
| + // Test equality of all data members.
|
| + // TODO(dhollowa): This will be removed when we implement field ids.
|
| + bool StrictlyEqualsHack(const FormField& field) const;
|
| +
|
| private:
|
| string16 label_;
|
| string16 name_;
|
|
|