| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 void stopRepeatingTimer(); | 91 void stopRepeatingTimer(); |
| 92 void repeatingTimerFired(TimerBase*); | 92 void repeatingTimerFired(TimerBase*); |
| 93 void setHovered(bool = true) override; | 93 void setHovered(bool = true) override; |
| 94 bool shouldRespondToMouseEvents(); | 94 bool shouldRespondToMouseEvents(); |
| 95 bool isMouseFocusable() const override { return false; } | 95 bool isMouseFocusable() const override { return false; } |
| 96 | 96 |
| 97 Member<SpinButtonOwner> m_spinButtonOwner; | 97 Member<SpinButtonOwner> m_spinButtonOwner; |
| 98 bool m_capturing; | 98 bool m_capturing; |
| 99 UpDownState m_upDownState; | 99 UpDownState m_upDownState; |
| 100 UpDownState m_pressStartingState; | 100 UpDownState m_pressStartingState; |
| 101 Timer<SpinButtonElement> m_repeatingTimer; | 101 TaskRunnerTimer<SpinButtonElement> m_repeatingTimer; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 DEFINE_TYPE_CASTS(SpinButtonElement, | 104 DEFINE_TYPE_CASTS(SpinButtonElement, |
| 105 Node, | 105 Node, |
| 106 node, | 106 node, |
| 107 toElement(node)->isSpinButtonElement(), | 107 toElement(node)->isSpinButtonElement(), |
| 108 toElement(node).isSpinButtonElement()); | 108 toElement(node).isSpinButtonElement()); |
| 109 | 109 |
| 110 } // namespace blink | 110 } // namespace blink |
| 111 | 111 |
| 112 #endif | 112 #endif |
| OLD | NEW |