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

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

Issue 11415195: Merge 135829 - :read-only selector should match to date/time input types (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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/WebCore/html/HTMLTextAreaElement.cpp ('k') | Source/WebCore/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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 virtual bool isSteppable() const; 269 virtual bool isSteppable() const;
270 virtual bool shouldRespectHeightAndWidthAttributes(); 270 virtual bool shouldRespectHeightAndWidthAttributes();
271 // If supportsPlaceholder() && !usesFixedPlaceholder(), it means a type 271 // If supportsPlaceholder() && !usesFixedPlaceholder(), it means a type
272 // supports the 'placeholder' attribute. 272 // supports the 'placeholder' attribute.
273 // If supportsPlaceholder() && usesFixedPlaceholder(), it means a type 273 // If supportsPlaceholder() && usesFixedPlaceholder(), it means a type
274 // doesn't support the 'placeholder' attribute, but shows 274 // doesn't support the 'placeholder' attribute, but shows
275 // fixedPlaceholder() string as a placeholder. 275 // fixedPlaceholder() string as a placeholder.
276 virtual bool supportsPlaceholder() const; 276 virtual bool supportsPlaceholder() const;
277 virtual bool usesFixedPlaceholder() const; 277 virtual bool usesFixedPlaceholder() const;
278 virtual String fixedPlaceholder(); 278 virtual String fixedPlaceholder();
279 virtual bool supportsReadOnly() const;
279 virtual void updateInnerTextValue(); 280 virtual void updateInnerTextValue();
280 virtual void updatePlaceholderText(); 281 virtual void updatePlaceholderText();
281 virtual void multipleAttributeChanged(); 282 virtual void multipleAttributeChanged();
282 virtual void disabledAttributeChanged(); 283 virtual void disabledAttributeChanged();
283 virtual void readonlyAttributeChanged(); 284 virtual void readonlyAttributeChanged();
284 virtual String defaultToolTip() const; 285 virtual String defaultToolTip() const;
285 #if ENABLE(DATALIST_ELEMENT) 286 #if ENABLE(DATALIST_ELEMENT)
286 virtual void listAttributeTargetChanged(); 287 virtual void listAttributeTargetChanged();
287 virtual Decimal findClosestTickMarkValue(const Decimal&); 288 virtual Decimal findClosestTickMarkValue(const Decimal&);
288 #endif 289 #endif
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue. 325 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue.
325 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception Code&); 326 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception Code&);
326 327
327 // Raw pointer because the HTMLInputElement object owns this InputType objec t. 328 // Raw pointer because the HTMLInputElement object owns this InputType objec t.
328 HTMLInputElement* m_element; 329 HTMLInputElement* m_element;
329 }; 330 };
330 331
331 } // namespace WebCore 332 } // namespace WebCore
332 333
333 #endif 334 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLTextAreaElement.cpp ('k') | Source/WebCore/html/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698