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

Side by Side Diff: Source/core/html/shadow/DateTimeNumericFieldElement.h

Issue 112513002: Remove keyboard input timeout for date, datetime-local, month, time, and week input types on non-An… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual float maximumWidth(const Font&) OVERRIDE; 85 virtual float maximumWidth(const Font&) OVERRIDE;
86 virtual void stepDown() OVERRIDE FINAL; 86 virtual void stepDown() OVERRIDE FINAL;
87 virtual void stepUp() OVERRIDE FINAL; 87 virtual void stepUp() OVERRIDE FINAL;
88 virtual String value() const OVERRIDE FINAL; 88 virtual String value() const OVERRIDE FINAL;
89 89
90 String formatValue(int) const; 90 String formatValue(int) const;
91 int roundUp(int) const; 91 int roundUp(int) const;
92 int roundDown(int) const; 92 int roundDown(int) const;
93 int typeAheadValue() const; 93 int typeAheadValue() const;
94 94
95 DOMTimeStamp m_lastDigitCharTime;
96 const String m_placeholder; 95 const String m_placeholder;
97 const Range m_range; 96 const Range m_range;
98 const Range m_hardLimits; 97 const Range m_hardLimits;
99 const Step m_step; 98 const Step m_step;
100 int m_value; 99 int m_value;
101 bool m_hasValue; 100 bool m_hasValue;
102 mutable StringBuilder m_typeAheadBuffer; 101 mutable StringBuilder m_typeAheadBuffer;
103 }; 102 };
104 103
105 } // namespace WebCore 104 } // namespace WebCore
106 105
107 #endif 106 #endif
108 #endif 107 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698