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

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

Issue 11665021: Merge 138365 (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
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // DateTimeFieldElement functions. 71 // DateTimeFieldElement functions.
72 virtual void didBlur() OVERRIDE FINAL; 72 virtual void didBlur() OVERRIDE FINAL;
73 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE FINAL; 73 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE FINAL;
74 virtual float maximumWidth(const Font&) OVERRIDE; 74 virtual float maximumWidth(const Font&) OVERRIDE;
75 virtual int minimum() const OVERRIDE FINAL; 75 virtual int minimum() const OVERRIDE FINAL;
76 virtual void stepDown() OVERRIDE FINAL; 76 virtual void stepDown() OVERRIDE FINAL;
77 virtual void stepUp() OVERRIDE FINAL; 77 virtual void stepUp() OVERRIDE FINAL;
78 virtual String value() const OVERRIDE FINAL; 78 virtual String value() const OVERRIDE FINAL;
79 79
80 String formatValue(int) const; 80 String formatValue(int) const;
81 int typeAheadValue() const;
81 82
82 DOMTimeStamp m_lastDigitCharTime; 83 DOMTimeStamp m_lastDigitCharTime;
83 const String m_placeholder; 84 const String m_placeholder;
84 const Range m_range; 85 const Range m_range;
85 int m_value; 86 int m_value;
86 bool m_hasValue; 87 bool m_hasValue;
88 mutable StringBuilder m_typeAheadBuffer;
87 }; 89 };
88 90
89 } // namespace WebCore 91 } // namespace WebCore
90 92
91 #endif 93 #endif
92 #endif 94 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698