Home
last modified time | relevance | path

Searched refs:FormControlState (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DFormController.h39 class FormControlState {
41 FormControlState() : m_type(TypeSkip) { } in FormControlState() function
42 explicit FormControlState(const String& value) : m_type(TypeRestore) { m_values.append(value); } in FormControlState() function
43 static FormControlState deserialize(const Vector<String>& stateVector, size_t& index);
44FormControlState(const FormControlState& another) : m_type(another.m_type), m_values(another.m_val… in FormControlState() function
45 FormControlState& operator=(const FormControlState&);
55 explicit FormControlState(Type type) : m_type(type) { } in FormControlState() function
61 inline FormControlState& FormControlState::operator=(const FormControlState& another)
68 inline void FormControlState::append(const String& value) in append()
103 FormControlState takeStateForFormElement(const HTMLFormControlElementWithState&);
DFormController.cpp58 void FormControlState::serializeTo(Vector<String>& stateVector) const in serializeTo()
66 FormControlState FormControlState::deserialize(const Vector<String>& stateVector, size_t& index) in deserialize()
69 return FormControlState(TypeFailure); in deserialize()
72 return FormControlState(); in deserialize()
74 return FormControlState(TypeFailure); in deserialize()
75 FormControlState state; in deserialize()
184 …id appendControlState(const AtomicString& name, const AtomicString& type, const FormControlState&);
185 FormControlState takeControlState(const AtomicString& name, const AtomicString& type);
192 …typedef HashMap<FormElementKey, Deque<FormControlState>, FormElementKeyHash, FormElementKeyHashTra…
221 FormControlState state = FormControlState::deserialize(stateVector, index); in deserialize()
[all …]
DHiddenInputType.cpp56 FormControlState HiddenInputType::saveFormControlState() const in saveFormControlState()
62 …ement().valueAttributeWasUpdatedAfterParsing() ? FormControlState(element().value()) : FormControl… in saveFormControlState()
65 void HiddenInputType::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
DDateTimeFieldsState.cpp36 static unsigned getNumberFromFormControlState(const FormControlState& state, size_t index) in getNumberFromFormControlState()
45 static DateTimeFieldsState::AMPMValue getAMPMFromFormControlState(const FormControlState& state, si… in getAMPMFromFormControlState()
77 DateTimeFieldsState DateTimeFieldsState::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
92 FormControlState DateTimeFieldsState::saveFormControlState() const in saveFormControlState()
94 FormControlState state; in saveFormControlState()
DBaseCheckableInputType.cpp45 FormControlState BaseCheckableInputType::saveFormControlState() const in saveFormControlState()
47 return FormControlState(element().checked() ? "on" : "off"); in saveFormControlState()
50 void BaseCheckableInputType::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
DDateTimeFieldsState.h33 class FormControlState; variable
53 static DateTimeFieldsState restoreFormControlState(const FormControlState&);
54 FormControlState saveFormControlState() const;
DPasswordInputType.cpp104 FormControlState PasswordInputType::saveFormControlState() const in saveFormControlState()
108 return FormControlState(); in saveFormControlState()
111 void PasswordInputType::restoreFormControlState(const FormControlState&) in restoreFormControlState() argument
DFileInputType.h47 static Vector<FileChooserFileInfo> filesFromFormControlState(const FormControlState&);
52 virtual FormControlState saveFormControlState() const OVERRIDE;
53 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DBaseCheckableInputType.h45 virtual FormControlState saveFormControlState() const OVERRIDE;
46 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DPasswordInputType.h50 virtual FormControlState saveFormControlState() const OVERRIDE;
51 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DHiddenInputType.h45 virtual FormControlState saveFormControlState() const OVERRIDE;
46 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DFileInputType.cpp62 Vector<FileChooserFileInfo> FileInputType::filesFromFormControlState(const FormControlState& state) in filesFromFormControlState()
79 FormControlState FileInputType::saveFormControlState() const in saveFormControlState()
82 return FormControlState(); in saveFormControlState()
83 FormControlState state; in saveFormControlState()
92 void FileInputType::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
DBaseMultipleFieldsDateAndTimeInputType.h104 virtual void restoreFormControlState(const FormControlState&) OVERRIDE FINAL;
105 virtual FormControlState saveFormControlState() const OVERRIDE FINAL;
DInputType.h107 virtual FormControlState saveFormControlState() const;
108 virtual void restoreFormControlState(const FormControlState&);
DBaseMultipleFieldsDateAndTimeInputType.cpp459 void BaseMultipleFieldsDateAndTimeInputType::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
470 FormControlState BaseMultipleFieldsDateAndTimeInputType::saveFormControlState() const in saveFormControlState()
474 return FormControlState(); in saveFormControlState()
DInputType.cpp175 FormControlState InputType::saveFormControlState() const in saveFormControlState()
179 return FormControlState(); in saveFormControlState()
180 return FormControlState(currentValue); in saveFormControlState()
183 void InputType::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFormControlElementWithState.h31 class FormControlState; variable
40 virtual FormControlState saveFormControlState() const;
42 virtual void restoreFormControlState(const FormControlState&) { } in restoreFormControlState() argument
DHTMLFormControlElementWithState.cpp83 FormControlState HTMLFormControlElementWithState::saveFormControlState() const in saveFormControlState()
85 return FormControlState(); in saveFormControlState()
DHTMLTextAreaElement.h96 virtual FormControlState saveFormControlState() const OVERRIDE;
97 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DHTMLTextAreaElement.cpp107 FormControlState HTMLTextAreaElement::saveFormControlState() const in saveFormControlState()
109 return m_isDirty ? FormControlState(value()) : FormControlState(); in saveFormControlState()
112 void HTMLTextAreaElement::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
DHTMLSelectElement.h134 virtual FormControlState saveFormControlState() const OVERRIDE;
135 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DHTMLInputElement.h269 static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&);
316 virtual FormControlState saveFormControlState() const OVERRIDE;
317 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
DHTMLSelectElement.cpp930 FormControlState HTMLSelectElement::saveFormControlState() const in saveFormControlState()
934 FormControlState state; in saveFormControlState()
961 void HTMLSelectElement::restoreFormControlState(const FormControlState& state) in restoreFormControlState()
DHTMLInputElement.cpp178 …hooserFileInfo> HTMLInputElement::filesFromFileInputFormControlState(const FormControlState& state) in filesFromFileInputFormControlState()
499 FormControlState HTMLInputElement::saveFormControlState() const in saveFormControlState()
504 void HTMLInputElement::restoreFormControlState(const FormControlState& state) in restoreFormControlState()