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

Side by Side Diff: Source/core/html/InputType.h

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebasing after r150849 Created 7 years, 7 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
« no previous file with comments | « Source/core/html/HTMLTagNames.in ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual bool supportsReadOnly() const; 263 virtual bool supportsReadOnly() const;
264 virtual void updateInnerTextValue(); 264 virtual void updateInnerTextValue();
265 virtual void updatePlaceholderText(); 265 virtual void updatePlaceholderText();
266 virtual void attributeChanged(); 266 virtual void attributeChanged();
267 virtual void multipleAttributeChanged(); 267 virtual void multipleAttributeChanged();
268 virtual void disabledAttributeChanged(); 268 virtual void disabledAttributeChanged();
269 virtual void readonlyAttributeChanged(); 269 virtual void readonlyAttributeChanged();
270 virtual void requiredAttributeChanged(); 270 virtual void requiredAttributeChanged();
271 virtual void valueAttributeChanged(); 271 virtual void valueAttributeChanged();
272 virtual String defaultToolTip() const; 272 virtual String defaultToolTip() const;
273 #if ENABLE(DATALIST_ELEMENT)
274 virtual void listAttributeTargetChanged(); 273 virtual void listAttributeTargetChanged();
275 virtual Decimal findClosestTickMarkValue(const Decimal&); 274 virtual Decimal findClosestTickMarkValue(const Decimal&);
276 #endif
277 virtual void updateClearButtonVisibility(); 275 virtual void updateClearButtonVisibility();
278 276
279 // Parses the specified string for the type, and return 277 // Parses the specified string for the type, and return
280 // the Decimal value for the parsing result if the parsing 278 // the Decimal value for the parsing result if the parsing
281 // succeeds; Returns defaultValue otherwise. This function can 279 // succeeds; Returns defaultValue otherwise. This function can
282 // return NaN or Infinity only if defaultValue is NaN or Infinity. 280 // return NaN or Infinity only if defaultValue is NaN or Infinity.
283 virtual Decimal parseToNumber(const String&, const Decimal& defaultValue) co nst; 281 virtual Decimal parseToNumber(const String&, const Decimal& defaultValue) co nst;
284 282
285 // Parses the specified string for this InputType, and returns true if it 283 // Parses the specified string for this InputType, and returns true if it
286 // is successfully parsed. An instance pointed by the DateComponents* 284 // is successfully parsed. An instance pointed by the DateComponents*
(...skipping 27 matching lines...) Expand all
314 private: 312 private:
315 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue. 313 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue.
316 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception Code&); 314 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception Code&);
317 315
318 // Raw pointer because the HTMLInputElement object owns this InputType objec t. 316 // Raw pointer because the HTMLInputElement object owns this InputType objec t.
319 HTMLInputElement* m_element; 317 HTMLInputElement* m_element;
320 }; 318 };
321 319
322 } // namespace WebCore 320 } // namespace WebCore
323 #endif 321 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTagNames.in ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698