| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |