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

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

Issue 8336009: Merge 97351 - REGRESSION(r89915): <input type=email multiple> don't show the default value (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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/WebCore/html/HTMLInputElement.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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual bool parsedStepValueShouldBeInteger() const; 154 virtual bool parsedStepValueShouldBeInteger() const;
155 virtual bool scaledStepValueShouldBeInteger() const; 155 virtual bool scaledStepValueShouldBeInteger() const;
156 virtual double acceptableError(double) const; 156 virtual double acceptableError(double) const;
157 virtual String typeMismatchText() const; 157 virtual String typeMismatchText() const;
158 virtual String valueMissingText() const; 158 virtual String valueMissingText() const;
159 virtual bool canSetStringValue() const; 159 virtual bool canSetStringValue() const;
160 virtual String visibleValue() const; 160 virtual String visibleValue() const;
161 virtual String convertFromVisibleValue(const String&) const; 161 virtual String convertFromVisibleValue(const String&) const;
162 virtual bool isAcceptableValue(const String&); 162 virtual bool isAcceptableValue(const String&);
163 // Returing the null string means "use the default value." 163 // Returing the null string means "use the default value."
164 virtual String sanitizeValue(const String&); 164 // This function must be called only by HTMLInputElement::sanitizeValue().
165 virtual String sanitizeValue(const String&) const;
165 virtual bool hasUnacceptableValue(); 166 virtual bool hasUnacceptableValue();
166 167
167 // Event handlers 168 // Event handlers
168 169
169 virtual void handleClickEvent(MouseEvent*); 170 virtual void handleClickEvent(MouseEvent*);
170 virtual void handleMouseDownEvent(MouseEvent*); 171 virtual void handleMouseDownEvent(MouseEvent*);
171 virtual PassOwnPtr<ClickHandlingState> willDispatchClick(); 172 virtual PassOwnPtr<ClickHandlingState> willDispatchClick();
172 virtual void didDispatchClick(Event*, const ClickHandlingState&); 173 virtual void didDispatchClick(Event*, const ClickHandlingState&);
173 virtual void handleDOMActivateEvent(Event*); 174 virtual void handleDOMActivateEvent(Event*);
174 virtual void handleKeydownEvent(KeyboardEvent*); 175 virtual void handleKeydownEvent(KeyboardEvent*);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 const AtomicString& text(); 300 const AtomicString& text();
300 const AtomicString& time(); 301 const AtomicString& time();
301 const AtomicString& url(); 302 const AtomicString& url();
302 const AtomicString& week(); 303 const AtomicString& week();
303 304
304 } // namespace WebCore::InputTypeNames 305 } // namespace WebCore::InputTypeNames
305 306
306 } // namespace WebCore 307 } // namespace WebCore
307 308
308 #endif 309 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLInputElement.cpp ('k') | Source/WebCore/html/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698