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

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

Issue 11801035: Merge 138365 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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/ChangeLog ('k') | Source/WebCore/html/shadow/DateTimeNumericFieldElement.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) 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE FINAL; 80 virtual void handleKeyboardEvent(KeyboardEvent*) OVERRIDE FINAL;
81 virtual float maximumWidth(const Font&) OVERRIDE; 81 virtual float maximumWidth(const Font&) OVERRIDE;
82 virtual int minimum() const OVERRIDE FINAL; 82 virtual int minimum() const OVERRIDE FINAL;
83 virtual void stepDown() OVERRIDE FINAL; 83 virtual void stepDown() OVERRIDE FINAL;
84 virtual void stepUp() OVERRIDE FINAL; 84 virtual void stepUp() OVERRIDE FINAL;
85 virtual String value() const OVERRIDE FINAL; 85 virtual String value() const OVERRIDE FINAL;
86 86
87 String formatValue(int) const; 87 String formatValue(int) const;
88 int roundUp(int) const; 88 int roundUp(int) const;
89 int roundDown(int) const; 89 int roundDown(int) const;
90 int typeAheadValue() const;
90 91
91 DOMTimeStamp m_lastDigitCharTime; 92 DOMTimeStamp m_lastDigitCharTime;
92 const String m_placeholder; 93 const String m_placeholder;
93 const Range m_range; 94 const Range m_range;
94 int m_value; 95 int m_value;
95 bool m_hasValue; 96 bool m_hasValue;
96 int m_step; 97 int m_step;
97 int m_stepBase; 98 int m_stepBase;
99 mutable StringBuilder m_typeAheadBuffer;
98 }; 100 };
99 101
100 } // namespace WebCore 102 } // namespace WebCore
101 103
102 #endif 104 #endif
103 #endif 105 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698