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

Side by Side Diff: Source/WebCore/html/HTMLInputElement.h

Issue 9805002: Revert 105710 - Introduce RadioButtonGroup class to keep track of the group members and required st… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 virtual bool supportsPlaceholder() const; 314 virtual bool supportsPlaceholder() const;
315 virtual void updatePlaceholderText(); 315 virtual void updatePlaceholderText();
316 virtual bool isEmptyValue() const OVERRIDE { return innerTextValue().isEmpty (); } 316 virtual bool isEmptyValue() const OVERRIDE { return innerTextValue().isEmpty (); }
317 virtual bool isEmptySuggestedValue() const { return suggestedValue().isEmpty (); } 317 virtual bool isEmptySuggestedValue() const { return suggestedValue().isEmpty (); }
318 virtual void handleFocusEvent(); 318 virtual void handleFocusEvent();
319 virtual void handleBlurEvent(); 319 virtual void handleBlurEvent();
320 320
321 virtual bool isOptionalFormControl() const { return !isRequiredFormControl() ; } 321 virtual bool isOptionalFormControl() const { return !isRequiredFormControl() ; }
322 virtual bool isRequiredFormControl() const; 322 virtual bool isRequiredFormControl() const;
323 virtual bool recalcWillValidate() const; 323 virtual bool recalcWillValidate() const;
324 virtual void requiredAttributeChanged() OVERRIDE;
325 324
326 void updateType(); 325 void updateType();
327 326
328 virtual void subtreeHasChanged(); 327 virtual void subtreeHasChanged();
329 328
330 bool getAllowedValueStepWithDecimalPlaces(AnyStepHandling, double*, unsigned *) const; 329 bool getAllowedValueStepWithDecimalPlaces(AnyStepHandling, double*, unsigned *) const;
331 330
332 // Helper for stepUp()/stepDown(). Adds step value * count to the current v alue. 331 // Helper for stepUp()/stepDown(). Adds step value * count to the current v alue.
333 void applyStep(double count, AnyStepHandling, bool sendChangeEvent, Exceptio nCode&); 332 void applyStep(double count, AnyStepHandling, bool sendChangeEvent, Exceptio nCode&);
334 double alignValueForStep(double value, double step, unsigned currentDecimalP laces, unsigned stepDecimalPlaces); 333 double alignValueForStep(double value, double step, unsigned currentDecimalP laces, unsigned stepDecimalPlaces);
(...skipping 23 matching lines...) Expand all
358 bool m_stateRestored : 1; 357 bool m_stateRestored : 1;
359 bool m_parsingInProgress : 1; 358 bool m_parsingInProgress : 1;
360 bool m_wasModifiedByUser : 1; 359 bool m_wasModifiedByUser : 1;
361 bool m_canReceiveDroppedFiles : 1; 360 bool m_canReceiveDroppedFiles : 1;
362 OwnPtr<InputType> m_inputType; 361 OwnPtr<InputType> m_inputType;
363 }; 362 };
364 363
365 } //namespace 364 } //namespace
366 365
367 #endif 366 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLFormControlElement.cpp ('k') | Source/WebCore/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698