| OLD | NEW |
| 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 void ListAttributeTargetChanged(); | 225 void ListAttributeTargetChanged(); |
| 226 // Associated <datalist> options which match to the current INPUT value. | 226 // Associated <datalist> options which match to the current INPUT value. |
| 227 HeapVector<Member<HTMLOptionElement>> FilteredDataListOptions() const; | 227 HeapVector<Member<HTMLOptionElement>> FilteredDataListOptions() const; |
| 228 | 228 |
| 229 HTMLInputElement* CheckedRadioButtonForGroup(); | 229 HTMLInputElement* CheckedRadioButtonForGroup(); |
| 230 bool IsInRequiredRadioButtonGroup(); | 230 bool IsInRequiredRadioButtonGroup(); |
| 231 | 231 |
| 232 // Functions for InputType classes. | 232 // Functions for InputType classes. |
| 233 void SetNonAttributeValue(const String&); | 233 void SetNonAttributeValue(const String&); |
| 234 void SetNonAttributeValueByUserEdit(const String&); | 234 void SetNonAttributeValueByUserEdit(const String&); |
| 235 bool ValueAttributeWasUpdatedAfterParsing() const { | |
| 236 return value_attribute_was_updated_after_parsing_; | |
| 237 } | |
| 238 void UpdateView(); | 235 void UpdateView(); |
| 239 bool NeedsToUpdateViewValue() const { return needs_to_update_view_value_; } | 236 bool NeedsToUpdateViewValue() const { return needs_to_update_view_value_; } |
| 240 void SetInnerEditorValue(const String&) override; | 237 void SetInnerEditorValue(const String&) override; |
| 241 | 238 |
| 242 // For test purposes. | 239 // For test purposes. |
| 243 void SelectColorInColorChooser(const Color&); | 240 void SelectColorInColorChooser(const Color&); |
| 244 void EndColorChooser(); | 241 void EndColorChooser(); |
| 245 | 242 |
| 246 String DefaultToolTip() const override; | 243 String DefaultToolTip() const override; |
| 247 | 244 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-checked | 408 // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-checked |
| 412 unsigned is_checked_ : 1; | 409 unsigned is_checked_ : 1; |
| 413 // https://html.spec.whatwg.org/multipage/forms.html#concept-input-checked-dir
ty-flag | 410 // https://html.spec.whatwg.org/multipage/forms.html#concept-input-checked-dir
ty-flag |
| 414 unsigned dirty_checkedness_ : 1; | 411 unsigned dirty_checkedness_ : 1; |
| 415 unsigned is_indeterminate_ : 1; | 412 unsigned is_indeterminate_ : 1; |
| 416 unsigned is_activated_submit_ : 1; | 413 unsigned is_activated_submit_ : 1; |
| 417 unsigned autocomplete_ : 2; // AutoCompleteSetting | 414 unsigned autocomplete_ : 2; // AutoCompleteSetting |
| 418 unsigned has_non_empty_list_ : 1; | 415 unsigned has_non_empty_list_ : 1; |
| 419 unsigned state_restored_ : 1; | 416 unsigned state_restored_ : 1; |
| 420 unsigned parsing_in_progress_ : 1; | 417 unsigned parsing_in_progress_ : 1; |
| 421 unsigned value_attribute_was_updated_after_parsing_ : 1; | |
| 422 unsigned can_receive_dropped_files_ : 1; | 418 unsigned can_receive_dropped_files_ : 1; |
| 423 unsigned should_reveal_password_ : 1; | 419 unsigned should_reveal_password_ : 1; |
| 424 unsigned needs_to_update_view_value_ : 1; | 420 unsigned needs_to_update_view_value_ : 1; |
| 425 unsigned is_placeholder_visible_ : 1; | 421 unsigned is_placeholder_visible_ : 1; |
| 426 Member<InputType> input_type_; | 422 Member<InputType> input_type_; |
| 427 Member<InputTypeView> input_type_view_; | 423 Member<InputTypeView> input_type_view_; |
| 428 // The ImageLoader must be owned by this element because the loader code | 424 // The ImageLoader must be owned by this element because the loader code |
| 429 // assumes that it lives as long as its owning element lives. If we move the | 425 // assumes that it lives as long as its owning element lives. If we move the |
| 430 // loader into the ImageInput object we may delete the loader while this | 426 // loader into the ImageInput object we may delete the loader while this |
| 431 // element lives on. | 427 // element lives on. |
| 432 Member<HTMLImageLoader> image_loader_; | 428 Member<HTMLImageLoader> image_loader_; |
| 433 Member<ListAttributeTargetObserver> list_attribute_target_observer_; | 429 Member<ListAttributeTargetObserver> list_attribute_target_observer_; |
| 434 | 430 |
| 435 FRIEND_TEST_ALL_PREFIXES(HTMLInputElementTest, RadioKeyDownDCHECKFailure); | 431 FRIEND_TEST_ALL_PREFIXES(HTMLInputElementTest, RadioKeyDownDCHECKFailure); |
| 436 }; | 432 }; |
| 437 | 433 |
| 438 } // namespace blink | 434 } // namespace blink |
| 439 | 435 |
| 440 #endif // HTMLInputElement_h | 436 #endif // HTMLInputElement_h |
| OLD | NEW |