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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 2796853002: Update text field 'change' event logic to match to Firefox. (Closed)
Patch Set: . Created 3 years, 8 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 * 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
225 bool hasValidDataListOptions() const; 225 bool hasValidDataListOptions() const;
226 void listAttributeTargetChanged(); 226 void listAttributeTargetChanged();
227 // Associated <datalist> options which match to the current INPUT value. 227 // Associated <datalist> options which match to the current INPUT value.
228 HeapVector<Member<HTMLOptionElement>> filteredDataListOptions() const; 228 HeapVector<Member<HTMLOptionElement>> filteredDataListOptions() const;
229 229
230 HTMLInputElement* checkedRadioButtonForGroup(); 230 HTMLInputElement* checkedRadioButtonForGroup();
231 bool isInRequiredRadioButtonGroup(); 231 bool isInRequiredRadioButtonGroup();
232 232
233 // Functions for InputType classes. 233 // Functions for InputType classes.
234 void setNonAttributeValue(const String&); 234 void setNonAttributeValue(const String&);
235 void setNonAttributeValueByUserEdit(const String&);
235 bool valueAttributeWasUpdatedAfterParsing() const { 236 bool valueAttributeWasUpdatedAfterParsing() const {
236 return m_valueAttributeWasUpdatedAfterParsing; 237 return m_valueAttributeWasUpdatedAfterParsing;
237 } 238 }
238 void updateView(); 239 void updateView();
239 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; } 240 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; }
240 void setInnerEditorValue(const String&) override; 241 void setInnerEditorValue(const String&) override;
241 242
242 // For test purposes. 243 // For test purposes.
243 void selectColorInColorChooser(const Color&); 244 void selectColorInColorChooser(const Color&);
244 void endColorChooser(); 245 void endColorChooser();
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 // element lives on. 431 // element lives on.
431 Member<HTMLImageLoader> m_imageLoader; 432 Member<HTMLImageLoader> m_imageLoader;
432 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 433 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
433 434
434 FRIEND_TEST_ALL_PREFIXES(HTMLInputElementTest, RadioKeyDownDCHECKFailure); 435 FRIEND_TEST_ALL_PREFIXES(HTMLInputElementTest, RadioKeyDownDCHECKFailure);
435 }; 436 };
436 437
437 } // namespace blink 438 } // namespace blink
438 439
439 #endif // HTMLInputElement_h 440 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698